- java.lang.Object
- 
- swim.structure.Item
- 
- swim.structure.Value
- 
- swim.structure.Record
- 
- swim.dataflow.AbstractRecordOutlet
- 
- swim.api.downlink.DownlinkRecord
- 
- swim.api.downlink.ListDownlinkRecord
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- Comparable<Item>,- Iterable<Item>,- Collection<Item>,- List<Item>,- Debug,- Display,- RecordOutlet,- MapOutlet<Value,Value,Record>,- Outlet<Record>,- StreamletScope<Value>,- Builder<Item,Record>,- PairBuilder<Value,Value,Record>
 
 public class ListDownlinkRecord extends DownlinkRecord 
- 
- 
Field SummaryFields Modifier and Type Field Description protected ListDownlink<Value>downlink- 
Fields inherited from class swim.dataflow.AbstractRecordOutleteffects, outlets, outputs, version
 
- 
 - 
Constructor SummaryConstructors Constructor Description ListDownlinkRecord(ListDownlink<Value> downlink)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, Item item)booleanadd(Item item)Adds a single input value to this builder, returningtrueif the state of the builder changed.voidclear()booleancontainsKey(String key)Returnstrueif thisRecordhas aFieldmember with a key that is equal to the givenkey; otherwise returnsfalseif thisRecordhas noFieldmember with a key equal to the givenkey.booleancontainsKey(Value key)Returnstrueif thisRecordhas aFieldmember with a key that is equal to the givenkey; otherwise returnsfalseif thisRecordhas noFieldmember with a key equal to the givenkey.ListDownlink<Value>downlink()Itemget(int index)Returns the member of thisRecordat the givenindex, if theindexis greater than or equal to zero, and less than thelengthof thisRecord.Valueget(String key)Valueget(Value key)ValuegetAttr(String key)ValuegetAttr(Text key)ItemgetItem(int index)ValuegetSlot(String key)ValuegetSlot(Value key)booleanisArray()booleanisEmpty()Returnstrueif thisRecordhas no members.booleanisObject()Iterator<Value>keyIterator()Returns anIteratorover the keys in the current state of thisMapOutlet.Valueput(String key, Value newValue)Valueput(Value key, Value newValue)ValueputAttr(String key, Value newValue)ValueputAttr(Text key, Value newValue)ValueputSlot(String key, Value newValue)ValueputSlot(Value key, Value newValue)Itemremove(int index)booleanremoveKey(String key)booleanremoveKey(Value key)ItemsetItem(int index, Item newItem)Replaces the member of thisRecordat the givenindexwith a newitem, returning the previousItemat the givenindex, if theindexis greater than or equal to zero, and less than thelengthof thisRecord.intsize()Returns the number of members contained in thisRecord.- 
Methods inherited from class swim.dataflow.AbstractRecordOutletbindOutput, containsOwnKey, decohereInput, decohereInputKey, didDecohereInput, didDecohereInputKey, didRecohereInput, didRecohereInputKey, disconnectInputs, disconnectOutputs, get, onDecohereInput, onDecohereInputKey, onRecohereInput, onRecohereInputKey, outlet, outlet, outputIterator, recohereInput, recohereInputKey, streamletContext, streamletScope, unbindOutput, unbindOutputs, willDecohereInput, willDecohereInputKey, willRecohereInput, willRecohereInputKey
 - 
Methods inherited from class swim.structure.Recordadd, add, add, add, add, add, add, add, add, add, add, add, add, addAll, addAll, alias, appended, appended, asMutable, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, bind, body, branch, commit, compareTo, compareTo, concat, contains, contains, containsAll, containsValue, create, create, debug, empty, entrySet, equals, evaluate, fieldCount, fieldIterator, fieldSet, flattened, getField, getField, hashCode, head, header, headers, indexOf, isAliased, isConstant, isDefinite, isMutable, item, item, item, item, item, item, item, iterator, keySet, lastIndexOf, length, listIterator, listIterator, of, of, of, prepended, prepended, put, put, put, put, put, put, put, put, put, put, put, put, putAll, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, remove, removeAll, removed, removed, retainAll, set, setItem, setItem, setItem, setItem, setItem, setItem, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, stringValue, stringValue, subList, substitute, tag, tail, target, toArray, toArray, typeOrder, unflattened, updated, updated, updatedAttr, updatedAttr, updatedSlot, updatedSlot, valueCount, valueIterator, values
 - 
Methods inherited from class swim.structure.Valueabsent, and, and, bitwiseAnd, bitwiseAnd, bitwiseNot, bitwiseOr, bitwiseOr, bitwiseXor, bitwiseXor, booleanValue, booleanValue, builder, byteValue, byteValue, charValue, charValue, conditional, conditional, divide, divide, doubleValue, doubleValue, eq, eq, extant, floatValue, floatValue, fromObject, ge, ge, gt, gt, integerValue, integerValue, intValue, intValue, inverse, isDefined, isDistinct, key, keyEquals, lambda, le, le, longValue, longValue, lt, lt, minus, minus, modulo, modulo, ne, ne, negative, not, numberValue, numberValue, or, or, plus, plus, positive, shortValue, shortValue, times, times, toValue
 - 
Methods inherited from class swim.structure.Itemappended, appended, appended, appended, appended, appended, cast, cast, coerce, coerce, display, evaluate, filter, filter, globalScope, invoke, max, min, precedence, prepended, prepended, prepended, prepended, prepended, prepended, substitute, toString, updated, updated, updated, updated, updated, updated, updated, updated, updated, updated, updated, updated, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface java.util.CollectionparallelStream, removeIf, stream, toArray
 - 
Methods inherited from interface java.util.ListreplaceAll, sort, spliterator
 
- 
 
- 
- 
- 
Field Detail- 
downlinkprotected final ListDownlink<Value> downlink 
 
- 
 - 
Constructor Detail- 
ListDownlinkRecordpublic ListDownlinkRecord(ListDownlink<Value> downlink) 
 
- 
 - 
Method Detail- 
downlinkpublic ListDownlink<Value> downlink() - Specified by:
- downlinkin class- DownlinkRecord
 
 - 
isEmptypublic boolean isEmpty() Description copied from class:RecordReturnstrueif thisRecordhas no members.
 - 
isArraypublic boolean isArray() Description copied from class:Record
 - 
isObjectpublic boolean isObject() Description copied from class:Record
 - 
sizepublic int size() Description copied from class:RecordReturns the number of members contained in thisRecord.
 - 
containsKeypublic boolean containsKey(Value key) Description copied from class:RecordReturnstrueif thisRecordhas aFieldmember with a key that is equal to the givenkey; otherwise returnsfalseif thisRecordhas noFieldmember with a key equal to the givenkey.- Specified by:
- containsKeyin interface- MapOutlet<Value,Value,Record>
- Overrides:
- containsKeyin class- Record
 
 - 
containsKeypublic boolean containsKey(String key) Description copied from class:RecordReturnstrueif thisRecordhas aFieldmember with a key that is equal to the givenkey; otherwise returnsfalseif thisRecordhas noFieldmember with a key equal to the givenkey. Equivalent toRecord.containsKey(Value), but avoids boxing thekeystring into aTextvalue.- Overrides:
- containsKeyin class- Record
 
 - 
getpublic Value get(String key) Description copied from class:RecordReturns the value of the lastFieldmember of thisRecordwhose key is equal to the givenkey; returnsAbsentif thisRecordhas noFieldmember with a key equal to the givenkey. Equivalent toRecord.get(Value), but avoids boxing thekeystring into aTextvalue.
 - 
getAttrpublic Value getAttr(String key) Description copied from class:RecordReturns the value of the lastAttrmember of thisRecordwhose key is equal to the givenkey; returnsAbsentif thisRecordhas noAttrmember with a key equal to the givenkey. Equivalent toRecord.getAttr(Text), but avoids boxing thekeystring into aTextvalue.
 - 
getSlotpublic Value getSlot(String key) Description copied from class:RecordReturns the value of the lastSlotmember of thisRecordwhose key is equal to the givenkey; returnsAbsentif thisRecordhas noSlotmember with a key equal to the givenkey. Equivalent toRecord.getSlot(Value), but avoids boxing thekeystring into aTextvalue.
 - 
getpublic Item get(int index) Description copied from class:RecordReturns the member of thisRecordat the givenindex, if theindexis greater than or equal to zero, and less than thelengthof thisRecord.
 - 
setItempublic Item setItem(int index, Item newItem) Description copied from class:RecordReplaces the member of thisRecordat the givenindexwith a newitem, returning the previousItemat the givenindex, if theindexis greater than or equal to zero, and less than thelengthof thisRecord.
 - 
addpublic boolean add(Item item) Description copied from interface:BuilderAdds a single input value to this builder, returningtrueif the state of the builder changed.
 - 
addpublic void add(int index, Item item)
 - 
removepublic Item remove(int index) 
 - 
clearpublic void clear() 
 - 
keyIteratorpublic Iterator<Value> keyIterator() Description copied from interface:MapOutletReturns anIteratorover the keys in the current state of thisMapOutlet.- Specified by:
- keyIteratorin interface- MapOutlet<Value,Value,Record>
- Specified by:
- keyIteratorin class- AbstractRecordOutlet
 
 
- 
 
-