public class SortedCollectionLinked<S extends java.lang.Comparable<S>> extends java.lang.Object implements SortedCollection<S>
| Constructor and Description |
|---|
SortedCollectionLinked() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(S newEntry) |
boolean |
contains(S entry) |
java.util.Iterator<S> |
iterator() |
int |
size() |
public java.util.Iterator<S> iterator()
public void add(S newEntry)
add in interface SortedCollection<S extends java.lang.Comparable<S>>public int size()
size in interface SortedCollection<S extends java.lang.Comparable<S>>public boolean contains(S entry)
contains in interface SortedCollection<S extends java.lang.Comparable<S>>