org.cip4.jdflib.pool
Class JDFAmountPool.AmountMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<key,Vector<vectorObject>>
          extended by org.cip4.jdflib.util.VectorMap<JDFAttributeMap,JDFPartAmount>
              extended by org.cip4.jdflib.pool.JDFAmountPool.AmountMap
All Implemented Interfaces:
Serializable, Cloneable, Map<JDFAttributeMap,Vector<JDFPartAmount>>
Enclosing class:
JDFAmountPool

public class JDFAmountPool.AmountMap
extends VectorMap<JDFAttributeMap,JDFPartAmount>

map of an amountpool that allows quick access to multiple amounts Class AmountMap

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Method Summary
 double getAmountDouble(JDFAttributeMap amParts, String strAttributeName)
          Method getAmountDouble
 
Methods inherited from class org.cip4.jdflib.util.VectorMap
appendUnique, appendUnique, getAllValues, getIndex, getInvertedMap, getOne, isUnique, putOne, removeOne, setOne, setOne, setUnique, size
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Method Detail

getAmountDouble

public double getAmountDouble(JDFAttributeMap amParts,
                              String strAttributeName)
Method getAmountDouble

Parameters:
amParts -
strAttributeName -
Returns:
the sum of all matching amounts


Copyright © 2013. All Rights Reserved.