Package org.cip4.jdflib.pool
Class JDFAmountPool.AmountMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<key,List<listObject>>
org.cip4.jdflib.util.ListMap<JDFAttributeMap,JDFPartAmount>
org.cip4.jdflib.pool.JDFAmountPool.AmountMap
- All Implemented Interfaces:
Serializable,Cloneable,Map<JDFAttributeMap,List<JDFPartAmount>>
- Enclosing class:
- JDFAmountPool
map of an amountpool that allows quick access to multiple amounts Class AmountMap
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Method Summary
Modifier and TypeMethodDescriptiondoublegetAmountDouble(JDFAttributeMap amParts, String strAttributeName) Method getAmountDoubleMethods inherited from class org.cip4.jdflib.util.ListMap
appendUnique, appendUnique, fillInvertedMap, getAllValues, getIndex, getInvertedMap, getOne, isUnique, putOne, removeOne, setOne, setOne, setUnique, sizeMethods 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, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Method Details
-
getAmountDouble
Method getAmountDouble- Parameters:
amParts-strAttributeName-- Returns:
- the sum of all matching amounts
-