Package org.goplanit.utils.wrapper
Interface LongMapWrapper<V>
-
- Type Parameters:
V
- value type of the map
- All Superinterfaces:
Iterable<V>
,MapWrapper<Long,V>
- All Known Subinterfaces:
CentroidVertices
,ConjugateConnectoidEdges
,ConjugateConnectoidNodes
,ConjugateConnectoidSegments
,ConjugateDirectedEdges
,ConjugateDirectedVertices
,ConjugateEdges
,ConjugateEdgeSegments
,ConjugateLinks
,ConjugateLinkSegments
,ConjugateNodes
,ConjugateVertices
,ConnectoidEdges
,Connectoids<T>
,ConnectoidSegments
,DirectedConnectoids
,DirectedEdges
,DirectedVertices
,Edges
,EdgeSegments
,GraphEntities<E>
,Links<L>
,LinkSegments
,MacroscopicLinks
,MacroscopicLinkSegments
,MacroscopicLinkSegmentTypes
,MacroscopicNetworkLayers
,ManagedDirectedPaths
,ManagedGraphEntities<E>
,ManagedIdEntities<E>
,Modes
,NetworkLayers<T>
,Nodes
,OdZones
,RoutedModeServices
,RoutedServicesLayers
,RoutedTripDepartures
,RoutedTrips<T>
,RoutedTripsFrequency
,RoutedTripsSchedule
,ServiceLegs
,ServiceLegSegments
,ServiceNetworkLayers
,ServiceNodes
,TopologicalLayers<T>
,TransferZoneGroups
,TransferZones
,UndirectedConnectoids
,UntypedDirectedGraphLayers<L>
,UntypedPhysicalNetworkLayers<L>
,Vertices
,Zones<Z>
- All Known Implementing Classes:
CentroidVerticesImpl
,ConjugateConnectoidEdgesImpl
,ConjugateConnectoidNodesImpl
,ConjugateConnectoidSegmentsImpl
,ConjugateLinkSegmentsImpl
,ConjugateLinksImpl
,ConjugateNodesImpl
,ConnectoidEdgesImpl
,ConnectoidSegmentsImpl
,ConnectoidsImpl
,DirectedConnectoidsImpl
,DirectedEdgesImpl
,DirectedVerticesImpl
,EdgeSegmentsImpl
,EdgesImpl
,GraphEntitiesImpl
,LinksImpl
,LongMapWrapperImpl
,MacroscopicLinkSegmentsImpl
,MacroscopicLinkSegmentTypesImpl
,MacroscopicLinksImpl
,MacroscopicNetworkLayersImpl
,ManagedDirectedPathsImpl
,ManagedGraphEntitiesImpl
,ManagedIdEntitiesImpl
,ModesImpl
,NodesImpl
,OdZonesImpl
,ProjectDemands
,ProjectNetworks
,ProjectOdPathSets
,ProjectRoutedServices
,ProjectServiceNetworks
,ProjectZonings
,RoutedModeServicesImpl
,RoutedServicesLayersImpl
,RoutedTripDeparturesImpl
,RoutedTripsFrequencyImpl
,RoutedTripsImpl
,RoutedTripsScheduleImpl
,ServiceLegSegmentsImpl
,ServiceLegsImpl
,ServiceNetworkLayersImpl
,ServiceNodesImpl
,TimePeriods
,TopologicalLayersImpl
,TransferZoneGroupsImpl
,TransferZonesImpl
,TransportLayersImpl
,TravellerTypes
,UndirectedConnectoidsImpl
,UntypedPhysicalNetworkLayersImpl
,UserClasses
,VerticesImpl
,ZonesImpl
public interface LongMapWrapper<V> extends MapWrapper<Long,V>
Version of MApWrapper when we use Long as key- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
containsKey(long key)
Verify if entry is presentV
get(long key)
Collect entry from container using primitiveV
remove(long key)
Remove value from map by the long key-
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, shallowClone, size, stream, streamSorted, toCollection, toMap, valuesAsNewSet
-
-
-
-
Method Detail
-
remove
V remove(long key)
Remove value from map by the long key- Parameters:
key
- to remove- Returns:
- removed entry if any
-
get
V get(long key)
Collect entry from container using primitive- Parameters:
key
- to use- Returns:
- value found
-
containsKey
boolean containsKey(long key)
Verify if entry is present- Parameters:
key
- to use- Returns:
- true when present, false otherwise
-
-