Method Summary |
|
abstract public Object | clone() Return a clone of this object, making clones of any contained
objects in the sequence. |
abstract public int | count(JMLType elem) Tell many times the argument occurs ".equals" to one of the
values in this sequence. |
public int | count(Object elem) Tell many times the argument occurs ".equals" to one of the
values in the bag. |
abstract public JMLType | first() Return a clone of the first element in this sequence. |
abstract public boolean | has(JMLType elem) Is the argument ".equals" to one of the values in this sequence. |
public boolean | has(Object elem) Is the argument ".equals" to one of the values in this sequence. |
abstract public JMLValueSequence | insertAfterIndex(int afterThisOne, JMLType item) Return a sequence like this, but with a clone ofitem put
immediately after the given index. |
abstract public JMLValueSequence | insertBack(JMLType item) Return a sequence like this, but with a clone of the given
item put an the end.
Parameters: item - the item to put at the end of the result. |
abstract public JMLValueSequence | insertBeforeIndex(int beforeThisOne, JMLType item) Return a sequence like this, but with a clone of item put immediately
before the given index. |
abstract public JMLValueSequence | insertFront(JMLType item) Return a sequence like this, but with the given item put an the front.
Parameters: item - the item to put at the front of the result. |
abstract public int | int_length() This sequence's length. |
abstract public JMLType | itemAt(int i) Return a clone of the element at the given zero-based index. |
abstract public JMLType | last() Return a clone of the last element in this sequence. |