public class StringTokenizeOperation extends AbstractPolyOperation
LibraryUnaryOperation.LibraryUnaryOperationExtension
LibraryBinaryOperation.LibraryBinaryOperationExtension
LibraryTernaryOperation.LibraryTernaryOperationExtension
LibraryOperation.LibraryOperationExtension, LibraryOperation.LibraryOperationExtension2
Modifier and Type | Field and Description |
---|---|
static StringTokenizeOperation |
INSTANCE |
EMPTY_BAG, EMPTY_SET, FALSE_VALUE, INTEGER_MAX_VALUE, INTEGER_MIN_VALUE, INVALID_VALUE, LONG_MAX_VALUE, LONG_MIN_VALUE, NULL_STRING, NULL_VALUE, ONE_VALUE, TRUE_VALUE, UNLIMITED_ONE_VALUE, UNLIMITED_VALUE, ZERO_VALUE
Constructor and Description |
---|
StringTokenizeOperation() |
Modifier and Type | Method and Description |
---|---|
Object |
basicEvaluate(Executor executor,
TypedElement caller,
Object[] sourceAndArgumentValues)
Return the evaluation from sourceAndArgumentValues using the executor for context wrt a caller.
|
Object |
dispatch(Executor executor,
OperationCallExp callExp,
Object sourceValue)
Return the result of evaluating callExp and its arguments upon sourceValue within the environment
provided by evaluator.
|
SequenceValue |
evaluate(Evaluator evaluator,
TypeId returnTypeId,
Object sourceValue)
Deprecated.
use Executor
|
SequenceValue |
evaluate(Evaluator evaluator,
TypeId returnTypeId,
Object sourceValue,
Object argumentValue)
Deprecated.
use Executor
|
SequenceValue |
evaluate(Evaluator evaluator,
TypeId returnTypeId,
Object sourceValue,
Object firstArgumentValue,
Object secondArgumentValue)
Deprecated.
use Executor
|
Object |
evaluate(Executor executor,
TypedElement caller,
Object[] boxedSourceAndArgumentValues)
Return the evaluation from sourceAndArgumentValues using the executor for context wrt a caller.
|
SequenceValue |
evaluate(Executor executor,
TypeId returnTypeId,
Object sourceValue)
Return the result of evaluating the operation on an argument.
|
SequenceValue |
evaluate(Executor executor,
TypeId returnTypeId,
Object sourceValue,
Object argumentValue) |
SequenceValue |
evaluate(Executor executor,
TypeId returnTypeId,
Object sourceValue,
Object firstArgumentValue,
Object secondArgumentValue)
Return the result of evaluating the operation on source with arg1 and arg2.
|
dispatch
asBagValue, asBoolean, asClass, asCollectionType, asCollectionValue, asInteger, asIntegerValue, asMapType, asMapValue, asNavigableObject, asNavigableObject, asObject, asOrderedCollectionValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asString, asTupleValue, asType, asUniqueCollectionValue, asUnlimitedNaturalValue, asValue, bigDecimalValueOf, bigIntegerValueOf, byteValueOf, characterValueOf, computeCollectionHashCode, createBagAccumulatorValue, createBagOfEach, createBagRange, createBagValue, createCollectionAccumulatorValue, createInvalidValue, createMapEntry, createMapOfEach, createMapValue, createObjectValue, createOrderedSetAccumulatorValue, createOrderedSetOfEach, createOrderedSetRange, createOrderedSetValue, createRange, createSequenceAccumulatorValue, createSequenceOfEach, createSequenceRange, createSequenceRange, createSequenceValue, createSetAccumulatorValue, createSetOfEach, createSetRange, createSetValue, createTupleOfEach, createTupleValue, doubleValueOf, floatValueOf, getElementIdName, getExecutor, getTypeName, initAllStatics, integerValueOf, integerValueOf, integerValueOf, integerValueOf, integerValueOf, intValueOf, isBoxed, isCollectionValue, isEcore, isIntegerNumber, isIntegerValue, isRealNumber, isUnboxed, isUnlimited, longValueOf, numberValueOf, oclToString, realValueOf, realValueOf, realValueOf, realValueOf, realValueOf, shortValueOf, stringValueOf, throwBooleanInvalidValueException, throwInvalidValueException, throwUnsupportedCompareTo, toString, typedIterable, unlimitedNaturalValueOf, unlimitedNaturalValueOf, unlimitedNaturalValueOf, unlimitedNaturalValueOf, unlimitedNaturalValueOf
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispatch
public static final StringTokenizeOperation INSTANCE
public Object dispatch(Executor executor, OperationCallExp callExp, Object sourceValue)
LibraryOperation.LibraryOperationExtension
This invocation evaluates the arguments as required. Derived implementations may implement short circuit processing to skip redundant evaluation of later arguments.
Invocations may bypass dispatch if a derived LibraryOperation such as LibrarySimpleBinaryOperation makes its internal evaluate signature available for use after a type test and cast.
dispatch
in interface LibraryOperation.LibraryOperationExtension
dispatch
in class AbstractPolyOperation
@Deprecated public SequenceValue evaluate(Evaluator evaluator, TypeId returnTypeId, Object sourceValue)
evaluate
in interface LibraryUnaryOperation
evaluate
in class AbstractPolyOperation
public SequenceValue evaluate(Executor executor, TypeId returnTypeId, Object sourceValue)
LibraryUnaryOperation.LibraryUnaryOperationExtension
@Deprecated public SequenceValue evaluate(Evaluator evaluator, TypeId returnTypeId, Object sourceValue, Object argumentValue)
evaluate
in interface LibraryBinaryOperation
evaluate
in class AbstractPolyOperation
public SequenceValue evaluate(Executor executor, TypeId returnTypeId, Object sourceValue, Object argumentValue)
@Deprecated public SequenceValue evaluate(Evaluator evaluator, TypeId returnTypeId, Object sourceValue, Object firstArgumentValue, Object secondArgumentValue)
evaluate
in interface LibraryTernaryOperation
evaluate
in class AbstractPolyOperation
public SequenceValue evaluate(Executor executor, TypeId returnTypeId, Object sourceValue, Object firstArgumentValue, Object secondArgumentValue)
LibraryTernaryOperation.LibraryTernaryOperationExtension
public Object evaluate(Executor executor, TypedElement caller, Object[] boxedSourceAndArgumentValues)
AbstractOperation
evaluate
in interface LibraryOperation.LibraryOperationExtension2
evaluate
in class AbstractPolyOperation
public Object basicEvaluate(Executor executor, TypedElement caller, Object[] sourceAndArgumentValues)
AbstractOperation
basicEvaluate
in interface LibraryOperation.LibraryOperationExtension2
basicEvaluate
in class AbstractOperation
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.