- java.lang.Object
-
- swim.runtime.AbstractDownlinkBinding
-
- swim.runtime.DownlinkModel<View>
-
- swim.runtime.warp.WarpDownlinkModem<View>
-
- swim.runtime.warp.WarpDownlinkModel<View>
-
- swim.runtime.warp.ListDownlinkModem<ListDownlinkView<?>>
-
- swim.runtime.downlink.ListDownlinkModel
-
- All Implemented Interfaces:
LinkBinding,WarpBinding,Log
public class ListDownlinkModel extends ListDownlinkModem<ListDownlinkView<?>>
-
-
Field Summary
Fields Modifier and Type Field Description protected intflagsprotected STreeList<Value>stateprotected static intSTATEFUL-
Fields inherited from class swim.runtime.warp.WarpDownlinkModem
body, cellContext, EXEC_DELTA, EXEC_TIME, linkContext, prio, rate, status
-
Fields inherited from class swim.runtime.DownlinkModel
views, VIEWS
-
Fields inherited from class swim.runtime.AbstractDownlinkBinding
hostUri, laneUri, meshUri, nodeUri
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> booleanadd(ListDownlinkView<V> view, int index, V newObject)<V> booleanadd(ListDownlinkView<V> view, int index, V newObject, Object key)voidclear(ListDownlinkView<?> view)booleancontains(Object value)protected voiddidAddDownlink(ListDownlinkView<?> view)voiddrop(ListDownlinkView<?> view, int lower)ListIterator<Map.Entry<Object,Value>>entryIterator()Valueget(int index, Object key)Map.Entry<Object,Value>getEntry(int index)Map.Entry<Object,Value>getEntry(int index, Object key)intindexOf(Object o)booleanisEmpty()booleanisStateful()ListDownlinkModelisStateful(boolean isStateful)Iterator<Value>iterator()ListIterator<Object>keyIterator()intlastIndexOf(Object o)ListIterator<Value>listIterator()ListIterator<Value>listIterator(int index)<V> voidmove(ListDownlinkView<V> view, int fromIndex, int toIndex)<V> voidmove(ListDownlinkView<V> view, int fromIndex, int toIndex, Object key)protected voidpushDownEvent(Push<EventMessage> push)<V> Vremove(ListDownlinkView<V> view, int index)<V> Vremove(ListDownlinkView<V> view, int index, Object key)<V> Vset(ListDownlinkView<V> view, int index, V newObject)<V> Vset(ListDownlinkView<V> view, int index, V newObject, Object key)intsize()List<Value>subList(int fromIndex, int toIndex)voidtake(ListDownlinkView<?> view, int upper)Object[]toArray()<V> V[]toArray(V[] array)-
Methods inherited from class swim.runtime.warp.ListDownlinkModem
nextUpQueue, pushUp, queueUp, upQueueIsEmpty
-
Methods inherited from class swim.runtime.warp.WarpDownlinkModel
keepLinked, keepSynced, pullUpCommand, pullUpLink, pullUpSync, pullUpUnlink, pushDownLinked, pushDownSynced, pushDownUnlinked
-
Methods inherited from class swim.runtime.warp.WarpDownlinkModem
accumulateExecTime, body, cellContext, closeDown, collectProfile, command, command, command, command, cueDown, cueUp, didClose, didCloseUp, didConnect, didDisconnect, didFail, didFailUp, didLink, didOpen, didRemoveDownlink, didSync, didUnlink, didUpdateMetrics, feedDown, feedUp, flushMetrics, link, linkContext, linkRequest, linkWrapper, nextUpCue, onCommand, onEvent, openDown, openMetaDownlink, prio, pullUp, pushDown, pushDownUnknown, pushUp, pushUp, queueUp, rate, reportMetrics, setCellContext, setLinkContext, skipDown, sync, syncRequest, unlink, unlinkRequest, willLink, willSync, willUnlink
-
Methods inherited from class swim.runtime.DownlinkModel
addDownlink, removeDownlink, removeDownlinks, reopen
-
Methods inherited from class swim.runtime.AbstractDownlinkBinding
bottomLink, cellAddressDown, cipherSuite, cipherSuiteDown, debug, debugDown, error, errorDown, fail, failDown, hostUri, info, infoDown, isConnected, isConnectedDown, isRemote, isRemoteDown, isSecure, isSecureDown, laneUri, linkKey, localAddress, localAddressDown, localCertificates, localCertificatesDown, localIdentity, localIdentityDown, localPrincipal, localPrincipalDown, meshUri, nodeUri, remoteAddress, remoteAddressDown, remoteCertificates, remoteCertificatesDown, remoteIdentity, remoteIdentityDown, remotePrincipal, remotePrincipalDown, securityProtocol, securityProtocolDown, setHostUri, setNodeUri, trace, traceDown, unwrapLink, warn, warnDown
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface swim.runtime.LinkBinding
bottomLink, cellAddressDown, cipherSuiteDown, debugDown, errorDown, failDown, hostUri, infoDown, isConnectedDown, isRemoteDown, isSecureDown, laneUri, linkKey, localAddressDown, localCertificatesDown, localIdentityDown, localPrincipalDown, meshUri, nodeUri, remoteAddressDown, remoteCertificatesDown, remoteIdentityDown, remotePrincipalDown, reopen, securityProtocolDown, setHostUri, setNodeUri, traceDown, unwrapLink, warnDown
-
-
-
-
Field Detail
-
flags
protected int flags
-
STATEFUL
protected static final int STATEFUL
- See Also:
- Constant Field Values
-
-
Method Detail
-
isStateful
public final boolean isStateful()
-
isStateful
public ListDownlinkModel isStateful(boolean isStateful)
-
pushDownEvent
protected void pushDownEvent(Push<EventMessage> push)
- Overrides:
pushDownEventin classWarpDownlinkModel<ListDownlinkView<?>>
-
didAddDownlink
protected void didAddDownlink(ListDownlinkView<?> view)
- Overrides:
didAddDownlinkin classWarpDownlinkModem<ListDownlinkView<?>>
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
contains
public boolean contains(Object value)
-
indexOf
public int indexOf(Object o)
-
lastIndexOf
public int lastIndexOf(Object o)
-
toArray
public Object[] toArray()
-
toArray
public <V> V[] toArray(V[] array)
-
entryIterator
public ListIterator<Map.Entry<Object,Value>> entryIterator()
-
listIterator
public ListIterator<Value> listIterator()
-
listIterator
public ListIterator<Value> listIterator(int index)
-
keyIterator
public ListIterator<Object> keyIterator()
-
add
public <V> boolean add(ListDownlinkView<V> view, int index, V newObject)
-
add
public <V> boolean add(ListDownlinkView<V> view, int index, V newObject, Object key)
-
set
public <V> V set(ListDownlinkView<V> view, int index, V newObject)
-
set
public <V> V set(ListDownlinkView<V> view, int index, V newObject, Object key)
-
move
public <V> void move(ListDownlinkView<V> view, int fromIndex, int toIndex)
-
move
public <V> void move(ListDownlinkView<V> view, int fromIndex, int toIndex, Object key)
-
remove
public <V> V remove(ListDownlinkView<V> view, int index)
-
remove
public <V> V remove(ListDownlinkView<V> view, int index, Object key)
-
drop
public void drop(ListDownlinkView<?> view, int lower)
-
take
public void take(ListDownlinkView<?> view, int upper)
-
clear
public void clear(ListDownlinkView<?> view)
-
-