org.cip4.jdflib.pool
Class JDFAmountPool.AmountMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<key,Vector<vectorObject>>
org.cip4.jdflib.util.VectorMap<JDFAttributeMap,JDFPartAmount>
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
| 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 |
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.