java.lang.Object
swim.system.DownlinkView
swim.system.warp.WarpDownlinkView
swim.system.downlink.ListDownlinkView<V>
- All Implemented Interfaces:
Iterable<V>,Collection<V>,List<V>,Downlink,ListDownlink<V>,Link,WarpDownlink,WarpLink,Observable<Object>,ObservableList<V>,KeyedList<V>,Log
-
Field Summary
FieldsFields inherited from class swim.system.warp.WarpDownlinkView
body, flags, hostUri, KEEP_LINKED, KEEP_SYNCED, laneUri, meshUri, nodeUri, prio, rateFields inherited from class swim.system.DownlinkView
cellContext, observers, stage -
Constructor Summary
ConstructorsConstructorDescriptionListDownlinkView(CellContext cellContext, Stage stage, Uri meshUri, Uri hostUri, Uri nodeUri, Uri laneUri, float prio, float rate, Value body, int flags, Form<V> valueForm, Object observers) ListDownlinkView(CellContext cellContext, Stage stage, Uri meshUri, Uri hostUri, Uri nodeUri, Uri laneUri, float prio, float rate, Value body, Form<V> valueForm) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanbooleanbooleanaddAll(int index, Collection<? extends V> elements) booleanaddAll(Collection<? extends V> elements) voidclear()voidclose()booleanbooleancontainsAll(Collection<?> elements) didConnect(DidConnect didConnect) didDisconnect(DidDisconnect didDisconnect) didMove(DidMoveIndex<V> didMove) didReceive(DidReceive didReceive) didRemove(DidRemoveIndex<V> didRemove) didUpdate(DidUpdateIndex<V> didUpdate) booleandispatchDidClear(boolean preemptive) booleandispatchDidDrop(int lower, boolean preemptive) booleandispatchDidMove(int fromIndex, int toIndex, V value, boolean preemptive) booleandispatchDidRemove(int index, V oldValue, boolean preemptive) booleandispatchDidTake(int upper, boolean preemptive) booleandispatchDidUpdate(int index, V newValue, V oldValue, boolean preemptive) booleandispatchWillClear(boolean preemptive) booleandispatchWillDrop(int lower, boolean preemptive) booleandispatchWillMove(int fromIndex, int toIndex, V value, boolean preemptive) booleandispatchWillRemove(int index, boolean preemptive) booleandispatchWillTake(int upper, boolean preemptive) dispatchWillUpdate(int index, V newValue, boolean preemptive) voidvoiddownlinkDidDrop(int lower) voiddownlinkDidInsert(int index, V newValue) voiddownlinkDidInsertValue(int index, Value newValue) voiddownlinkDidMove(int fromIndex, int toIndex, V value) voiddownlinkDidMoveValue(int fromIndex, int toIndex, Value value) voiddownlinkDidRemove(int index, V oldValue) voiddownlinkDidRemoveValue(int index, Value oldValue) voiddownlinkDidTake(int upper) voiddownlinkDidUpdate(int index, V newValue, V oldValue) voiddownlinkDidUpdateValue(int index, Value newValue, Value oldValue) voidvoiddownlinkWillDrop(int lower) downlinkWillInsert(int index, V newValue) downlinkWillInsertValue(int index, Value newValue) voiddownlinkWillMove(int fromIndex, int toIndex, V value) voiddownlinkWillMoveValue(int fromIndex, int toIndex, Value value) voiddownlinkWillRemove(int index) voiddownlinkWillRemoveValue(int index) voiddownlinkWillTake(int upper) downlinkWillUpdate(int index, V newValue) downlinkWillUpdateValue(int index, Value newValue) voiddrop(int lower) get(int index) getEntry(int index) intbooleanisEmpty()final booleanisStateful(boolean isStateful) iterator()keepLinked(boolean keepLinked) keepSynced(boolean keepSynced) intlistIterator(int index) voidmove(int fromIndex, int toIndex) voidopen()prio(float prio) rate(float rate) remove(int index) booleanbooleanremoveAll(Collection<?> elements) booleanretainAll(Collection<?> elements) intsize()subList(int fromIndex, int toIndex) voidtake(int upper) Object[]toArray()<T> T[]toArray(T[] a) protected ObjecttypesafeObservers(Object observers) <V2> ListDownlinkView<V2>valueClass(Class<V2> valueClass) <V2> ListDownlinkView<V2>willCommand(WillCommand willCommand) willMove(WillMoveIndex<V> willMove) willReceive(WillReceive willReceive) willRemove(WillRemoveIndex willRemove) willUnlink(WillUnlink willUnlink) willUpdate(WillUpdateIndex<V> willUpdate) Methods inherited from class swim.system.warp.WarpDownlinkView
body, command, command, command, command, dispatchDidLink, dispatchDidReceive, dispatchDidSync, dispatchDidUnlink, dispatchWillCommand, dispatchWillLink, dispatchWillReceive, dispatchWillSync, dispatchWillUnlink, downlinkDidLink, downlinkDidReceive, downlinkDidSync, downlinkDidUnlink, downlinkWillCommand, downlinkWillLink, downlinkWillReceive, downlinkWillSync, downlinkWillUnlink, hostUri, keepLinked, keepSynced, laneUri, meshUri, nodeUri, prio, rateMethods inherited from class swim.system.DownlinkView
cellContext, cipherSuite, debug, dispatchDidClose, dispatchDidConnect, dispatchDidDisconnect, dispatchDidFail, downlinkDidClose, downlinkDidConnect, downlinkDidDisconnect, downlinkDidFail, error, fail, info, isConnected, isRemote, isSecure, localAddress, localCertificates, localIdentity, localPrincipal, remoteAddress, remoteCertificates, remoteIdentity, remotePrincipal, securityProtocol, stage, trace, warnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface swim.api.Link
cipherSuite, hostUri, isConnected, isRemote, isSecure, laneUri, localAddress, localCertificates, localIdentity, localPrincipal, nodeUri, remoteAddress, remoteCertificates, remoteIdentity, remotePrincipal, securityProtocolMethods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliteratorMethods inherited from interface swim.api.warp.WarpDownlink
body, command, command, command, command, keepLinked, keepSynced, prio, rate
-
Field Details
-
valueForm
-
model
-
STATEFUL
protected static final int STATEFUL- See Also:
-
-
Constructor Details
-
ListDownlinkView
-
ListDownlinkView
-
-
Method Details
-
downlinkModel
- Specified by:
downlinkModelin classWarpDownlinkView
-
hostUri
- Specified by:
hostUriin interfaceListDownlink<V>- Specified by:
hostUriin interfaceWarpDownlink- Specified by:
hostUriin classWarpDownlinkView
-
hostUri
- Specified by:
hostUriin interfaceListDownlink<V>- Specified by:
hostUriin interfaceWarpDownlink- Specified by:
hostUriin classWarpDownlinkView
-
nodeUri
- Specified by:
nodeUriin interfaceListDownlink<V>- Specified by:
nodeUriin interfaceWarpDownlink- Specified by:
nodeUriin classWarpDownlinkView
-
nodeUri
- Specified by:
nodeUriin interfaceListDownlink<V>- Specified by:
nodeUriin interfaceWarpDownlink- Specified by:
nodeUriin classWarpDownlinkView
-
laneUri
- Specified by:
laneUriin interfaceListDownlink<V>- Specified by:
laneUriin interfaceWarpDownlink- Specified by:
laneUriin classWarpDownlinkView
-
laneUri
- Specified by:
laneUriin interfaceListDownlink<V>- Specified by:
laneUriin interfaceWarpDownlink- Specified by:
laneUriin classWarpDownlinkView
-
prio
- Specified by:
prioin interfaceListDownlink<V>- Specified by:
prioin interfaceWarpDownlink- Specified by:
prioin classWarpDownlinkView
-
rate
- Specified by:
ratein interfaceListDownlink<V>- Specified by:
ratein interfaceWarpDownlink- Specified by:
ratein classWarpDownlinkView
-
body
- Specified by:
bodyin interfaceListDownlink<V>- Specified by:
bodyin interfaceWarpDownlink- Specified by:
bodyin classWarpDownlinkView
-
keepLinked
- Specified by:
keepLinkedin interfaceListDownlink<V>- Specified by:
keepLinkedin interfaceWarpDownlink- Specified by:
keepLinkedin classWarpDownlinkView
-
keepSynced
- Specified by:
keepSyncedin interfaceListDownlink<V>- Specified by:
keepSyncedin interfaceWarpDownlink- Specified by:
keepSyncedin classWarpDownlinkView
-
isStateful
public final boolean isStateful()- Specified by:
isStatefulin interfaceListDownlink<V>
-
isStateful
- Specified by:
isStatefulin interfaceListDownlink<V>
-
valueForm
- Specified by:
valueFormin interfaceListDownlink<V>
-
valueForm
- Specified by:
valueFormin interfaceListDownlink<V>
-
valueClass
- Specified by:
valueClassin interfaceListDownlink<V>
-
typesafeObservers
-
observe
- Specified by:
observein interfaceDownlink- Specified by:
observein interfaceLink- Specified by:
observein interfaceListDownlink<V>- Specified by:
observein interfaceObservable<V>- Specified by:
observein interfaceObservableList<V>- Specified by:
observein interfaceWarpDownlink- Overrides:
observein classWarpDownlinkView
-
unobserve
- Specified by:
unobservein interfaceDownlink- Specified by:
unobservein interfaceLink- Specified by:
unobservein interfaceListDownlink<V>- Specified by:
unobservein interfaceObservable<V>- Specified by:
unobservein interfaceObservableList<V>- Specified by:
unobservein interfaceWarpDownlink- Overrides:
unobservein classWarpDownlinkView
-
willMove
- Specified by:
willMovein interfaceListDownlink<V>- Specified by:
willMovein interfaceObservableList<V>
-
didMove
- Specified by:
didMovein interfaceListDownlink<V>- Specified by:
didMovein interfaceObservableList<V>
-
willUpdate
- Specified by:
willUpdatein interfaceListDownlink<V>- Specified by:
willUpdatein interfaceObservableList<V>
-
didUpdate
- Specified by:
didUpdatein interfaceListDownlink<V>- Specified by:
didUpdatein interfaceObservableList<V>
-
willRemove
- Specified by:
willRemovein interfaceListDownlink<V>- Specified by:
willRemovein interfaceObservableList<V>
-
didRemove
- Specified by:
didRemovein interfaceListDownlink<V>- Specified by:
didRemovein interfaceObservableList<V>
-
willDrop
- Specified by:
willDropin interfaceListDownlink<V>- Specified by:
willDropin interfaceObservableList<V>
-
didDrop
- Specified by:
didDropin interfaceListDownlink<V>- Specified by:
didDropin interfaceObservableList<V>
-
willTake
- Specified by:
willTakein interfaceListDownlink<V>- Specified by:
willTakein interfaceObservableList<V>
-
didTake
- Specified by:
didTakein interfaceListDownlink<V>- Specified by:
didTakein interfaceObservableList<V>
-
willClear
- Specified by:
willClearin interfaceListDownlink<V>- Specified by:
willClearin interfaceObservableList<V>
-
didClear
- Specified by:
didClearin interfaceListDownlink<V>- Specified by:
didClearin interfaceObservableList<V>
-
willReceive
- Specified by:
willReceivein interfaceListDownlink<V>- Specified by:
willReceivein interfaceWarpDownlink- Specified by:
willReceivein classWarpDownlinkView
-
didReceive
- Specified by:
didReceivein interfaceListDownlink<V>- Specified by:
didReceivein interfaceWarpDownlink- Specified by:
didReceivein classWarpDownlinkView
-
willCommand
- Specified by:
willCommandin interfaceListDownlink<V>- Specified by:
willCommandin interfaceWarpDownlink- Specified by:
willCommandin classWarpDownlinkView
-
willLink
- Specified by:
willLinkin interfaceListDownlink<V>- Specified by:
willLinkin interfaceWarpDownlink- Specified by:
willLinkin classWarpDownlinkView
-
didLink
- Specified by:
didLinkin interfaceListDownlink<V>- Specified by:
didLinkin interfaceWarpDownlink- Specified by:
didLinkin classWarpDownlinkView
-
willSync
- Specified by:
willSyncin interfaceListDownlink<V>- Specified by:
willSyncin interfaceWarpDownlink- Specified by:
willSyncin classWarpDownlinkView
-
didSync
- Specified by:
didSyncin interfaceListDownlink<V>- Specified by:
didSyncin interfaceWarpDownlink- Specified by:
didSyncin classWarpDownlinkView
-
willUnlink
- Specified by:
willUnlinkin interfaceListDownlink<V>- Specified by:
willUnlinkin interfaceWarpDownlink- Specified by:
willUnlinkin classWarpDownlinkView
-
didUnlink
- Specified by:
didUnlinkin interfaceListDownlink<V>- Specified by:
didUnlinkin interfaceWarpDownlink- Specified by:
didUnlinkin classWarpDownlinkView
-
didConnect
- Specified by:
didConnectin interfaceDownlink- Specified by:
didConnectin interfaceListDownlink<V>- Specified by:
didConnectin interfaceWarpDownlink- Specified by:
didConnectin classWarpDownlinkView
-
didDisconnect
- Specified by:
didDisconnectin interfaceDownlink- Specified by:
didDisconnectin interfaceListDownlink<V>- Specified by:
didDisconnectin interfaceWarpDownlink- Specified by:
didDisconnectin classWarpDownlinkView
-
didClose
- Specified by:
didClosein interfaceDownlink- Specified by:
didClosein interfaceListDownlink<V>- Specified by:
didClosein interfaceWarpDownlink- Specified by:
didClosein classWarpDownlinkView
-
didFail
- Specified by:
didFailin interfaceDownlink- Specified by:
didFailin interfaceListDownlink<V>- Specified by:
didFailin interfaceWarpDownlink- Specified by:
didFailin classWarpDownlinkView
-
dispatchWillUpdate
-
dispatchDidUpdate
-
dispatchWillMove
-
dispatchDidMove
-
dispatchWillRemove
public boolean dispatchWillRemove(int index, boolean preemptive) -
dispatchDidRemove
-
dispatchWillDrop
public boolean dispatchWillDrop(int lower, boolean preemptive) -
dispatchDidDrop
public boolean dispatchDidDrop(int lower, boolean preemptive) -
dispatchWillTake
public boolean dispatchWillTake(int upper, boolean preemptive) -
dispatchDidTake
public boolean dispatchDidTake(int upper, boolean preemptive) -
dispatchWillClear
public boolean dispatchWillClear(boolean preemptive) -
dispatchDidClear
public boolean dispatchDidClear(boolean preemptive) -
downlinkWillInsertValue
-
downlinkDidInsertValue
-
downlinkWillInsert
-
downlinkDidInsert
-
downlinkWillUpdateValue
-
downlinkDidUpdateValue
-
downlinkWillUpdate
-
downlinkDidUpdate
-
downlinkWillMoveValue
-
downlinkDidMoveValue
-
downlinkWillMove
-
downlinkDidMove
-
downlinkWillRemoveValue
public void downlinkWillRemoveValue(int index) -
downlinkDidRemoveValue
-
downlinkWillRemove
public void downlinkWillRemove(int index) -
downlinkDidRemove
-
downlinkWillDrop
public void downlinkWillDrop(int lower) -
downlinkDidDrop
public void downlinkDidDrop(int lower) -
downlinkWillTake
public void downlinkWillTake(int upper) -
downlinkDidTake
public void downlinkDidTake(int upper) -
downlinkWillClear
public void downlinkWillClear() -
downlinkDidClear
public void downlinkDidClear() -
createDownlinkModel
- Specified by:
createDownlinkModelin classWarpDownlinkView
-
open
- Specified by:
openin interfaceDownlink- Specified by:
openin interfaceListDownlink<V>- Specified by:
openin interfaceWarpDownlink- Specified by:
openin classWarpDownlinkView
-
close
public void close()- Specified by:
closein interfaceLink- Overrides:
closein classDownlinkView
-
isEmpty
public boolean isEmpty() -
contains
-
size
public int size() -
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<V>
-
listIterator
- Specified by:
listIteratorin interfaceList<V>
-
listIterator
- Specified by:
listIteratorin interfaceList<V>
-
subList
-
drop
public void drop(int lower) - Specified by:
dropin interfaceListDownlink<V>- Specified by:
dropin interfaceObservableList<V>
-
take
public void take(int upper) - Specified by:
takein interfaceListDownlink<V>- Specified by:
takein interfaceObservableList<V>
-
clear
public void clear() -
iterator
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
add
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<V>- Specified by:
containsAllin interfaceList<V>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
get
-
getEntry
-
getEntry
-
set
-
add
-
add
-
remove
-
move
public void move(int fromIndex, int toIndex) -
move
-
keyIterator
- Specified by:
keyIteratorin interfaceKeyedList<V>
-
entryIterator
- Specified by:
entryIteratorin interfaceKeyedList<V>
-