Package org.cip4.jdflib.pool
Class JDFAmountPool.AmountMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<key,java.util.List<listObject>>
-
- org.cip4.jdflib.util.ListMap<JDFAttributeMap,JDFPartAmount>
-
- org.cip4.jdflib.pool.JDFAmountPool.AmountMap
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<JDFAttributeMap,java.util.List<JDFPartAmount>>
- Enclosing class:
- JDFAmountPool
public class JDFAmountPool.AmountMap extends ListMap<JDFAttributeMap,JDFPartAmount>
map of an amountpool that allows quick access to multiple amounts Class AmountMap- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetAmountDouble(JDFAttributeMap amParts, java.lang.String strAttributeName)Method getAmountDouble-
Methods inherited from class org.cip4.jdflib.util.ListMap
appendUnique, appendUnique, fillInvertedMap, getAllValues, getIndex, getInvertedMap, getOne, isUnique, putOne, removeOne, setOne, setOne, setUnique, size
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
getAmountDouble
public double getAmountDouble(JDFAttributeMap amParts, java.lang.String strAttributeName)
Method getAmountDouble- Parameters:
amParts-strAttributeName-- Returns:
- the sum of all matching amounts
-
-