org.planx.util
Class IndexSet<K,V>
java.lang.Object
org.planx.util.IndexSet<K,V>
- All Implemented Interfaces:
- Iterable<V>
public class IndexSet<K,V>
- extends Object
- implements Iterable<V>
IndexSet
public IndexSet()
iterator
public Iterator<V> iterator()
- Specified by:
iterator in interface Iterable<V>
size
public int size()
get
public Set<V> get(K key)
isEmpty
public boolean isEmpty()
contains
public boolean contains(K key)
add
public void add(K key,
V edge)
remove
public void remove(K key,
V edge)
clear
public void clear()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2010. All Rights Reserved.