- java.lang.Object
-
- swim.runtime.downlink.DownlinkView
-
- swim.runtime.downlink.ListDownlinkView<V>
-
- All Implemented Interfaces:
Iterable<V>,Collection<V>,List<V>,swim.api.downlink.Downlink,swim.api.downlink.ListDownlink<V>,swim.api.Link,swim.observable.Observable<Object>,swim.observable.ObservableList<V>,swim.util.KeyedList<V>,swim.util.Log
public class ListDownlinkView<V> extends DownlinkView implements swim.api.downlink.ListDownlink<V>
-
-
Field Summary
Fields Modifier and Type Field Description protected ListDownlinkModelmodelprotected static intSTATEFULprotected swim.structure.Form<V>valueForm-
Fields inherited from class swim.runtime.downlink.DownlinkView
body, cellContext, flags, hostUri, KEEP_LINKED, KEEP_SYNCED, laneUri, meshUri, nodeUri, observers, prio, rate, stage
-
-
Constructor Summary
Constructors Constructor Description ListDownlinkView(CellContext cellContext, swim.concurrent.Stage stage, swim.uri.Uri meshUri, swim.uri.Uri hostUri, swim.uri.Uri nodeUri, swim.uri.Uri laneUri, float prio, float rate, swim.structure.Value body, int flags, swim.structure.Form<V> valueForm, Object observers)ListDownlinkView(CellContext cellContext, swim.concurrent.Stage stage, swim.uri.Uri meshUri, swim.uri.Uri hostUri, swim.uri.Uri nodeUri, swim.uri.Uri laneUri, float prio, float rate, swim.structure.Value body, swim.structure.Form<V> valueForm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, V element)voidadd(int index, V element, Object key)booleanadd(V v)booleanadd(V element, Object key)booleanaddAll(int index, Collection<? extends V> elements)booleanaddAll(Collection<? extends V> elements)ListDownlinkView<V>body(swim.structure.Value body)voidclear()booleancontains(Object o)booleancontainsAll(Collection<?> elements)ListDownlinkModelcreateDownlinkModel()ListDownlinkView<V>didClear(swim.observable.function.DidClear didClear)ListDownlinkView<V>didClose(swim.api.function.DidClose didClose)ListDownlinkView<V>didConnect(swim.api.function.DidConnect didConnect)ListDownlinkView<V>didDisconnect(swim.api.function.DidDisconnect didDisconnect)ListDownlinkView<V>didDrop(swim.observable.function.DidDrop didDrop)ListDownlinkView<V>didFail(swim.api.function.DidFail didFail)ListDownlinkView<V>didLink(swim.api.downlink.function.DidLink didLink)swim.api.downlink.ListDownlink<V>didMove(swim.observable.function.DidMoveIndex<V> didMove)ListDownlinkView<V>didReceive(swim.api.downlink.function.DidReceive didReceive)ListDownlinkView<V>didRemove(swim.observable.function.DidRemoveIndex<V> didRemove)ListDownlinkView<V>didSync(swim.api.downlink.function.DidSync didSync)ListDownlinkView<V>didTake(swim.observable.function.DidTake didTake)ListDownlinkView<V>didUnlink(swim.api.downlink.function.DidUnlink didUnlink)ListDownlinkView<V>didUpdate(swim.observable.function.DidUpdateIndex<V> didUpdate)protected booleandispatchDidClear(boolean preemptive)protected booleandispatchDidDrop(int lower, boolean preemptive)protected booleandispatchDidMove(int fromIndex, int toIndex, V value, boolean preemptive)protected booleandispatchDidRemove(int index, V oldValue, boolean preemptive)protected booleandispatchDidTake(int upper, boolean preemptive)protected booleandispatchDidUpdate(int index, V newValue, V oldValue, boolean preemptive)protected booleandispatchWillClear(boolean preemptive)protected booleandispatchWillDrop(int lower, boolean preemptive)protected booleandispatchWillMove(int fromIndex, int toIndex, V value, boolean preemptive)protected booleandispatchWillRemove(int index, boolean preemptive)protected booleandispatchWillTake(int upper, boolean preemptive)protected Map.Entry<Boolean,V>dispatchWillUpdate(int index, V newValue, boolean preemptive)voiddownlinkDidClear()voiddownlinkDidDrop(int lower)voiddownlinkDidInsert(int index, V newValue)voiddownlinkDidInsertValue(int index, swim.structure.Value newValue)voiddownlinkDidMove(int fromIndex, int toIndex, V value)voiddownlinkDidMoveValue(int fromIndex, int toIndex, swim.structure.Value value)voiddownlinkDidRemove(int index, V oldValue)voiddownlinkDidRemoveValue(int index, swim.structure.Value oldValue)voiddownlinkDidTake(int upper)voiddownlinkDidUpdate(int index, V newValue, V oldValue)voiddownlinkDidUpdateValue(int index, swim.structure.Value newValue, swim.structure.Value oldValue)ListDownlinkModeldownlinkModel()voiddownlinkWillClear()voiddownlinkWillDrop(int lower)VdownlinkWillInsert(int index, V newValue)swim.structure.ValuedownlinkWillInsertValue(int index, swim.structure.Value newValue)voiddownlinkWillMove(int fromIndex, int toIndex, V value)voiddownlinkWillMoveValue(int fromIndex, int toIndex, swim.structure.Value value)voiddownlinkWillRemove(int index)voiddownlinkWillRemoveValue(int index)voiddownlinkWillTake(int upper)VdownlinkWillUpdate(int index, V newValue)swim.structure.ValuedownlinkWillUpdateValue(int index, swim.structure.Value newValue)voiddrop(int lower)ListIterator<Map.Entry<Object,V>>entryIterator()Vget(int index)Vget(int index, Object key)Map.Entry<Object,V>getEntry(int index)Map.Entry<Object,V>getEntry(int index, Object key)ListDownlinkView<V>hostUri(String hostUri)ListDownlinkView<V>hostUri(swim.uri.Uri hostUri)intindexOf(Object o)booleanisEmpty()booleanisStateful()ListDownlinkView<V>isStateful(boolean isStateful)Iterator<V>iterator()ListDownlinkView<V>keepLinked(boolean keepLinked)ListDownlinkView<V>keepSynced(boolean keepSynced)ListIterator<Object>keyIterator()ListDownlinkView<V>laneUri(String laneUri)ListDownlinkView<V>laneUri(swim.uri.Uri laneUri)intlastIndexOf(Object o)ListIterator<V>listIterator()ListIterator<V>listIterator(int index)voidmove(int fromIndex, int toIndex)voidmove(int fromIndex, int toIndex, Object key)ListDownlinkView<V>nodeUri(String nodeUri)ListDownlinkView<V>nodeUri(swim.uri.Uri nodeUri)ListDownlinkView<V>observe(Object observer)ListDownlinkView<V>open()ListDownlinkView<V>prio(float prio)ListDownlinkView<V>rate(float rate)Vremove(int index)Vremove(int index, Object key)booleanremove(Object o)booleanremoveAll(Collection<?> elements)booleanretainAll(Collection<?> elements)Vset(int index, V element)Vset(int index, V element, Object key)intsize()List<V>subList(int fromIndex, int toIndex)voidtake(int upper)Object[]toArray()<T> T[]toArray(T[] a)protected ObjecttypesafeObservers(Object observers)ListDownlinkView<V>unobserve(Object observer)<V2> ListDownlinkView<V2>valueClass(Class<V2> valueClass)swim.structure.Form<V>valueForm()<V2> ListDownlinkView<V2>valueForm(swim.structure.Form<V2> valueForm)ListDownlinkView<V>willClear(swim.observable.function.WillClear willClear)ListDownlinkView<V>willCommand(swim.api.downlink.function.WillCommand willCommand)ListDownlinkView<V>willDrop(swim.observable.function.WillDrop willDrop)ListDownlinkView<V>willLink(swim.api.downlink.function.WillLink willLink)swim.api.downlink.ListDownlink<V>willMove(swim.observable.function.WillMoveIndex<V> willMove)ListDownlinkView<V>willReceive(swim.api.downlink.function.WillReceive willReceive)ListDownlinkView<V>willRemove(swim.observable.function.WillRemoveIndex willRemove)ListDownlinkView<V>willSync(swim.api.downlink.function.WillSync willSync)ListDownlinkView<V>willTake(swim.observable.function.WillTake willTake)ListDownlinkView<V>willUnlink(swim.api.downlink.function.WillUnlink willUnlink)ListDownlinkView<V>willUpdate(swim.observable.function.WillUpdateIndex<V> willUpdate)-
Methods inherited from class swim.runtime.downlink.DownlinkView
body, cellContext, cipherSuite, close, command, command, debug, dispatchDidClose, dispatchDidConnect, dispatchDidDisconnect, dispatchDidFail, dispatchDidLink, dispatchDidReceive, dispatchDidSync, dispatchDidUnlink, dispatchWillCommand, dispatchWillLink, dispatchWillReceive, dispatchWillSync, dispatchWillUnlink, downlinkDidClose, downlinkDidConnect, downlinkDidDisconnect, downlinkDidFail, downlinkDidLink, downlinkDidReceive, downlinkDidSync, downlinkDidUnlink, downlinkWillCommand, downlinkWillLink, downlinkWillReceive, downlinkWillSync, downlinkWillUnlink, error, hostUri, info, isConnected, isRemote, isSecure, keepLinked, keepSynced, laneUri, localAddress, localCertificates, localIdentity, localPrincipal, meshUri, nodeUri, prio, rate, 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.downlink.Downlink
body, cipherSuite, close, command, command, debug, error, hostUri, info, isConnected, isRemote, isSecure, keepLinked, keepSynced, laneUri, localAddress, localCertificates, localIdentity, localPrincipal, nodeUri, prio, rate, remoteAddress, remoteCertificates, remoteIdentity, remotePrincipal, securityProtocol, trace, warn
-
Methods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
-
-
-
Field Detail
-
valueForm
protected final swim.structure.Form<V> valueForm
-
model
protected ListDownlinkModel model
-
STATEFUL
protected static final int STATEFUL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ListDownlinkView
public ListDownlinkView(CellContext cellContext, swim.concurrent.Stage stage, swim.uri.Uri meshUri, swim.uri.Uri hostUri, swim.uri.Uri nodeUri, swim.uri.Uri laneUri, float prio, float rate, swim.structure.Value body, int flags, swim.structure.Form<V> valueForm, Object observers)
-
ListDownlinkView
public ListDownlinkView(CellContext cellContext, swim.concurrent.Stage stage, swim.uri.Uri meshUri, swim.uri.Uri hostUri, swim.uri.Uri nodeUri, swim.uri.Uri laneUri, float prio, float rate, swim.structure.Value body, swim.structure.Form<V> valueForm)
-
-
Method Detail
-
downlinkModel
public ListDownlinkModel downlinkModel()
- Specified by:
downlinkModelin classDownlinkView
-
hostUri
public ListDownlinkView<V> hostUri(swim.uri.Uri hostUri)
- Specified by:
hostUriin interfaceswim.api.downlink.Downlink- Specified by:
hostUriin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
hostUriin classDownlinkView
-
hostUri
public ListDownlinkView<V> hostUri(String hostUri)
- Specified by:
hostUriin interfaceswim.api.downlink.Downlink- Specified by:
hostUriin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
hostUriin classDownlinkView
-
nodeUri
public ListDownlinkView<V> nodeUri(swim.uri.Uri nodeUri)
- Specified by:
nodeUriin interfaceswim.api.downlink.Downlink- Specified by:
nodeUriin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
nodeUriin classDownlinkView
-
nodeUri
public ListDownlinkView<V> nodeUri(String nodeUri)
- Specified by:
nodeUriin interfaceswim.api.downlink.Downlink- Specified by:
nodeUriin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
nodeUriin classDownlinkView
-
laneUri
public ListDownlinkView<V> laneUri(swim.uri.Uri laneUri)
- Specified by:
laneUriin interfaceswim.api.downlink.Downlink- Specified by:
laneUriin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
laneUriin classDownlinkView
-
laneUri
public ListDownlinkView<V> laneUri(String laneUri)
- Specified by:
laneUriin interfaceswim.api.downlink.Downlink- Specified by:
laneUriin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
laneUriin classDownlinkView
-
prio
public ListDownlinkView<V> prio(float prio)
- Specified by:
prioin interfaceswim.api.downlink.Downlink- Specified by:
prioin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
prioin classDownlinkView
-
rate
public ListDownlinkView<V> rate(float rate)
- Specified by:
ratein interfaceswim.api.downlink.Downlink- Specified by:
ratein interfaceswim.api.downlink.ListDownlink<V>- Specified by:
ratein classDownlinkView
-
body
public ListDownlinkView<V> body(swim.structure.Value body)
- Specified by:
bodyin interfaceswim.api.downlink.Downlink- Specified by:
bodyin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
bodyin classDownlinkView
-
keepLinked
public ListDownlinkView<V> keepLinked(boolean keepLinked)
- Specified by:
keepLinkedin interfaceswim.api.downlink.Downlink- Specified by:
keepLinkedin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
keepLinkedin classDownlinkView
-
keepSynced
public ListDownlinkView<V> keepSynced(boolean keepSynced)
- Specified by:
keepSyncedin interfaceswim.api.downlink.Downlink- Specified by:
keepSyncedin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
keepSyncedin classDownlinkView
-
isStateful
public final boolean isStateful()
- Specified by:
isStatefulin interfaceswim.api.downlink.ListDownlink<V>
-
isStateful
public ListDownlinkView<V> isStateful(boolean isStateful)
- Specified by:
isStatefulin interfaceswim.api.downlink.ListDownlink<V>
-
valueForm
public final swim.structure.Form<V> valueForm()
- Specified by:
valueFormin interfaceswim.api.downlink.ListDownlink<V>
-
valueForm
public <V2> ListDownlinkView<V2> valueForm(swim.structure.Form<V2> valueForm)
- Specified by:
valueFormin interfaceswim.api.downlink.ListDownlink<V>
-
valueClass
public <V2> ListDownlinkView<V2> valueClass(Class<V2> valueClass)
- Specified by:
valueClassin interfaceswim.api.downlink.ListDownlink<V>
-
observe
public ListDownlinkView<V> observe(Object observer)
- Specified by:
observein interfaceswim.api.downlink.Downlink- Specified by:
observein interfaceswim.api.Link- Specified by:
observein interfaceswim.api.downlink.ListDownlink<V>- Specified by:
observein interfaceswim.observable.Observable<V>- Specified by:
observein interfaceswim.observable.ObservableList<V>- Overrides:
observein classDownlinkView
-
unobserve
public ListDownlinkView<V> unobserve(Object observer)
- Specified by:
unobservein interfaceswim.api.downlink.Downlink- Specified by:
unobservein interfaceswim.api.Link- Specified by:
unobservein interfaceswim.api.downlink.ListDownlink<V>- Specified by:
unobservein interfaceswim.observable.Observable<V>- Specified by:
unobservein interfaceswim.observable.ObservableList<V>- Overrides:
unobservein classDownlinkView
-
willMove
public swim.api.downlink.ListDownlink<V> willMove(swim.observable.function.WillMoveIndex<V> willMove)
-
didMove
public swim.api.downlink.ListDownlink<V> didMove(swim.observable.function.DidMoveIndex<V> didMove)
-
willUpdate
public ListDownlinkView<V> willUpdate(swim.observable.function.WillUpdateIndex<V> willUpdate)
-
didUpdate
public ListDownlinkView<V> didUpdate(swim.observable.function.DidUpdateIndex<V> didUpdate)
-
willRemove
public ListDownlinkView<V> willRemove(swim.observable.function.WillRemoveIndex willRemove)
-
didRemove
public ListDownlinkView<V> didRemove(swim.observable.function.DidRemoveIndex<V> didRemove)
-
willDrop
public ListDownlinkView<V> willDrop(swim.observable.function.WillDrop willDrop)
-
didDrop
public ListDownlinkView<V> didDrop(swim.observable.function.DidDrop didDrop)
-
willTake
public ListDownlinkView<V> willTake(swim.observable.function.WillTake willTake)
-
didTake
public ListDownlinkView<V> didTake(swim.observable.function.DidTake didTake)
-
willClear
public ListDownlinkView<V> willClear(swim.observable.function.WillClear willClear)
-
didClear
public ListDownlinkView<V> didClear(swim.observable.function.DidClear didClear)
-
willReceive
public ListDownlinkView<V> willReceive(swim.api.downlink.function.WillReceive willReceive)
- Specified by:
willReceivein interfaceswim.api.downlink.Downlink- Specified by:
willReceivein interfaceswim.api.downlink.ListDownlink<V>- Specified by:
willReceivein classDownlinkView
-
didReceive
public ListDownlinkView<V> didReceive(swim.api.downlink.function.DidReceive didReceive)
- Specified by:
didReceivein interfaceswim.api.downlink.Downlink- Specified by:
didReceivein interfaceswim.api.downlink.ListDownlink<V>- Specified by:
didReceivein classDownlinkView
-
willCommand
public ListDownlinkView<V> willCommand(swim.api.downlink.function.WillCommand willCommand)
- Specified by:
willCommandin interfaceswim.api.downlink.Downlink- Specified by:
willCommandin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
willCommandin classDownlinkView
-
willLink
public ListDownlinkView<V> willLink(swim.api.downlink.function.WillLink willLink)
- Specified by:
willLinkin interfaceswim.api.downlink.Downlink- Specified by:
willLinkin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
willLinkin classDownlinkView
-
didLink
public ListDownlinkView<V> didLink(swim.api.downlink.function.DidLink didLink)
- Specified by:
didLinkin interfaceswim.api.downlink.Downlink- Specified by:
didLinkin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
didLinkin classDownlinkView
-
willSync
public ListDownlinkView<V> willSync(swim.api.downlink.function.WillSync willSync)
- Specified by:
willSyncin interfaceswim.api.downlink.Downlink- Specified by:
willSyncin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
willSyncin classDownlinkView
-
didSync
public ListDownlinkView<V> didSync(swim.api.downlink.function.DidSync didSync)
- Specified by:
didSyncin interfaceswim.api.downlink.Downlink- Specified by:
didSyncin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
didSyncin classDownlinkView
-
willUnlink
public ListDownlinkView<V> willUnlink(swim.api.downlink.function.WillUnlink willUnlink)
- Specified by:
willUnlinkin interfaceswim.api.downlink.Downlink- Specified by:
willUnlinkin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
willUnlinkin classDownlinkView
-
didUnlink
public ListDownlinkView<V> didUnlink(swim.api.downlink.function.DidUnlink didUnlink)
- Specified by:
didUnlinkin interfaceswim.api.downlink.Downlink- Specified by:
didUnlinkin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
didUnlinkin classDownlinkView
-
didConnect
public ListDownlinkView<V> didConnect(swim.api.function.DidConnect didConnect)
- Specified by:
didConnectin interfaceswim.api.downlink.Downlink- Specified by:
didConnectin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
didConnectin classDownlinkView
-
didDisconnect
public ListDownlinkView<V> didDisconnect(swim.api.function.DidDisconnect didDisconnect)
- Specified by:
didDisconnectin interfaceswim.api.downlink.Downlink- Specified by:
didDisconnectin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
didDisconnectin classDownlinkView
-
didClose
public ListDownlinkView<V> didClose(swim.api.function.DidClose didClose)
- Specified by:
didClosein interfaceswim.api.downlink.Downlink- Specified by:
didClosein interfaceswim.api.downlink.ListDownlink<V>- Specified by:
didClosein classDownlinkView
-
didFail
public ListDownlinkView<V> didFail(swim.api.function.DidFail didFail)
- Specified by:
didFailin interfaceswim.api.downlink.Downlink- Specified by:
didFailin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
didFailin classDownlinkView
-
dispatchWillUpdate
protected Map.Entry<Boolean,V> dispatchWillUpdate(int index, V newValue, boolean preemptive)
-
dispatchDidUpdate
protected boolean dispatchDidUpdate(int index, V newValue, V oldValue, boolean preemptive)
-
dispatchWillMove
protected boolean dispatchWillMove(int fromIndex, int toIndex, V value, boolean preemptive)
-
dispatchDidMove
protected boolean dispatchDidMove(int fromIndex, int toIndex, V value, boolean preemptive)
-
dispatchWillRemove
protected boolean dispatchWillRemove(int index, boolean preemptive)
-
dispatchDidRemove
protected boolean dispatchDidRemove(int index, V oldValue, boolean preemptive)
-
dispatchWillDrop
protected boolean dispatchWillDrop(int lower, boolean preemptive)
-
dispatchDidDrop
protected boolean dispatchDidDrop(int lower, boolean preemptive)
-
dispatchWillTake
protected boolean dispatchWillTake(int upper, boolean preemptive)
-
dispatchDidTake
protected boolean dispatchDidTake(int upper, boolean preemptive)
-
dispatchWillClear
protected boolean dispatchWillClear(boolean preemptive)
-
dispatchDidClear
protected boolean dispatchDidClear(boolean preemptive)
-
downlinkWillInsertValue
public swim.structure.Value downlinkWillInsertValue(int index, swim.structure.Value newValue)
-
downlinkDidInsertValue
public void downlinkDidInsertValue(int index, swim.structure.Value newValue)
-
downlinkDidInsert
public void downlinkDidInsert(int index, V newValue)
-
downlinkWillUpdateValue
public swim.structure.Value downlinkWillUpdateValue(int index, swim.structure.Value newValue)
-
downlinkDidUpdateValue
public void downlinkDidUpdateValue(int index, swim.structure.Value newValue, swim.structure.Value oldValue)
-
downlinkWillMoveValue
public void downlinkWillMoveValue(int fromIndex, int toIndex, swim.structure.Value value)
-
downlinkDidMoveValue
public void downlinkDidMoveValue(int fromIndex, int toIndex, swim.structure.Value value)
-
downlinkWillMove
public void downlinkWillMove(int fromIndex, int toIndex, V value)
-
downlinkDidMove
public void downlinkDidMove(int fromIndex, int toIndex, V value)
-
downlinkWillRemoveValue
public void downlinkWillRemoveValue(int index)
-
downlinkDidRemoveValue
public void downlinkDidRemoveValue(int index, swim.structure.Value oldValue)
-
downlinkWillRemove
public void downlinkWillRemove(int index)
-
downlinkDidRemove
public void downlinkDidRemove(int index, V oldValue)
-
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
public ListDownlinkModel createDownlinkModel()
- Specified by:
createDownlinkModelin classDownlinkView
-
open
public ListDownlinkView<V> open()
- Specified by:
openin interfaceswim.api.downlink.Downlink- Specified by:
openin interfaceswim.api.downlink.ListDownlink<V>- Specified by:
openin classDownlinkView
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(Object o)
-
size
public int size()
-
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOfin interfaceList<V>
-
listIterator
public ListIterator<V> listIterator()
- Specified by:
listIteratorin interfaceList<V>
-
listIterator
public ListIterator<V> listIterator(int index)
- Specified by:
listIteratorin interfaceList<V>
-
drop
public void drop(int lower)
-
take
public void take(int upper)
-
clear
public void clear()
-
toArray
public Object[] toArray()
-
toArray
public <T> T[] toArray(T[] a)
-
add
public boolean add(V v)
-
remove
public boolean remove(Object o)
-
containsAll
public boolean containsAll(Collection<?> elements)
- Specified by:
containsAllin interfaceCollection<V>- Specified by:
containsAllin interfaceList<V>
-
addAll
public boolean addAll(Collection<? extends V> elements)
-
addAll
public boolean addAll(int index, Collection<? extends V> elements)
-
removeAll
public boolean removeAll(Collection<?> elements)
-
retainAll
public boolean retainAll(Collection<?> elements)
-
getEntry
public Map.Entry<Object,V> getEntry(int index)
- Specified by:
getEntryin interfaceswim.util.KeyedList<V>
-
getEntry
public Map.Entry<Object,V> getEntry(int index, Object key)
- Specified by:
getEntryin interfaceswim.util.KeyedList<V>
-
set
public V set(int index, V element, Object key)
- Specified by:
setin interfaceswim.util.KeyedList<V>
-
add
public boolean add(V element, Object key)
- Specified by:
addin interfaceswim.util.KeyedList<V>
-
add
public void add(int index, V element, Object key)- Specified by:
addin interfaceswim.util.KeyedList<V>
-
remove
public V remove(int index, Object key)
- Specified by:
removein interfaceswim.util.KeyedList<V>
-
move
public void move(int fromIndex, int toIndex)
-
move
public void move(int fromIndex, int toIndex, Object key)- Specified by:
movein interfaceswim.util.KeyedList<V>
-
keyIterator
public ListIterator<Object> keyIterator()
- Specified by:
keyIteratorin interfaceswim.util.KeyedList<V>
-
entryIterator
public ListIterator<Map.Entry<Object,V>> entryIterator()
- Specified by:
entryIteratorin interfaceswim.util.KeyedList<V>
-
-