- java.lang.Object
-
- swim.structure.Item
-
- swim.structure.Field
-
- swim.structure.Slot
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidalias()ItembitwiseAnd(Item that)ItembitwiseNot()ItembitwiseOr(Item that)ItembitwiseXor(Item that)Slotbranch()Slotcommit()intcompareTo(Item other)<T> Output<T>debug(Output<T> output)Writes a developer readable, debug-formatted string representation of this object tooutput.Itemdivide(Item that)booleanequals(Object other)Itemevaluate(Interpreter interpreter)inthashCode()Iteminverse()booleanisAliased()booleanisConstant()booleanisMutable()Valuekey()Returns the key component of thisField.booleankeyEquals(Object key)Itemminus(Item that)Itemmodulo(Item that)Itemnegative()Itemnot()static Slotof(String key)static Slotof(String key, boolean value)static Slotof(String key, double value)static Slotof(String key, float value)static Slotof(String key, int value)static Slotof(String key, long value)static Slotof(String key, String value)static Slotof(String key, Value value)static Slotof(Value key)static Slotof(Value key, boolean value)static Slotof(Value key, double value)static Slotof(Value key, float value)static Slotof(Value key, int value)static Slotof(Value key, long value)static Slotof(Value key, String value)static Slotof(Value key, Value value)Itemplus(Item that)Itempositive()ValuesetValue(Value newValue)Sets the value of thisFieldto the newvalue, returning the old value.Itemsubstitute(Interpreter interpreter)Itemtimes(Item that)inttypeOrder()Returns the heterogeneous sort order of thisItem.SlotupdatedValue(Value value)Returns a copy of thisFieldwith the updatedvalue.Valuevalue()Returns the value component of thisField.-
Methods inherited from class swim.structure.Field
and, and, body, booleanValue, booleanValue, byteValue, byteValue, charValue, charValue, conditional, conditional, contains, containsKey, containsKey, containsValue, doubleValue, doubleValue, flattened, floatValue, floatValue, get, get, getAttr, getAttr, getField, getField, getItem, getKey, getSlot, getSlot, getValue, head, header, headers, integerValue, integerValue, intValue, intValue, isDefined, isDefinite, isDistinct, lambda, length, longValue, longValue, numberValue, numberValue, of, or, or, removed, removed, shortValue, shortValue, stringValue, stringValue, tag, tail, target, toValue, unflattened
-
Methods inherited from class swim.structure.Item
absent, appended, appended, appended, appended, appended, appended, appended, appended, cast, cast, coerce, coerce, concat, display, empty, eq, evaluate, extant, filter, filter, fromObject, ge, globalScope, gt, invoke, iterator, le, lt, max, min, ne, precedence, prepended, prepended, prepended, prepended, prepended, prepended, prepended, prepended, substitute, toString, updated, updated, updated, updated, updated, updated, updated, updated, updated, updated, updated, updated, updated, updated, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedSlot, updatedSlot, 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.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
isConstant
public boolean isConstant()
Description copied from class:Item- Specified by:
isConstantin classItem
-
key
public Value key()
Description copied from class:FieldReturns the key component of thisField.
-
value
public Value value()
Description copied from class:FieldReturns the value component of thisField.
-
setValue
public Value setValue(Value newValue)
Description copied from class:FieldSets the value of thisFieldto the newvalue, returning the old value.
-
updatedValue
public Slot updatedValue(Value value)
Description copied from class:FieldReturns a copy of thisFieldwith the updatedvalue.- Specified by:
updatedValuein classField
-
bitwiseXor
public Item bitwiseXor(Item that)
- Specified by:
bitwiseXorin classItem
-
bitwiseAnd
public Item bitwiseAnd(Item that)
- Specified by:
bitwiseAndin classItem
-
bitwiseNot
public Item bitwiseNot()
- Specified by:
bitwiseNotin classItem
-
evaluate
public Item evaluate(Interpreter interpreter)
-
substitute
public Item substitute(Interpreter interpreter)
- Overrides:
substitutein classItem
-
typeOrder
public int typeOrder()
Description copied from class:ItemReturns the heterogeneous sort order of thisItem. Used to impose a total order on the set of all items. When comparing two items of different types, the items order according to theirtypeOrder.
-
compareTo
public int compareTo(Item other)
- Specified by:
compareToin interfaceComparable<Item>- Specified by:
compareToin classItem
-
equals
public boolean equals(Object other)
-
hashCode
public int hashCode()
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
-