public class SMOset extends java.lang.Object implements java.io.Serializable, RevisionHandler
Constructor and Description |
---|
SMOset(int size)
Creates a new set of the given size.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(int index)
Checks whether an element is in the set.
|
void |
delete(int index)
Deletes an element from the set.
|
int |
getNext(int index)
Gets the next element in the set.
|
java.lang.String |
getRevision()
Returns the revision string.
|
void |
insert(int index)
Inserts an element into the set.
|
int |
numElements()
Returns the number of elements in the set.
|
void |
printElements()
Prints all the current elements in the set.
|
public boolean contains(int index)
public void delete(int index)
public void insert(int index)
public int getNext(int index)
public void printElements()
public int numElements()
public java.lang.String getRevision()
getRevision
in interface RevisionHandler