java.lang.Object
swim.system.AbstractWarpRef
swim.system.AbstractTierBinding
swim.system.LaneView
swim.system.warp.WarpLaneView
swim.system.lane.SpatialLaneView<K,S,V>
- All Implemented Interfaces:
Iterable<SpatialMap.Entry<K,,S, V>> DownlinkFactory,Lane,SpatialLane<K,,S, V> WarpRef,WarpLane,Observable<Object>,ObservableSpatialMap<K,,S, V> SpatialMap<K,,S, V> CellContext,TierBinding,Log
-
Nested Class Summary
Nested classes/interfaces inherited from interface swim.spatial.SpatialMap
SpatialMap.Entry<K,S, V>, SpatialMap.SimpleEntry<K, S, V> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AgentContextprotected SpatialData<K,S, V> protected intprotected SpatialLaneModel<S>Fields inherited from class swim.system.AbstractTierBinding
CLOSED_PHASE, CLOSED_STATE, CLOSING_STATE, FAILED_STATE, FAILING_STATE, LOADED_PHASE, LOADED_STATE, LOADING_STATE, OPENED_PHASE, OPENED_STATE, OPENING_STATE, PHASE_MASK, PHASE_SHIFT, RECOVERING_STATE, STARTED_PHASE, STARTED_STATE, STARTING_STATE, STATE_MASK, status, STATUS, STOPPING_STATE, UNLOADING_STATE -
Constructor Summary
ConstructorsConstructorDescriptionSpatialLaneView(AgentContext agentContext, Form<K> keyForm, Z2Form<S> shapeForm, Form<V> valueForm) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidclose()booleancontainsKey(Object key) booleancontainsKey(K key, S shape) booleancontainsValue(Object value) SpatialLane<K,S, V> didCommand(DidCommand didCommand) SpatialLane<K,S, V> didMove(DidMoveShape<K, S, V> didMove) SpatialLane<K,S, V> didRemove(DidRemoveShape<K, S, V> didRemove) SpatialLane<K,S, V> didUpdate(DidUpdateShape<K, S, V> didUpdate) booleandispatchDidClear(Link link, boolean preemptive) booleandispatchDidMove(Link link, K key, S newShape, V newValue, S oldShape, V oldValue, boolean preemptive) booleandispatchDidRemove(Link link, K key, S shape, V oldValue, boolean preemptive) booleanbooleandispatchWillClear(Link link, boolean preemptive) booleandispatchWillRemove(Link link, K key, S shape, boolean preemptive) dispatchWillUpdate(Link link, K key, S shape, V newValue, boolean preemptive) booleanisEmpty()final booleanSpatialLane<K,S, V> isResident(boolean isResident) final booleanSpatialLane<K,S, V> isTransient(boolean isTransient) iterator()<K2> SpatialLane<K2,S, V> keyForm()<K2> SpatialLane<K2,S, V> voidvoidlaneDidRemove(K key, S shape) voidlaneDidUpdate(K key, S shape, V newValue, V oldValue) voidlaneWillMove(K key, S newShape, V newValue, S oldShape) voidlaneWillRemove(K key, S shape) laneWillUpdate(K key, S shape, V newValue) voidsetKeyForm(Form<K> keyForm) voidsetLaneBinding(SpatialLaneModel<S> laneBinding) voidsetValueForm(Form<V> valueForm) intsize()SpatialMap<K,S, V> snapshot()protected ObjecttypesafeObservers(Object observers) <V2> SpatialLane<K,S, V2> valueClass(Class<V2> valueClass) <V2> SpatialLane<K,S, V2> SpatialLane<K,S, V> willCommand(WillCommand willCommand) protected voidwillLoad()SpatialLane<K,S, V> willMove(WillMoveShape<K, S, V> willMove) SpatialLane<K,S, V> willRemove(WillRemoveShape<K, S> willRemove) SpatialLane<K,S, V> willUpdate(WillUpdateShape<K, S, V> willUpdate) willUplink(WillUplink willUplink) Methods inherited from class swim.system.warp.WarpLaneView
dispatchDidCommand, dispatchDidEnter, dispatchDidLeave, dispatchDidUplink, dispatchWillCommand, dispatchWillEnter, dispatchWillLeave, dispatchWillUplink, laneDidCommand, laneDidEnter, laneDidLeave, laneDidUplink, laneWillCommand, laneWillEnter, laneWillLeave, laneWillUplinkMethods inherited from class swim.system.LaneView
bindDownlink, bottomLane, cellAddress, closeDownlink, debug, edgeName, error, fail, hostUri, info, laneContext, laneDidFail, laneUri, meshUri, nodeUri, openDownlink, openMetaDownlink, policy, pushDown, reportDown, schedule, stage, store, tierContext, trace, unwrapLane, warnMethods inherited from class swim.system.AbstractTierBinding
activate, awaitStart, didClose, didFail, didLoad, didOpen, didStart, didStop, didUnload, isClosed, isLoaded, isOpened, isStarted, load, open, start, stop, unload, willClose, willOpen, willStart, willStop, willUnloadMethods inherited from class swim.system.AbstractWarpRef
command, command, command, command, command, command, command, command, command, command, command, command, command, command, command, command, downlink, downlinkHttp, downlinkList, downlinkMap, downlinkValue, downlinkWs, hostRef, hostRef, laneRef, laneRef, laneRef, laneRef, nodeRef, nodeRef, nodeRef, nodeRefMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
agentContext
-
keyForm
-
shapeForm
-
valueForm
-
laneBinding
-
dataView
-
flags
protected int flags
-
-
Constructor Details
-
SpatialLaneView
-
-
Method Details
-
agentContext
- Specified by:
agentContextin classLaneView
-
laneBinding
- Specified by:
laneBindingin classLaneView
-
setLaneBinding
-
createLaneBinding
- Specified by:
createLaneBindingin classLaneView
-
keyForm
- Specified by:
keyFormin interfaceSpatialLane<K,S, V>
-
keyForm
- Specified by:
keyFormin interfaceSpatialLane<K,S, V>
-
keyClass
- Specified by:
keyClassin interfaceSpatialLane<K,S, V>
-
setKeyForm
-
valueForm
- Specified by:
valueFormin interfaceSpatialLane<K,S, V>
-
valueForm
- Specified by:
valueFormin interfaceSpatialLane<K,S, V>
-
valueClass
- Specified by:
valueClassin interfaceSpatialLane<K,S, V>
-
setValueForm
-
typesafeObservers
-
isResident
public final boolean isResident()- Specified by:
isResidentin interfaceSpatialLane<K,S, V>
-
isResident
- Specified by:
isResidentin interfaceSpatialLane<K,S, V>
-
isTransient
public final boolean isTransient()- Specified by:
isTransientin interfaceSpatialLane<K,S, V>
-
isTransient
- Specified by:
isTransientin interfaceSpatialLane<K,S, V>
-
willLoad
protected void willLoad()- Overrides:
willLoadin classAbstractTierBinding
-
close
public void close() -
observe
- Specified by:
observein interfaceLane- Specified by:
observein interfaceObservable<K>- Specified by:
observein interfaceObservableSpatialMap<K,S, V> - Specified by:
observein interfaceSpatialLane<K,S, V> - Specified by:
observein interfaceWarpLane- Overrides:
observein classWarpLaneView
-
unobserve
- Specified by:
unobservein interfaceLane- Specified by:
unobservein interfaceObservable<K>- Specified by:
unobservein interfaceObservableSpatialMap<K,S, V> - Specified by:
unobservein interfaceSpatialLane<K,S, V> - Specified by:
unobservein interfaceWarpLane- Overrides:
unobservein classWarpLaneView
-
willUpdate
- Specified by:
willUpdatein interfaceObservableSpatialMap<K,S, V> - Specified by:
willUpdatein interfaceSpatialLane<K,S, V>
-
didUpdate
- Specified by:
didUpdatein interfaceObservableSpatialMap<K,S, V> - Specified by:
didUpdatein interfaceSpatialLane<K,S, V>
-
willMove
- Specified by:
willMovein interfaceObservableSpatialMap<K,S, V> - Specified by:
willMovein interfaceSpatialLane<K,S, V>
-
didMove
- Specified by:
didMovein interfaceObservableSpatialMap<K,S, V> - Specified by:
didMovein interfaceSpatialLane<K,S, V>
-
willRemove
- Specified by:
willRemovein interfaceObservableSpatialMap<K,S, V> - Specified by:
willRemovein interfaceSpatialLane<K,S, V>
-
didRemove
- Specified by:
didRemovein interfaceObservableSpatialMap<K,S, V> - Specified by:
didRemovein interfaceSpatialLane<K,S, V>
-
willClear
- Specified by:
willClearin interfaceObservableSpatialMap<K,S, V> - Specified by:
willClearin interfaceSpatialLane<K,S, V>
-
didClear
- Specified by:
didClearin interfaceObservableSpatialMap<K,S, V> - Specified by:
didClearin interfaceSpatialLane<K,S, V>
-
willCommand
- Specified by:
willCommandin interfaceSpatialLane<K,S, V> - Specified by:
willCommandin interfaceWarpLane- Specified by:
willCommandin classWarpLaneView
-
didCommand
- Specified by:
didCommandin interfaceSpatialLane<K,S, V> - Specified by:
didCommandin interfaceWarpLane- Specified by:
didCommandin classWarpLaneView
-
willUplink
- Specified by:
willUplinkin interfaceSpatialLane<K,S, V> - Specified by:
willUplinkin interfaceWarpLane- Specified by:
willUplinkin classWarpLaneView
-
didUplink
- Specified by:
didUplinkin interfaceSpatialLane<K,S, V> - Specified by:
didUplinkin interfaceWarpLane- Specified by:
didUplinkin classWarpLaneView
-
willEnter
- Specified by:
willEnterin interfaceSpatialLane<K,S, V> - Specified by:
willEnterin interfaceWarpLane- Specified by:
willEnterin classWarpLaneView
-
didEnter
- Specified by:
didEnterin interfaceSpatialLane<K,S, V> - Specified by:
didEnterin interfaceWarpLane- Specified by:
didEnterin classWarpLaneView
-
willLeave
- Specified by:
willLeavein interfaceSpatialLane<K,S, V> - Specified by:
willLeavein interfaceWarpLane- Specified by:
willLeavein classWarpLaneView
-
didLeave
- Specified by:
didLeavein interfaceSpatialLane<K,S, V> - Specified by:
didLeavein interfaceWarpLane- Specified by:
didLeavein classWarpLaneView
-
dispatchWillUpdate
-
dispatchDidUpdate
-
dispatchWillMove
-
dispatchDidMove
-
dispatchWillRemove
-
dispatchDidRemove
-
dispatchWillClear
-
dispatchDidClear
-
laneWillUpdate
-
laneDidUpdate
-
laneWillMove
-
laneDidMove
-
laneWillRemove
-
laneDidRemove
-
laneWillClear
public void laneWillClear() -
laneDidClear
public void laneDidClear() -
snapshot
- Specified by:
snapshotin interfaceSpatialLane<K,S, V>
-
iterator
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceSpatialMap<K,S, V>
-
size
public int size()- Specified by:
sizein interfaceSpatialMap<K,S, V>
-
containsKey
- Specified by:
containsKeyin interfaceSpatialMap<K,S, V>
-
containsKey
- Specified by:
containsKeyin interfaceSpatialMap<K,S, V>
-
containsValue
- Specified by:
containsValuein interfaceSpatialMap<K,S, V>
-
get
- Specified by:
getin interfaceSpatialMap<K,S, V>
-
get
- Specified by:
getin interfaceSpatialMap<K,S, V>
-
put
- Specified by:
putin interfaceSpatialMap<K,S, V>
-
move
- Specified by:
movein interfaceSpatialMap<K,S, V>
-
remove
- Specified by:
removein interfaceSpatialMap<K,S, V>
-
clear
public void clear()- Specified by:
clearin interfaceSpatialMap<K,S, V>
-
iterator
- Specified by:
iteratorin interfaceSpatialMap<K,S, V>
-
keyIterator
- Specified by:
keyIteratorin interfaceSpatialMap<K,S, V>
-
valueIterator
- Specified by:
valueIteratorin interfaceSpatialMap<K,S, V>
-