Package org.goplanit.project
Class ProjectNetworks
- java.lang.Object
-
- org.goplanit.utils.wrapper.MapWrapperImpl<Long,V>
-
- org.goplanit.utils.wrapper.LongMapWrapperImpl<LayeredNetwork<?,?>>
-
- org.goplanit.project.ProjectNetworks
-
- All Implemented Interfaces:
Iterable<LayeredNetwork<?,?>>
,LongMapWrapper<LayeredNetwork<?,?>>
,MapWrapper<Long,LayeredNetwork<?,?>>
public class ProjectNetworks extends LongMapWrapperImpl<LayeredNetwork<?,?>>
Internal class for registered physical networks
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProjectNetworks()
Constructorprotected
ProjectNetworks(ProjectNetworks other)
Copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectNetworks
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
-
ProjectNetworks
protected ProjectNetworks()
Constructor
-
ProjectNetworks
protected ProjectNetworks(ProjectNetworks other)
Copy constructor- Parameters:
other
- to copy
-
-
Method Detail
-
shallowClone
public ProjectNetworks 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,LayeredNetwork<?,?>>
- Specified by:
shallowClone
in classLongMapWrapperImpl<LayeredNetwork<?,?>>
- Returns:
- copy
-
-