|
JML | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JMLValueSequence | |
org.jmlspecs.models | This package is a collection of types with immutable objects; it also enumerators (which have mutable objects) for the types of the immutable collections in the package. |
Uses of JMLValueSequence in org.jmlspecs.models |
Fields in org.jmlspecs.models declared as JMLValueSequence | |
static JMLValueSequence |
JMLValueSequence.EMPTY
The empty JMLValueSequence. |
Methods in org.jmlspecs.models that return JMLValueSequence | |
JMLValueSequence |
JMLValueSet.toSequence()
Return a new JMLValueSequence containing all the elements of this. |
abstract JMLValueSequence |
JMLValueSequenceSpecs.insertAfterIndex(int afterThisOne,
JMLType item)
Return a sequence like this, but with a clone ofitem put immediately after the given index. |
abstract JMLValueSequence |
JMLValueSequenceSpecs.insertBeforeIndex(int beforeThisOne,
JMLType item)
Return a sequence like this, but with a clone of item put immediately before the given index. |
abstract JMLValueSequence |
JMLValueSequenceSpecs.insertBack(JMLType item)
Return a sequence like this, but with a clone of the given item put an the end. |
abstract JMLValueSequence |
JMLValueSequenceSpecs.insertFront(JMLType item)
Return a sequence like this, but with the given item put an the front. |
static JMLValueSequence |
JMLValueSequence.singleton(JMLType e)
Return the singleton sequence containing the given element. |
static JMLValueSequence |
JMLValueSequence.convertFrom(JMLType[] a)
Return the sequence containing all the elements in the given array in the same order as the elements appear in the array. |
static JMLValueSequence |
JMLValueSequence.convertFrom(JMLType[] a,
int size)
Return the sequence containing the first 'size' elements in the given array in the same order as the elements appear in the array. |
static JMLValueSequence |
JMLValueSequence.convertFrom(Collection c)
Return the sequence containing all the value in the given collection in the same order as the elements appear in the collection. |
static JMLValueSequence |
JMLValueSequence.convertFrom(JMLCollection c)
Return the sequence containing all the value in the given JMLCollection in the same order as the elements appear in the collection. |
JMLValueSequence |
JMLValueSequence.prefix(int n)
Return a sequence containing the first n elements in this sequence. |
JMLValueSequence |
JMLValueSequence.removePrefix(int n)
Return a sequence containing all but the first n elements in this. |
JMLValueSequence |
JMLValueSequence.concat(JMLValueSequence s2)
Return a sequence that is the concatenation of this with the given sequence. |
JMLValueSequence |
JMLValueSequence.reverse()
Return a sequence that is the reverse of this sequence. |
JMLValueSequence |
JMLValueSequence.removeItemAt(int index)
Return a sequence like this, but without the element at the given zero-based index. |
JMLValueSequence |
JMLValueSequence.replaceItemAt(int index,
JMLType item)
Return a sequence like this, but with item replacing the element at the given zero-based index. |
JMLValueSequence |
JMLValueSequence.header()
Return a sequence containing all but the last element in this. |
JMLValueSequence |
JMLValueSequence.trailer()
Return a sequence containing all but the first element in this. |
JMLValueSequence |
JMLValueSequence.insertAfterIndex(int afterThisOne,
JMLType item)
Return a sequence like this, but with item put immediately after the given index. |
JMLValueSequence |
JMLValueSequence.insertBeforeIndex(int beforeThisOne,
JMLType item)
Return a sequence like this, but with item put immediately before the given index. |
JMLValueSequence |
JMLValueSequence.insertBack(JMLType item)
Return a sequence like this, but with the given item put an the end. |
JMLValueSequence |
JMLValueSequence.insertFront(JMLType item)
Return a sequence like this, but with the given item put an the front. |
JMLValueSequence |
JMLValueSequence.subsequence(int from,
int to)
Returns a subsequence of this containing the elements beginning with index from (inclusive) and ending with index to (exclusive). |
JMLValueSequence |
JMLValueToValueRelation.toSequence()
Return a sequence containing all associations in this relation. |
JMLValueSequence |
JMLObjectToValueRelation.toSequence()
Return a sequence containing all associations in this relation. |
JMLValueSequence |
JMLValueBag.toSequence()
Return a new JMLValueSequence containing all the elements of this. |
JMLValueSequence |
JMLEqualsToValueRelation.toSequence()
Return a sequence containing all associations in this relation. |
JMLValueSequence |
JMLValueToEqualsRelation.toSequence()
Return a sequence containing all associations in this relation. |
JMLValueSequence |
JMLObjectToEqualsRelation.toSequence()
Return a sequence containing all associations in this relation. |
JMLValueSequence |
JMLValueToObjectRelation.toSequence()
Return a sequence containing all associations in this relation. |
JMLValueSequence |
JMLObjectToObjectRelation.toSequence()
Return a sequence containing all associations in this relation. |
JMLValueSequence |
JMLEqualsToObjectRelation.toSequence()
Return a sequence containing all associations in this relation. |
JMLValueSequence |
JMLEqualsToEqualsRelation.toSequence()
Return a sequence containing all associations in this relation. |
Methods in org.jmlspecs.models with parameters of type JMLValueSequence | |
boolean |
JMLValueSequence.isPrefix(JMLValueSequence s2)
Tells whether the elements of the this sequence occur, in order, at the beginning of the given sequence, using ".equals" for comparisons. |
boolean |
JMLValueSequence.isProperPrefix(JMLValueSequence s2)
Tells whether this sequence is shorter than the given sequence, and also if the elements of this sequence occur, in order, at the beginning of the given sequence, using ".equals" for comparisons. |
boolean |
JMLValueSequence.isSuffix(JMLValueSequence s2)
Tells whether the elements of this sequence occur, in order, at the end of the given sequence, using ".equals" for comparisons. |
boolean |
JMLValueSequence.isProperSuffix(JMLValueSequence s2)
Tells whether the this sequence is shorter than the given object, and also if the elements of this sequence occur, in order, at the end of the given sequence, using ".equals" for comparisons. |
boolean |
JMLValueSequence.isSubsequence(JMLValueSequence s2)
Tells whether this sequence is a subsequence of the given sequence. |
boolean |
JMLValueSequence.isProperSubsequence(JMLValueSequence s2)
Tells whether this sequence is strictly shorter than the given sequence and a subsequence of it. |
boolean |
JMLValueSequence.isSupersequence(JMLValueSequence s2)
Tells whether the given sequence is a supersequence of this sequence. |
boolean |
JMLValueSequence.isProperSupersequence(JMLValueSequence s2)
Tells whether the given sequence is both longer than and a supersequence of this sequence. |
boolean |
JMLValueSequence.isInsertionInto(JMLValueSequence s2,
JMLType elem)
Tells whether this sequence is the result of inserting the given element once into the given sequence. |
boolean |
JMLValueSequence.isDeletionFrom(JMLValueSequence s2,
JMLType elem)
Tells whether this sequence is the result of deleting the given element once from the given sequence. |
JMLValueSequence |
JMLValueSequence.concat(JMLValueSequence s2)
Return a sequence that is the concatenation of this with the given sequence. |
Constructors in org.jmlspecs.models with parameters of type JMLValueSequence | |
JMLValueSequenceEnumerator(JMLValueSequence s)
Initialize this with the given sequence. |
|
JML | ||||||||||
PREV NEXT | FRAMES NO FRAMES |