java.lang.Object
swim.system.AbstractWarpRef
swim.system.AbstractTierBinding
swim.system.LaneView
swim.system.warp.WarpLaneView
swim.system.lane.ListLaneView<V>
- All Implemented Interfaces:
Iterable<V>
,Collection<V>
,List<V>
,DownlinkFactory
,Lane
,ListLane<V>
,WarpRef
,WarpLane
,Observable<Object>
,ObservableList<V>
,CellContext
,TierBinding
,KeyedList<V>
,Log
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AgentContext
protected int
protected ListLaneModel
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
boolean
boolean
boolean
addAll
(int index, Collection<? extends V> elements) boolean
addAll
(Collection<? extends V> elements) void
clear()
void
close()
boolean
boolean
containsAll
(Collection<?> elements) didCommand
(DidCommand didCommand) didMove
(DidMoveIndex<V> didMove) didRemove
(DidRemoveIndex<V> didRemove) didUpdate
(DidUpdateIndex<V> didUpdate) boolean
dispatchDidClear
(Link link, boolean preemptive) boolean
dispatchDidDrop
(Link link, int lower, boolean preemptive) boolean
dispatchDidMove
(Link link, int fromIndex, int toIndex, V value, boolean preemptive) boolean
dispatchDidRemove
(Link link, int index, V oldValue, boolean preemptive) boolean
dispatchDidTake
(Link link, int upper, boolean preemptive) boolean
dispatchDidUpdate
(Link link, int index, V newValue, V oldValue, boolean preemptive) boolean
dispatchWillClear
(Link link, boolean preemptive) boolean
dispatchWillDrop
(Link link, int lower, boolean preemptive) boolean
dispatchWillMove
(Link link, int fromIndex, int toIndex, V value, boolean preemptive) boolean
dispatchWillRemove
(Link link, int index, boolean preemptive) boolean
dispatchWillTake
(Link link, int upper, boolean preemptive) dispatchWillUpdate
(Link link, int index, V newValue, boolean preemptive) void
drop
(int lower) get
(int index) getEntry
(int index) int
boolean
isEmpty()
final boolean
isResident
(boolean isResident) final boolean
isTransient
(boolean isTransient) iterator()
void
void
laneDidDrop
(int lower) void
laneDidInsert
(int index, V newValue) void
laneDidMove
(int fromIndex, int toIndex, V value) void
laneDidRemove
(int index, V oldValue) void
laneDidTake
(int upper) void
laneDidUpdate
(int index, V newValue, V oldValue) void
void
laneWillDrop
(int lower) laneWillInsert
(int index, V newValue) void
laneWillMove
(int fromIndex, int toIndex, V value) void
laneWillRemove
(int index) void
laneWillTake
(int upper) laneWillUpdate
(int index, V newValue) int
listIterator
(int index) void
move
(int fromIndex, int toIndex) void
remove
(int index) boolean
boolean
removeAll
(Collection<?> elements) boolean
retainAll
(Collection<?> elements) void
setValueForm
(Form<V> valueForm) int
size()
snapshot()
subList
(int fromIndex, int toIndex) void
take
(int upper) Object[]
toArray()
<T> T[]
toArray
(T[] a) protected Object
typesafeObservers
(Object observers) <V2> ListLaneView<V2>
valueClass
(Class<V2> valueClass) <V2> ListLaneView<V2>
willCommand
(WillCommand willCommand) protected void
willLoad()
willMove
(WillMoveIndex<V> willMove) willRemove
(WillRemoveIndex willRemove) willUpdate
(WillUpdateIndex<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, laneWillUplink
Methods 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, warn
Methods 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, willUnload
Methods 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, nodeRef
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Field Details
-
agentContext
-
valueForm
-
laneBinding
-
dataView
-
flags
protected int flags
-
-
Constructor Details
-
ListLaneView
-
-
Method Details
-
agentContext
- Specified by:
agentContext
in classLaneView
-
laneBinding
- Specified by:
laneBinding
in classLaneView
-
createLaneBinding
- Specified by:
createLaneBinding
in classLaneView
-
valueForm
-
valueForm
-
valueClass
- Specified by:
valueClass
in interfaceListLane<V>
-
setValueForm
-
typesafeObservers
-
isResident
public final boolean isResident()- Specified by:
isResident
in interfaceListLane<V>
-
isResident
- Specified by:
isResident
in interfaceListLane<V>
-
isTransient
public final boolean isTransient()- Specified by:
isTransient
in interfaceListLane<V>
-
isTransient
- Specified by:
isTransient
in interfaceListLane<V>
-
willLoad
protected void willLoad()- Overrides:
willLoad
in classAbstractTierBinding
-
close
public void close() -
observe
- Specified by:
observe
in interfaceLane
- Specified by:
observe
in interfaceListLane<V>
- Specified by:
observe
in interfaceObservable<V>
- Specified by:
observe
in interfaceObservableList<V>
- Specified by:
observe
in interfaceWarpLane
- Overrides:
observe
in classWarpLaneView
-
unobserve
- Specified by:
unobserve
in interfaceLane
- Specified by:
unobserve
in interfaceListLane<V>
- Specified by:
unobserve
in interfaceObservable<V>
- Specified by:
unobserve
in interfaceObservableList<V>
- Specified by:
unobserve
in interfaceWarpLane
- Overrides:
unobserve
in classWarpLaneView
-
willUpdate
- Specified by:
willUpdate
in interfaceListLane<V>
- Specified by:
willUpdate
in interfaceObservableList<V>
-
didUpdate
-
willMove
-
didMove
-
willRemove
- Specified by:
willRemove
in interfaceListLane<V>
- Specified by:
willRemove
in interfaceObservableList<V>
-
didRemove
-
willDrop
-
didDrop
-
willTake
-
didTake
-
willClear
-
didClear
-
willCommand
- Specified by:
willCommand
in interfaceListLane<V>
- Specified by:
willCommand
in interfaceWarpLane
- Specified by:
willCommand
in classWarpLaneView
-
didCommand
- Specified by:
didCommand
in interfaceListLane<V>
- Specified by:
didCommand
in interfaceWarpLane
- Specified by:
didCommand
in classWarpLaneView
-
willUplink
- Specified by:
willUplink
in interfaceListLane<V>
- Specified by:
willUplink
in interfaceWarpLane
- Specified by:
willUplink
in classWarpLaneView
-
didUplink
-
willEnter
-
didEnter
-
willLeave
-
didLeave
-
dispatchWillUpdate
-
dispatchDidUpdate
-
dispatchWillMove
-
dispatchDidMove
-
dispatchWillRemove
-
dispatchDidRemove
-
dispatchWillDrop
-
dispatchDidDrop
-
dispatchWillTake
-
dispatchDidTake
-
dispatchWillClear
-
dispatchDidClear
-
laneWillInsert
-
laneDidInsert
-
laneWillUpdate
-
laneDidUpdate
-
laneWillMove
-
laneDidMove
-
laneWillRemove
public void laneWillRemove(int index) -
laneDidRemove
-
laneWillDrop
public void laneWillDrop(int lower) -
laneDidDrop
public void laneDidDrop(int lower) -
laneWillTake
public void laneWillTake(int upper) -
laneDidTake
public void laneDidTake(int upper) -
laneWillClear
public void laneWillClear() -
laneDidClear
public void laneDidClear() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
add
-
remove
-
containsAll
- Specified by:
containsAll
in interfaceCollection<V>
- Specified by:
containsAll
in interfaceList<V>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
size
public int size() -
drop
public void drop(int lower) -
take
public void take(int upper) -
clear
public void clear() -
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<V>
-
listIterator
- Specified by:
listIterator
in interfaceList<V>
-
listIterator
- Specified by:
listIterator
in interfaceList<V>
-
subList
-
snapshot
-
get
-
getEntry
-
getEntry
-
set
-
add
-
add
-
remove
-
move
public void move(int fromIndex, int toIndex) -
move
-
keyIterator
- Specified by:
keyIterator
in interfaceKeyedList<V>
-
entryIterator
- Specified by:
entryIterator
in interfaceKeyedList<V>
-