java.lang.Object
swim.structure.Item
swim.structure.Value
swim.structure.Expression
swim.structure.Operator
swim.structure.operator.BinaryOperator
swim.structure.operator.AndOperator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int<T> Output<T>Writes a developer readable, debug-formatted string representation of this object tooutput.booleanevaluate(Interpreter interpreter) inthashCode()operator()Returns the token that identifiers thisOperator's operation.intsubstitute(Interpreter interpreter) intReturns the heterogeneous sort order of thisItem.Methods inherited from class swim.structure.operator.BinaryOperator
isConstant, lhs, rhsMethods inherited from class swim.structure.Expression
and, and, bitwiseAnd, bitwiseAnd, bitwiseNot, bitwiseOr, bitwiseOr, bitwiseXor, bitwiseXor, conditional, conditional, divide, divide, eq, eq, ge, ge, gt, gt, inverse, le, le, lt, lt, minus, minus, modulo, modulo, ne, ne, negative, not, or, or, plus, plus, positive, times, timesMethods inherited from class swim.structure.Value
absent, alias, body, booleanValue, booleanValue, branch, builder, byteValue, byteValue, charValue, charValue, commit, contains, containsKey, containsKey, containsValue, doubleValue, doubleValue, empty, extant, flattened, floatValue, floatValue, fromObject, get, get, getAttr, getAttr, getField, getField, getItem, getSlot, getSlot, head, header, headers, integerValue, integerValue, intValue, intValue, isAliased, isDefined, isDefinite, isDistinct, isMutable, key, keyEquals, lambda, length, longValue, longValue, numberValue, numberValue, removed, removed, shortValue, shortValue, stringValue, stringValue, tag, tail, target, toValue, unflattenedMethods inherited from class swim.structure.Item
appended, appended, appended, appended, appended, appended, appended, appended, cast, cast, coerce, coerce, concat, display, evaluate, filter, filter, globalScope, invoke, iterator, max, min, 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, updatedSlotMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
AndOperator
-
-
Method Details
-
operator
Description copied from class:BinaryOperatorReturns the token that identifiers thisOperator's operation. Used to uniquely identify the type of operation, and to aid serialization.- Specified by:
operatorin classBinaryOperator
-
precedence
public int precedence()- Overrides:
precedencein classItem
-
evaluate
-
substitute
- Overrides:
substitutein classItem
-
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
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-