public class SortedCollectionLinked<S extends Comparable<S>> extends Object implements SortedCollection<S>
Constructor and Description |
---|
SortedCollectionLinked() |
Modifier and Type | Method and Description |
---|---|
void |
add(S newEntry) |
boolean |
contains(S entry) |
Iterator<S> |
iterator() |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public Iterator<S> iterator()
iterator
in interface Iterable<S extends Comparable<S>>
public void add(S newEntry)
add
in interface SortedCollection<S extends Comparable<S>>
public int size()
size
in interface SortedCollection<S extends Comparable<S>>
public boolean contains(S entry)
contains
in interface SortedCollection<S extends Comparable<S>>
Copyright © 2015. All Rights Reserved.