org.eclipse.ocl.examples.pivot.values
Interface OrderedCollectionValue
- All Superinterfaces:
- CollectionValue, java.lang.Iterable<Value>, Value
- All Known Subinterfaces:
- InvalidValue, NullValue, OrderedSetValue, SequenceValue
- All Known Implementing Classes:
- AbstractSequenceValue, AbstractUndefinedCollectionValue, AbstractUndefinedValue, IntegerRangeValueImpl, InvalidValueImpl, NullValueImpl, OCLConsolePage.ExceptionValue, OrderedSetValueImpl, OrderedSetValueImpl.Accumulator, SequenceValueImpl, SequenceValueImpl.Accumulator
public interface OrderedCollectionValue
- extends CollectionValue
Fields inherited from interface org.eclipse.ocl.examples.pivot.values.Value |
INVALID_NAME |
Methods inherited from interface org.eclipse.ocl.examples.pivot.values.CollectionValue |
asCollection, asList, count, excludes, excludesAll, excluding, flatten, flatten, getKind, includes, includesAll, including, intersection, intSize, isEmpty, iterator, maxMin, notEmpty, product, size, sort, sum, toOrderedCollectionValue, union |
Methods inherited from interface org.eclipse.ocl.examples.pivot.values.Value |
asBagValue, asBoolean, asBooleanValue, asCollectionValue, asDouble, asElement, asElementValue, asInteger, asIntegerValue, asObject, asObjectValue, asOrderedCollectionValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asString, asStringValue, asTypeValue, asUniqueCollectionValue, asValidValue, getType, getValueFactory, isCollectionValue, isFalse, isIntegerValue, isInvalid, isNull, isRealValue, isTrue, isUndefined, isUnlimited, isUnlimitedNatural, oclToString, toIntegerValue, toRealValue, toString |
append
OrderedCollectionValue append(Value object)
throws InvalidValueException
- Throws:
InvalidValueException
at
Value at(int index)
throws InvalidValueException
- Throws:
InvalidValueException
first
Value first()
throws InvalidValueException
- Throws:
InvalidValueException
insertAt
OrderedCollectionValue insertAt(int index,
Value object)
throws InvalidValueException
- Throws:
InvalidValueException
indexOf
IntegerValue indexOf(Value object)
throws InvalidValueException
- Throws:
InvalidValueException
last
Value last()
throws InvalidValueException
- Throws:
InvalidValueException
prepend
OrderedCollectionValue prepend(Value object)
throws InvalidValueException
- Throws:
InvalidValueException
reverse
OrderedCollectionValue reverse()
throws InvalidValueException
- Throws:
InvalidValueException