java.lang.Object
swim.structure.Item
swim.structure.Value
swim.structure.Bool
-
Method Summary
Modifier and TypeMethodDescriptionbooleanConverts thisValueinto a primitivebooleanvalue, if possible.booleanbooleanValue(boolean orElse) Converts thisValueinto a primitivebooleanvalue, if possible; otherwise returnsorElseif thisValuecan't be converted into a primitivebooleanvalue.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.<T> Output<T>Writes a human readable, display-formatted string representation of this object tooutput.booleanstatic Boolfrom(boolean value) inthashCode()booleanbooleanReturnstrueif thisValueis not one of: an emptyRecord,False,Extant, orAbsent.not()Converts thisValueinto aStringvalue, if possible.intReturns the heterogeneous sort order of thisItem.Methods inherited from class swim.structure.Value
absent, 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, isDefined, isDistinct, 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, tag, tail, target, times, times, toValue, unflattenedMethods inherited from class swim.structure.Item
appended, appended, appended, appended, appended, appended, appended, appended, cast, cast, coerce, coerce, concat, 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, 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
-
isDefinite
public boolean isDefinite()Description copied from class:ValueReturnstrueif thisValueis not one of: an emptyRecord,False,Extant, orAbsent.- Overrides:
isDefinitein classValue
-
isConstant
public boolean isConstant()Description copied from class:Item- Specified by:
isConstantin classItem
-
stringValue
Description copied from class:ValueConverts thisValueinto aStringvalue, if possible.- Overrides:
stringValuein classValue
-
booleanValue
public boolean booleanValue()Description copied from class:ValueConverts thisValueinto a primitivebooleanvalue, if possible.- Overrides:
booleanValuein classValue
-
booleanValue
public boolean booleanValue(boolean orElse) Description copied from class:ValueConverts thisValueinto a primitivebooleanvalue, if possible; otherwise returnsorElseif thisValuecan't be converted into a primitivebooleanvalue.- Overrides:
booleanValuein classValue
-
conditional
- Overrides:
conditionalin classValue
-
conditional
- Overrides:
conditionalin classValue
-
or
-
or
-
and
-
and
-
not
-
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. -
display
Description copied from interface:DisplayWrites a human readable, display-formatted string representation of this object tooutput. -
from
-