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, rate
Fields 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 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) didConnect
(DidConnect didConnect) didDisconnect
(DidDisconnect didDisconnect) didMove
(DidMoveIndex<V> didMove) didReceive
(DidReceive didReceive) didRemove
(DidRemoveIndex<V> didRemove) didUpdate
(DidUpdateIndex<V> didUpdate) boolean
dispatchDidClear
(boolean preemptive) boolean
dispatchDidDrop
(int lower, boolean preemptive) boolean
dispatchDidMove
(int fromIndex, int toIndex, V value, boolean preemptive) boolean
dispatchDidRemove
(int index, V oldValue, boolean preemptive) boolean
dispatchDidTake
(int upper, boolean preemptive) boolean
dispatchDidUpdate
(int index, V newValue, V oldValue, boolean preemptive) boolean
dispatchWillClear
(boolean preemptive) boolean
dispatchWillDrop
(int lower, boolean preemptive) boolean
dispatchWillMove
(int fromIndex, int toIndex, V value, boolean preemptive) boolean
dispatchWillRemove
(int index, boolean preemptive) boolean
dispatchWillTake
(int upper, boolean preemptive) dispatchWillUpdate
(int index, V newValue, boolean preemptive) void
void
downlinkDidDrop
(int lower) void
downlinkDidInsert
(int index, V newValue) void
downlinkDidInsertValue
(int index, Value newValue) void
downlinkDidMove
(int fromIndex, int toIndex, V value) void
downlinkDidMoveValue
(int fromIndex, int toIndex, Value value) void
downlinkDidRemove
(int index, V oldValue) void
downlinkDidRemoveValue
(int index, Value oldValue) void
downlinkDidTake
(int upper) void
downlinkDidUpdate
(int index, V newValue, V oldValue) void
downlinkDidUpdateValue
(int index, Value newValue, Value oldValue) void
void
downlinkWillDrop
(int lower) downlinkWillInsert
(int index, V newValue) downlinkWillInsertValue
(int index, Value newValue) void
downlinkWillMove
(int fromIndex, int toIndex, V value) void
downlinkWillMoveValue
(int fromIndex, int toIndex, Value value) void
downlinkWillRemove
(int index) void
downlinkWillRemoveValue
(int index) void
downlinkWillTake
(int upper) downlinkWillUpdate
(int index, V newValue) downlinkWillUpdateValue
(int index, Value newValue) void
drop
(int lower) get
(int index) getEntry
(int index) int
boolean
isEmpty()
final boolean
isStateful
(boolean isStateful) iterator()
keepLinked
(boolean keepLinked) keepSynced
(boolean keepSynced) int
listIterator
(int index) void
move
(int fromIndex, int toIndex) void
open()
prio
(float prio) rate
(float rate) remove
(int index) boolean
boolean
removeAll
(Collection<?> elements) boolean
retainAll
(Collection<?> elements) int
size()
subList
(int fromIndex, int toIndex) void
take
(int upper) Object[]
toArray()
<T> T[]
toArray
(T[] a) protected Object
typesafeObservers
(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, rate
Methods 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, warn
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 swim.api.Link
cipherSuite, hostUri, isConnected, isRemote, isSecure, laneUri, localAddress, localCertificates, localIdentity, localPrincipal, nodeUri, remoteAddress, remoteCertificates, remoteIdentity, remotePrincipal, securityProtocol
Methods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
Methods 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:
downlinkModel
in classWarpDownlinkView
-
hostUri
- Specified by:
hostUri
in interfaceListDownlink<V>
- Specified by:
hostUri
in interfaceWarpDownlink
- Specified by:
hostUri
in classWarpDownlinkView
-
hostUri
- Specified by:
hostUri
in interfaceListDownlink<V>
- Specified by:
hostUri
in interfaceWarpDownlink
- Specified by:
hostUri
in classWarpDownlinkView
-
nodeUri
- Specified by:
nodeUri
in interfaceListDownlink<V>
- Specified by:
nodeUri
in interfaceWarpDownlink
- Specified by:
nodeUri
in classWarpDownlinkView
-
nodeUri
- Specified by:
nodeUri
in interfaceListDownlink<V>
- Specified by:
nodeUri
in interfaceWarpDownlink
- Specified by:
nodeUri
in classWarpDownlinkView
-
laneUri
- Specified by:
laneUri
in interfaceListDownlink<V>
- Specified by:
laneUri
in interfaceWarpDownlink
- Specified by:
laneUri
in classWarpDownlinkView
-
laneUri
- Specified by:
laneUri
in interfaceListDownlink<V>
- Specified by:
laneUri
in interfaceWarpDownlink
- Specified by:
laneUri
in classWarpDownlinkView
-
prio
- Specified by:
prio
in interfaceListDownlink<V>
- Specified by:
prio
in interfaceWarpDownlink
- Specified by:
prio
in classWarpDownlinkView
-
rate
- Specified by:
rate
in interfaceListDownlink<V>
- Specified by:
rate
in interfaceWarpDownlink
- Specified by:
rate
in classWarpDownlinkView
-
body
- Specified by:
body
in interfaceListDownlink<V>
- Specified by:
body
in interfaceWarpDownlink
- Specified by:
body
in classWarpDownlinkView
-
keepLinked
- Specified by:
keepLinked
in interfaceListDownlink<V>
- Specified by:
keepLinked
in interfaceWarpDownlink
- Specified by:
keepLinked
in classWarpDownlinkView
-
keepSynced
- Specified by:
keepSynced
in interfaceListDownlink<V>
- Specified by:
keepSynced
in interfaceWarpDownlink
- Specified by:
keepSynced
in classWarpDownlinkView
-
isStateful
public final boolean isStateful()- Specified by:
isStateful
in interfaceListDownlink<V>
-
isStateful
- Specified by:
isStateful
in interfaceListDownlink<V>
-
valueForm
- Specified by:
valueForm
in interfaceListDownlink<V>
-
valueForm
- Specified by:
valueForm
in interfaceListDownlink<V>
-
valueClass
- Specified by:
valueClass
in interfaceListDownlink<V>
-
typesafeObservers
-
observe
- Specified by:
observe
in interfaceDownlink
- Specified by:
observe
in interfaceLink
- Specified by:
observe
in interfaceListDownlink<V>
- Specified by:
observe
in interfaceObservable<V>
- Specified by:
observe
in interfaceObservableList<V>
- Specified by:
observe
in interfaceWarpDownlink
- Overrides:
observe
in classWarpDownlinkView
-
unobserve
- Specified by:
unobserve
in interfaceDownlink
- Specified by:
unobserve
in interfaceLink
- Specified by:
unobserve
in interfaceListDownlink<V>
- Specified by:
unobserve
in interfaceObservable<V>
- Specified by:
unobserve
in interfaceObservableList<V>
- Specified by:
unobserve
in interfaceWarpDownlink
- Overrides:
unobserve
in classWarpDownlinkView
-
willMove
- Specified by:
willMove
in interfaceListDownlink<V>
- Specified by:
willMove
in interfaceObservableList<V>
-
didMove
- Specified by:
didMove
in interfaceListDownlink<V>
- Specified by:
didMove
in interfaceObservableList<V>
-
willUpdate
- Specified by:
willUpdate
in interfaceListDownlink<V>
- Specified by:
willUpdate
in interfaceObservableList<V>
-
didUpdate
- Specified by:
didUpdate
in interfaceListDownlink<V>
- Specified by:
didUpdate
in interfaceObservableList<V>
-
willRemove
- Specified by:
willRemove
in interfaceListDownlink<V>
- Specified by:
willRemove
in interfaceObservableList<V>
-
didRemove
- Specified by:
didRemove
in interfaceListDownlink<V>
- Specified by:
didRemove
in interfaceObservableList<V>
-
willDrop
- Specified by:
willDrop
in interfaceListDownlink<V>
- Specified by:
willDrop
in interfaceObservableList<V>
-
didDrop
- Specified by:
didDrop
in interfaceListDownlink<V>
- Specified by:
didDrop
in interfaceObservableList<V>
-
willTake
- Specified by:
willTake
in interfaceListDownlink<V>
- Specified by:
willTake
in interfaceObservableList<V>
-
didTake
- Specified by:
didTake
in interfaceListDownlink<V>
- Specified by:
didTake
in interfaceObservableList<V>
-
willClear
- Specified by:
willClear
in interfaceListDownlink<V>
- Specified by:
willClear
in interfaceObservableList<V>
-
didClear
- Specified by:
didClear
in interfaceListDownlink<V>
- Specified by:
didClear
in interfaceObservableList<V>
-
willReceive
- Specified by:
willReceive
in interfaceListDownlink<V>
- Specified by:
willReceive
in interfaceWarpDownlink
- Specified by:
willReceive
in classWarpDownlinkView
-
didReceive
- Specified by:
didReceive
in interfaceListDownlink<V>
- Specified by:
didReceive
in interfaceWarpDownlink
- Specified by:
didReceive
in classWarpDownlinkView
-
willCommand
- Specified by:
willCommand
in interfaceListDownlink<V>
- Specified by:
willCommand
in interfaceWarpDownlink
- Specified by:
willCommand
in classWarpDownlinkView
-
willLink
- Specified by:
willLink
in interfaceListDownlink<V>
- Specified by:
willLink
in interfaceWarpDownlink
- Specified by:
willLink
in classWarpDownlinkView
-
didLink
- Specified by:
didLink
in interfaceListDownlink<V>
- Specified by:
didLink
in interfaceWarpDownlink
- Specified by:
didLink
in classWarpDownlinkView
-
willSync
- Specified by:
willSync
in interfaceListDownlink<V>
- Specified by:
willSync
in interfaceWarpDownlink
- Specified by:
willSync
in classWarpDownlinkView
-
didSync
- Specified by:
didSync
in interfaceListDownlink<V>
- Specified by:
didSync
in interfaceWarpDownlink
- Specified by:
didSync
in classWarpDownlinkView
-
willUnlink
- Specified by:
willUnlink
in interfaceListDownlink<V>
- Specified by:
willUnlink
in interfaceWarpDownlink
- Specified by:
willUnlink
in classWarpDownlinkView
-
didUnlink
- Specified by:
didUnlink
in interfaceListDownlink<V>
- Specified by:
didUnlink
in interfaceWarpDownlink
- Specified by:
didUnlink
in classWarpDownlinkView
-
didConnect
- Specified by:
didConnect
in interfaceDownlink
- Specified by:
didConnect
in interfaceListDownlink<V>
- Specified by:
didConnect
in interfaceWarpDownlink
- Specified by:
didConnect
in classWarpDownlinkView
-
didDisconnect
- Specified by:
didDisconnect
in interfaceDownlink
- Specified by:
didDisconnect
in interfaceListDownlink<V>
- Specified by:
didDisconnect
in interfaceWarpDownlink
- Specified by:
didDisconnect
in classWarpDownlinkView
-
didClose
- Specified by:
didClose
in interfaceDownlink
- Specified by:
didClose
in interfaceListDownlink<V>
- Specified by:
didClose
in interfaceWarpDownlink
- Specified by:
didClose
in classWarpDownlinkView
-
didFail
- Specified by:
didFail
in interfaceDownlink
- Specified by:
didFail
in interfaceListDownlink<V>
- Specified by:
didFail
in interfaceWarpDownlink
- Specified by:
didFail
in 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:
createDownlinkModel
in classWarpDownlinkView
-
open
- Specified by:
open
in interfaceDownlink
- Specified by:
open
in interfaceListDownlink<V>
- Specified by:
open
in interfaceWarpDownlink
- Specified by:
open
in classWarpDownlinkView
-
close
public void close()- Specified by:
close
in interfaceLink
- Overrides:
close
in classDownlinkView
-
isEmpty
public boolean isEmpty() -
contains
-
size
public int size() -
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
-
drop
public void drop(int lower) - Specified by:
drop
in interfaceListDownlink<V>
- Specified by:
drop
in interfaceObservableList<V>
-
take
public void take(int upper) - Specified by:
take
in interfaceListDownlink<V>
- Specified by:
take
in interfaceObservableList<V>
-
clear
public void clear() -
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
-
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>
-