java.lang.Object
swim.structure.Item
swim.structure.Value
swim.structure.Extant
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Always returnstrue
becauseExtant
behaves like a truthy value.boolean
booleanValue
(boolean orElse) Always returnstrue
becauseExtant
behaves like a truthy value.int
<T> Output<T>
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
static Extant
extant()
int
hashCode()
boolean
boolean
Always returnstrue
becauseExtant
is a defined value.boolean
Always returnsfalse
becauseExtant
is not a definite value.boolean
Always returnsfalse
becauseExtant
is not a distinct value.not()
Always returns the emptyString
becauseExtant
behaves like an emptyRecord
, which converts to aString
by concatenating the string values of all its members, if all its members convert to string values.stringValue
(String orElse) Always returns the emptyString
becauseExtant
behaves like an emptyRecord
, which converts to aString
by concatenating the string values of all its members, if all its members convert to string values.int
Returns the heterogeneous sort order of thisItem
.Always returns an emptyRecord
becauseExtant
is not a distinct value.Methods inherited from class swim.structure.Value
absent, alias, and, and, bitwiseAnd, bitwiseAnd, bitwiseNot, bitwiseOr, bitwiseOr, bitwiseXor, bitwiseXor, body, branch, builder, byteValue, byteValue, charValue, charValue, commit, conditional, conditional, contains, containsKey, containsKey, containsValue, divide, divide, doubleValue, doubleValue, empty, eq, eq, flattened, floatValue, floatValue, fromObject, ge, ge, get, get, getAttr, getAttr, getField, getField, getItem, getSlot, getSlot, gt, gt, head, header, headers, integerValue, integerValue, intValue, intValue, inverse, isAliased, isMutable, key, keyEquals, lambda, le, le, length, longValue, longValue, lt, lt, minus, minus, modulo, modulo, ne, ne, negative, numberValue, numberValue, or, or, plus, plus, positive, removed, removed, shortValue, shortValue, tag, tail, target, times, times, toValue
Methods inherited from class swim.structure.Item
appended, appended, appended, appended, appended, appended, appended, appended, cast, cast, coerce, coerce, concat, display, evaluate, evaluate, filter, filter, globalScope, invoke, iterator, max, min, precedence, prepended, prepended, prepended, prepended, prepended, prepended, prepended, prepended, substitute, 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
-
isDefined
public boolean isDefined()Always returnstrue
becauseExtant
is a defined value. -
isDistinct
public boolean isDistinct()Always returnsfalse
becauseExtant
is not a distinct value.- Overrides:
isDistinct
in classValue
-
isDefinite
public boolean isDefinite()Always returnsfalse
becauseExtant
is not a definite value.- Overrides:
isDefinite
in classValue
-
isConstant
public boolean isConstant()Description copied from class:Item
- Specified by:
isConstant
in classItem
-
unflattened
Always returns an emptyRecord
becauseExtant
is not a distinct value.- Overrides:
unflattened
in classValue
-
not
-
stringValue
Always returns the emptyString
becauseExtant
behaves like an emptyRecord
, which converts to aString
by concatenating the string values of all its members, if all its members convert to string values.- Overrides:
stringValue
in classValue
-
stringValue
Always returns the emptyString
becauseExtant
behaves like an emptyRecord
, which converts to aString
by concatenating the string values of all its members, if all its members convert to string values.- Overrides:
stringValue
in classValue
-
booleanValue
public boolean booleanValue()Always returnstrue
becauseExtant
behaves like a truthy value.- Overrides:
booleanValue
in classValue
-
booleanValue
public boolean booleanValue(boolean orElse) Always returnstrue
becauseExtant
behaves like a truthy value.- Overrides:
booleanValue
in classValue
-
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
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
. -
extant
-