java.lang.Object
swim.structure.Item
swim.structure.Field
swim.structure.Attr
- All Implemented Interfaces:
Comparable<Item>,Iterable<Item>,Map.Entry<Value,,Value> Debug,Display
-
Method Summary
Modifier and TypeMethodDescriptionvoidalias()bitwiseAnd(Item that) bitwiseXor(Item that) branch()commit()int<T> Output<T>Writes a developer readable, debug-formatted string representation of this object tooutput.booleanevaluate(Interpreter interpreter) inthashCode()inverse()booleanbooleanbooleankey()Returns the key component of thisField.booleanname()negative()not()static Attrstatic Attrstatic Attrstatic Attrstatic Attrstatic Attrstatic Attrstatic Attrstatic Attrstatic Attrstatic Attrstatic Attrstatic Attrstatic Attrstatic Attrstatic Attrpositive()Sets the value of thisFieldto the newvalue, returning the old value.substitute(Interpreter interpreter) intReturns the heterogeneous sort order of thisItem.updatedValue(Value value) Returns a copy of thisFieldwith the updatedvalue.value()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, unflattenedMethods 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, updatedSlotMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
isConstant
public boolean isConstant()Description copied from class:Item- Specified by:
isConstantin classItem
-
name
-
key
Description copied from class:FieldReturns the key component of thisField. -
value
Description copied from class:FieldReturns the value component of thisField. -
setValue
Description copied from class:FieldSets the value of thisFieldto the newvalue, returning the old value. -
updatedValue
Description copied from class:FieldReturns a copy of thisFieldwith the updatedvalue.- Specified by:
updatedValuein classField
-
bitwiseOr
-
bitwiseXor
- Specified by:
bitwiseXorin classItem
-
bitwiseAnd
- Specified by:
bitwiseAndin classItem
-
plus
-
minus
-
times
-
divide
-
modulo
-
not
-
bitwiseNot
- Specified by:
bitwiseNotin classItem
-
negative
-
positive
-
inverse
-
evaluate
-
substitute
- Overrides:
substitutein classItem
-
isAliased
public boolean isAliased() -
isMutable
public boolean isMutable() -
alias
public void alias() -
branch
-
commit
Description copied from class:Item -
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
- Specified by:
compareToin interfaceComparable<Item>- Specified by:
compareToin classItem
-
keyEquals
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput. -
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-