Package net.sourceforge.plantuml.graph
Class SortedCollectionLinked<S extends java.lang.Comparable<S>>
- java.lang.Object
-
- net.sourceforge.plantuml.graph.SortedCollectionLinked<S>
-
- All Implemented Interfaces:
java.lang.Iterable<S>
,SortedCollection<S>
public class SortedCollectionLinked<S extends java.lang.Comparable<S>> extends java.lang.Object implements SortedCollection<S>
-
-
Constructor Summary
Constructors Constructor Description SortedCollectionLinked()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(S newEntry)
boolean
contains(S entry)
java.util.Iterator<S>
iterator()
int
size()
-
-
-
Method Detail
-
iterator
public java.util.Iterator<S> iterator()
-
add
public void add(S newEntry)
- Specified by:
add
in interfaceSortedCollection<S extends java.lang.Comparable<S>>
-
size
public int size()
- Specified by:
size
in interfaceSortedCollection<S extends java.lang.Comparable<S>>
-
contains
public boolean contains(S entry)
- Specified by:
contains
in interfaceSortedCollection<S extends java.lang.Comparable<S>>
-
-