java.lang.Object
swim.structure.Item
swim.structure.Field
swim.structure.Slot
- All Implemented Interfaces:
Comparable<Item>
,Iterable<Item>
,Map.Entry<Value,
,Value> Debug
,Display
-
Method Summary
Modifier and TypeMethodDescriptionvoid
alias()
bitwiseAnd
(Item that) bitwiseXor
(Item that) branch()
commit()
int
<T> Output<T>
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
evaluate
(Interpreter interpreter) int
hashCode()
inverse()
boolean
boolean
boolean
key()
Returns the key component of thisField
.boolean
negative()
not()
static Slot
static Slot
static Slot
static Slot
static Slot
static Slot
static Slot
static Slot
static Slot
static Slot
static Slot
static Slot
static Slot
static Slot
static Slot
static Slot
positive()
Sets the value of thisField
to the newvalue
, returning the old value.substitute
(Interpreter interpreter) int
Returns the heterogeneous sort order of thisItem
.updatedValue
(Value value) Returns a copy of thisField
with 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, 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 Details
-
isConstant
public boolean isConstant()Description copied from class:Item
- Specified by:
isConstant
in classItem
-
key
Description copied from class:Field
Returns the key component of thisField
. -
value
Description copied from class:Field
Returns the value component of thisField
. -
setValue
Description copied from class:Field
Sets the value of thisField
to the newvalue
, returning the old value. -
updatedValue
Description copied from class:Field
Returns a copy of thisField
with the updatedvalue
.- Specified by:
updatedValue
in classField
-
bitwiseOr
-
bitwiseXor
- Specified by:
bitwiseXor
in classItem
-
bitwiseAnd
- Specified by:
bitwiseAnd
in classItem
-
plus
-
minus
-
times
-
divide
-
modulo
-
not
-
bitwiseNot
- Specified by:
bitwiseNot
in classItem
-
negative
-
positive
-
inverse
-
evaluate
-
substitute
- Overrides:
substitute
in 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:Item
Returns 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:
compareTo
in interfaceComparable<Item>
- Specified by:
compareTo
in classItem
-
keyEquals
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:Debug
Writes 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
-