|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ocl.examples.domain.values.util.ValuesUtil
org.eclipse.ocl.examples.domain.library.AbstractFeature
org.eclipse.ocl.examples.domain.library.AbstractOperation
org.eclipse.ocl.examples.domain.library.AbstractUnaryOperation
org.eclipse.ocl.examples.domain.library.AbstractUntypedUnaryOperation
org.eclipse.ocl.examples.domain.library.AbstractSimpleUnaryOperation
org.eclipse.ocl.examples.library.string.StringToIntegerOperation
public class StringToIntegerOperation
StringToIntegerOperation realises the String::toInteger() library operation.
Field Summary | |
---|---|
static StringToIntegerOperation |
INSTANCE
|
Fields inherited from class org.eclipse.ocl.examples.domain.values.util.ValuesUtil |
---|
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_VALUE, ZERO_VALUE |
Constructor Summary | |
---|---|
StringToIntegerOperation()
|
Method Summary | |
---|---|
IntegerValue |
evaluate(java.lang.Object sourceVal)
|
Methods inherited from class org.eclipse.ocl.examples.domain.library.AbstractSimpleUnaryOperation |
---|
dispatch, evaluate, evaluate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@NonNull public static final StringToIntegerOperation INSTANCE
Constructor Detail |
---|
public StringToIntegerOperation()
Method Detail |
---|
@NonNull public IntegerValue evaluate(@Nullable java.lang.Object sourceVal)
evaluate
in interface LibrarySimpleUnaryOperation
evaluate
in class AbstractSimpleUnaryOperation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |