Package org.goplanit.project
Class ProjectDemands
- java.lang.Object
-
- org.goplanit.utils.wrapper.MapWrapperImpl<Long,V>
-
- org.goplanit.utils.wrapper.LongMapWrapperImpl<Demands>
-
- org.goplanit.project.ProjectDemands
-
- All Implemented Interfaces:
Iterable<Demands>
,LongMapWrapper<Demands>
,MapWrapper<Long,Demands>
public class ProjectDemands extends LongMapWrapperImpl<Demands>
class for registered demands on project
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProjectDemands()
Constructorprotected
ProjectDemands(ProjectDemands other)
Copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectDemands
shallowClone()
Each map wrapper should be cloneable where the contents are references of the original where possible but the underlying map itself is newly created-
Methods inherited from class org.goplanit.utils.wrapper.LongMapWrapperImpl
containsKey, get, remove
-
Methods inherited from class org.goplanit.utils.wrapper.MapWrapperImpl
clear, containsValue, createEmptyInstance, firstMatch, get, getKeyByValue, getMap, getValueToKey, isEmpty, iterator, register, remove, removeIf, setMap, size, toCollection, valuesAsNewSet
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface org.goplanit.utils.wrapper.MapWrapper
addAll, clear, containsValue, firstMatch, forEachIn, get, getFirst, getKeyByValue, isEmpty, register, remove, removeAll, removeIf, size, stream, streamSorted, toCollection, toMap, valuesAsNewSet
-
-
-
-
Constructor Detail
-
ProjectDemands
protected ProjectDemands()
Constructor
-
ProjectDemands
protected ProjectDemands(ProjectDemands other)
Copy constructor- Parameters:
other
- to copy
-
-
Method Detail
-
shallowClone
public ProjectDemands shallowClone()
Each map wrapper should be cloneable where the contents are references of the original where possible but the underlying map itself is newly created- Specified by:
shallowClone
in interfaceMapWrapper<Long,Demands>
- Specified by:
shallowClone
in classLongMapWrapperImpl<Demands>
- Returns:
- copy
-
-