java.lang.Object
swim.structure.Item
swim.structure.Value
swim.structure.Absent
-
Method Summary
Modifier and TypeMethodDescriptionstatic Absentabsent()booleanAlways returnsfalsebecauseAbsentbehaves like a falsey value.booleanbooleanValue(boolean orElse) Always returnsfalsebecauseAbsentbehaves like a falsey value.intconditional(Item thenTerm, Item elseTerm) conditional(Value thenTerm, Value elseTerm) <T> Output<T>Writes a developer readable, debug-formatted string representation of this object tooutput.booleaninthashCode()booleanbooleanAlways returnsfalsebecauseAbsentrepresents an undefined value.booleanAlways returnsfalsebecauseAbsentis not a definite value.booleanAlways returnsfalsebecauseAbsentis not a distinct value.iterator()not()intReturns the heterogeneous sort order of thisItem.Always returns an emptyRecordbecauseAbsentis not a distinct value.updatedAttr(Text key, Value value) updatedSlot(Value key, Value value) Methods inherited from class swim.structure.Value
alias, bitwiseAnd, bitwiseAnd, bitwiseNot, bitwiseOr, bitwiseOr, bitwiseXor, bitwiseXor, body, branch, builder, byteValue, byteValue, charValue, charValue, commit, contains, containsKey, containsKey, containsValue, divide, divide, doubleValue, doubleValue, empty, eq, eq, extant, 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, plus, plus, positive, removed, removed, shortValue, shortValue, stringValue, stringValue, tag, tail, target, times, times, toValueMethods inherited from class swim.structure.Item
appended, appended, appended, appended, appended, appended, cast, cast, coerce, coerce, display, evaluate, evaluate, filter, filter, globalScope, invoke, max, min, precedence, prepended, prepended, prepended, prepended, prepended, prepended, substitute, substitute, toString, 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, 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
-
isDefined
public boolean isDefined()Always returnsfalsebecauseAbsentrepresents an undefined value. -
isDefinite
public boolean isDefinite()Always returnsfalsebecauseAbsentis not a definite value.- Overrides:
isDefinitein classValue
-
isConstant
public boolean isConstant()Description copied from class:Item- Specified by:
isConstantin classItem
-
isDistinct
public boolean isDistinct()Always returnsfalsebecauseAbsentis not a distinct value.- Overrides:
isDistinctin classValue
-
unflattened
Always returns an emptyRecordbecauseAbsentis not a distinct value.- Overrides:
unflattenedin classValue
-
updated
-
updatedAttr
- Overrides:
updatedAttrin classItem
-
updatedSlot
- Overrides:
updatedSlotin classItem
-
appended
-
appended
-
prepended
-
prepended
-
concat
-
conditional
- Overrides:
conditionalin classValue
-
conditional
- Overrides:
conditionalin classValue
-
or
-
or
-
and
-
and
-
not
-
booleanValue
public boolean booleanValue()Always returnsfalsebecauseAbsentbehaves like a falsey value.- Overrides:
booleanValuein classValue
-
booleanValue
public boolean booleanValue(boolean orElse) Always returnsfalsebecauseAbsentbehaves like a falsey value.- Overrides:
booleanValuein classValue
-
iterator
-
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
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput. -
absent
-