Package org.goplanit.network.layers
Class TopologicalLayersImpl<T extends TopologicalLayer>
- java.lang.Object
-
- org.goplanit.utils.wrapper.MapWrapperImpl<Long,V>
-
- org.goplanit.utils.wrapper.LongMapWrapperImpl<E>
-
- org.goplanit.utils.id.ManagedIdEntitiesImpl<T>
-
- org.goplanit.network.layers.TransportLayersImpl<T>
-
- org.goplanit.network.layers.TopologicalLayersImpl<T>
-
- All Implemented Interfaces:
Cloneable
,Iterable<T>
,ManagedIdEntities<T>
,TopologicalLayers<T>
,TransportLayers<T>
,LongMapWrapper<T>
,MapWrapper<Long,T>
- Direct Known Subclasses:
ServiceNetworkLayersImpl
,UntypedPhysicalNetworkLayersImpl
public abstract class TopologicalLayersImpl<T extends TopologicalLayer> extends TransportLayersImpl<T> implements TopologicalLayers<T>
implementation of the transport layers interface, without the createNew() method, but now with base layer class of TopologicalLayer- Author:
- markr
-
-
Field Summary
-
Fields inherited from class org.goplanit.utils.id.ManagedIdEntitiesImpl
managedIdClass
-
-
Constructor Summary
Constructors Constructor Description TopologicalLayersImpl(TopologicalLayersImpl<T> other)
ConstructorTopologicalLayersImpl(IdGroupingToken groupingId)
Constructor
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract TopologicalLayersImpl<T>
clone()
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.network.layers.TransportLayersImpl
get, getByXmlId, getIdToken
-
Methods inherited from class org.goplanit.utils.id.ManagedIdEntitiesImpl
getManagedIdClass, recreateIds, reset, updateIdMapping
-
Methods inherited from class org.goplanit.utils.wrapper.LongMapWrapperImpl
containsKey, get, remove
-
Methods inherited from class org.goplanit.utils.wrapper.MapWrapperImpl
clear, contains, createEmptyInstance, findFirst, get, getKeyByValue, getMap, getValueToKey, isEmpty, iterator, register, remove, setMap, size, toCollection, valuesAsNewSet
-
Methods inherited from class java.lang.Object
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.LongMapWrapper
get, remove
-
Methods inherited from interface org.goplanit.utils.id.ManagedIdEntities
containsKey, getFactory, getManagedIdClass, recreateIds, recreateIds, reset
-
Methods inherited from interface org.goplanit.utils.wrapper.MapWrapper
addAll, clear, contains, findFirst, forEachIn, get, getFirst, getKeyByValue, isEmpty, register, remove, size, toCollection, valuesAsNewSet
-
Methods inherited from interface org.goplanit.utils.network.layers.TransportLayers
get, getByXmlId, getLayersOfType, isEachLayerEmpty, isNoLayers
-
-
-
-
Constructor Detail
-
TopologicalLayersImpl
public TopologicalLayersImpl(IdGroupingToken groupingId)
Constructor- Parameters:
groupingId
- for id generation
-
TopologicalLayersImpl
public TopologicalLayersImpl(TopologicalLayersImpl<T> other)
Constructor- Parameters:
other
- to copy
-
-
Method Detail
-
clone
public abstract TopologicalLayersImpl<T> clone()
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:
clone
in interfaceManagedIdEntities<T extends TopologicalLayer>
- Specified by:
clone
in interfaceMapWrapper<Long,T extends TopologicalLayer>
- Specified by:
clone
in interfaceTopologicalLayers<T extends TopologicalLayer>
- Specified by:
clone
in interfaceTransportLayers<T extends TopologicalLayer>
- Specified by:
clone
in classTransportLayersImpl<T extends TopologicalLayer>
- Returns:
- copy
-
-