- java.lang.Object
-
- swim.structure.Item
-
- swim.structure.Value
-
- swim.structure.Extant
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbooleanValue()Always returnstruebecauseExtantbehaves like a truthy value.booleanbooleanValue(boolean orElse)Always returnstruebecauseExtantbehaves like a truthy value.intcompareTo(Item other)<T> Output<T>debug(Output<T> output)Writes a developer readable, debug-formatted string representation of this object tooutput.booleanequals(Object other)static Extantextant()inthashCode()booleanisConstant()booleanisDefined()Always returnstruebecauseExtantis a defined value.booleanisDefinite()Always returnsfalsebecauseExtantis not a definite value.booleanisDistinct()Always returnsfalsebecauseExtantis not a distinct value.Valuenot()StringstringValue()Always returns the emptyStringbecauseExtantbehaves like an emptyRecord, which converts to aStringby concatenating the string values of all its members, if all its members convert to string values.StringstringValue(String orElse)Always returns the emptyStringbecauseExtantbehaves like an emptyRecord, which converts to aStringby concatenating the string values of all its members, if all its members convert to string values.inttypeOrder()Returns the heterogeneous sort order of thisItem.Recordunflattened()Always returns an emptyRecordbecauseExtantis 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 Detail
-
isDefined
public boolean isDefined()
Always returnstruebecauseExtantis a defined value.
-
isDistinct
public boolean isDistinct()
Always returnsfalsebecauseExtantis not a distinct value.- Overrides:
isDistinctin classValue
-
isDefinite
public boolean isDefinite()
Always returnsfalsebecauseExtantis not a definite value.- Overrides:
isDefinitein classValue
-
isConstant
public boolean isConstant()
Description copied from class:Item- Specified by:
isConstantin classItem
-
unflattened
public Record unflattened()
Always returns an emptyRecordbecauseExtantis not a distinct value.- Overrides:
unflattenedin classValue
-
stringValue
public String stringValue()
Always returns the emptyStringbecauseExtantbehaves like an emptyRecord, which converts to aStringby concatenating the string values of all its members, if all its members convert to string values.- Overrides:
stringValuein classValue
-
stringValue
public String stringValue(String orElse)
Always returns the emptyStringbecauseExtantbehaves like an emptyRecord, which converts to aStringby concatenating the string values of all its members, if all its members convert to string values.- Overrides:
stringValuein classValue
-
booleanValue
public boolean booleanValue()
Always returnstruebecauseExtantbehaves like a truthy value.- Overrides:
booleanValuein classValue
-
booleanValue
public boolean booleanValue(boolean orElse)
Always returnstruebecauseExtantbehaves like a truthy value.- Overrides:
booleanValuein classValue
-
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
-
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.
-
extant
public static Extant extant()
-
-