net.sourceforge.plantuml.graph
Class SortedCollectionLinked<S extends Comparable<S>>

java.lang.Object
  extended by net.sourceforge.plantuml.graph.SortedCollectionLinked<S>
All Implemented Interfaces:
Iterable<S>, SortedCollection<S>

public class SortedCollectionLinked<S extends Comparable<S>>
extends Object
implements SortedCollection<S>


Constructor Summary
SortedCollectionLinked()
           
 
Method Summary
 void add(S newEntry)
           
 boolean contains(S entry)
           
 Iterator<S> iterator()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortedCollectionLinked

public SortedCollectionLinked()
Method Detail

iterator

public Iterator<S> iterator()
Specified by:
iterator in interface Iterable<S extends Comparable<S>>

add

public void add(S newEntry)
Specified by:
add in interface SortedCollection<S extends Comparable<S>>

size

public int size()
Specified by:
size in interface SortedCollection<S extends Comparable<S>>

contains

public boolean contains(S entry)
Specified by:
contains in interface SortedCollection<S extends Comparable<S>>


Copyright © 2011. All Rights Reserved.