- java.lang.Object
-
- swim.structure.Item
-
- swim.structure.Value
-
- swim.structure.Record
-
- swim.dataflow.AbstractRecordOutlet
-
- swim.api.downlink.DownlinkRecord
-
- swim.api.downlink.ValueDownlinkRecord
-
- All Implemented Interfaces:
Comparable<swim.structure.Item>,Iterable<swim.structure.Item>,Collection<swim.structure.Item>,List<swim.structure.Item>,swim.codec.Debug,swim.codec.Display,swim.concurrent.Preemptive,swim.dataflow.RecordOutlet,swim.observable.function.DidSet<swim.structure.Value>,swim.streamlet.MapOutlet<swim.structure.Value,swim.structure.Value,swim.structure.Record>,swim.streamlet.Outlet<swim.structure.Record>,swim.streamlet.StreamletScope<swim.structure.Value>,swim.util.Builder<swim.structure.Item,swim.structure.Record>
public class ValueDownlinkRecord extends DownlinkRecord implements swim.observable.function.DidSet<swim.structure.Value>
-
-
Field Summary
Fields Modifier and Type Field Description protected ValueDownlink<swim.structure.Value>downlink
-
Constructor Summary
Constructors Constructor Description ValueDownlinkRecord(ValueDownlink<swim.structure.Value> downlink)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, swim.structure.Item item)booleanadd(swim.structure.Item item)voidclear()booleancontainsKey(String key)booleancontainsKey(swim.structure.Value key)voiddidSet(swim.structure.Value newValue, swim.structure.Value oldValue)ValueDownlink<swim.structure.Value>downlink()swim.structure.Itemget(int index)swim.structure.Valueget(String key)swim.structure.Valueget(swim.structure.Value key)swim.structure.ValuegetAttr(String key)swim.structure.ValuegetAttr(swim.structure.Text key)swim.structure.FieldgetField(String key)swim.structure.FieldgetField(swim.structure.Value key)swim.structure.ItemgetItem(int index)swim.structure.ValuegetSlot(String key)swim.structure.ValuegetSlot(swim.structure.Value key)booleanisArray()booleanisEmpty()booleanisObject()Iterator<swim.structure.Value>keyIterator()swim.structure.Valueput(String key, swim.structure.Value newValue)swim.structure.Valueput(swim.structure.Value key, swim.structure.Value newValue)swim.structure.ValueputAttr(String key, swim.structure.Value newValue)swim.structure.ValueputAttr(swim.structure.Text key, swim.structure.Value newValue)swim.structure.ValueputSlot(String key, swim.structure.Value newValue)swim.structure.ValueputSlot(swim.structure.Value key, swim.structure.Value newValue)swim.structure.Itemremove(int index)booleanremoveKey(String key)booleanremoveKey(swim.structure.Value key)swim.structure.ItemsetItem(int index, swim.structure.Item newItem)intsize()-
Methods inherited from class swim.dataflow.AbstractRecordOutlet
bindOutput, containsOwnKey, didInvalidateInput, didInvalidateInputKey, didReconcileInput, didReconcileInputKey, disconnectInputs, disconnectOutputs, get, invalidateInput, invalidateInputKey, onInvalidateInput, onInvalidateInputKey, onReconcileInput, onReconcileInputKey, outlet, outlet, outputIterator, reconcileInput, reconcileInputKey, streamletContext, streamletScope, unbindOutput, unbindOutputs, willInvalidateInput, willInvalidateInputKey, willReconcileInput, willReconcileInputKey
-
Methods inherited from class swim.structure.Record
add, add, add, add, add, add, add, add, add, add, add, add, addAll, addAll, alias, appended, appended, 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, hashCode, head, header, headers, indexOf, isAliased, isConstant, 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.Value
absent, 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.Item
appended, 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.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
replaceAll, sort, spliterator
-
-
-
-
Field Detail
-
downlink
protected final ValueDownlink<swim.structure.Value> downlink
-
-
Constructor Detail
-
ValueDownlinkRecord
public ValueDownlinkRecord(ValueDownlink<swim.structure.Value> downlink)
-
-
Method Detail
-
downlink
public ValueDownlink<swim.structure.Value> downlink()
- Specified by:
downlinkin classDownlinkRecord
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceCollection<swim.structure.Item>- Specified by:
isEmptyin interfaceList<swim.structure.Item>- Specified by:
isEmptyin classswim.structure.Record
-
isArray
public boolean isArray()
- Overrides:
isArrayin classswim.structure.Record
-
isObject
public boolean isObject()
- Overrides:
isObjectin classswim.structure.Record
-
size
public int size()
- Specified by:
sizein interfaceCollection<swim.structure.Item>- Specified by:
sizein interfaceList<swim.structure.Item>- Specified by:
sizein classswim.structure.Record
-
containsKey
public boolean containsKey(swim.structure.Value key)
- Specified by:
containsKeyin interfaceswim.streamlet.MapOutlet<swim.structure.Value,swim.structure.Value,swim.structure.Record>- Overrides:
containsKeyin classswim.structure.Record
-
containsKey
public boolean containsKey(String key)
- Overrides:
containsKeyin classswim.structure.Record
-
get
public swim.structure.Value get(swim.structure.Value key)
- Specified by:
getin interfaceswim.streamlet.MapOutlet<swim.structure.Value,swim.structure.Value,swim.structure.Record>- Overrides:
getin classswim.structure.Record
-
get
public swim.structure.Value get(String key)
- Overrides:
getin classswim.structure.Record
-
getAttr
public swim.structure.Value getAttr(swim.structure.Text key)
- Overrides:
getAttrin classswim.structure.Record
-
getAttr
public swim.structure.Value getAttr(String key)
- Overrides:
getAttrin classswim.structure.Record
-
getSlot
public swim.structure.Value getSlot(swim.structure.Value key)
- Overrides:
getSlotin classswim.structure.Record
-
getSlot
public swim.structure.Value getSlot(String key)
- Overrides:
getSlotin classswim.structure.Record
-
getField
public swim.structure.Field getField(swim.structure.Value key)
- Overrides:
getFieldin classswim.structure.Record
-
getField
public swim.structure.Field getField(String key)
- Overrides:
getFieldin classswim.structure.Record
-
get
public swim.structure.Item get(int index)
-
getItem
public swim.structure.Item getItem(int index)
- Specified by:
getItemin classswim.structure.Record
-
put
public swim.structure.Value put(swim.structure.Value key, swim.structure.Value newValue)- Overrides:
putin classswim.structure.Record
-
put
public swim.structure.Value put(String key, swim.structure.Value newValue)
- Overrides:
putin classswim.structure.Record
-
putAttr
public swim.structure.Value putAttr(swim.structure.Text key, swim.structure.Value newValue)- Overrides:
putAttrin classswim.structure.Record
-
putAttr
public swim.structure.Value putAttr(String key, swim.structure.Value newValue)
- Overrides:
putAttrin classswim.structure.Record
-
putSlot
public swim.structure.Value putSlot(swim.structure.Value key, swim.structure.Value newValue)- Overrides:
putSlotin classswim.structure.Record
-
putSlot
public swim.structure.Value putSlot(String key, swim.structure.Value newValue)
- Overrides:
putSlotin classswim.structure.Record
-
setItem
public swim.structure.Item setItem(int index, swim.structure.Item newItem)- Specified by:
setItemin classswim.structure.Record
-
add
public boolean add(swim.structure.Item item)
- Specified by:
addin interfaceswim.util.Builder<swim.structure.Item,swim.structure.Record>- Specified by:
addin interfaceCollection<swim.structure.Item>- Specified by:
addin interfaceList<swim.structure.Item>- Specified by:
addin classswim.structure.Record
-
add
public void add(int index, swim.structure.Item item)
-
remove
public swim.structure.Item remove(int index)
-
removeKey
public boolean removeKey(swim.structure.Value key)
- Overrides:
removeKeyin classswim.structure.Record
-
removeKey
public boolean removeKey(String key)
- Overrides:
removeKeyin classswim.structure.Record
-
clear
public void clear()
- Specified by:
clearin interfaceCollection<swim.structure.Item>- Specified by:
clearin interfaceList<swim.structure.Item>- Specified by:
clearin classswim.structure.Record
-
keyIterator
public Iterator<swim.structure.Value> keyIterator()
- Specified by:
keyIteratorin interfaceswim.streamlet.MapOutlet<swim.structure.Value,swim.structure.Value,swim.structure.Record>- Specified by:
keyIteratorin classswim.dataflow.AbstractRecordOutlet
-
didSet
public void didSet(swim.structure.Value newValue, swim.structure.Value oldValue)- Specified by:
didSetin interfaceswim.observable.function.DidSet<swim.structure.Value>
-
-