org.inxar.syntacs.util
Interface IntRelation

All Known Implementing Classes:
HashBitSetIntRelation, TreeListIntRelation

public interface IntRelation

A IntRelation is a mapping from int to IntSet.


Method Summary
 IntSet get(int key)
          Returns the set under the given key.
 boolean isEmpty()
          Returns true if the set of keys is the empty set.
 IntSet keys()
          Returns the set of keys.
 void put(int key, int value)
          Puts the given value in the set under the given key.
 Reiterator reiterator()
          Returns a Reiterator view.
 void set(int key, IntSet values)
          Assigns the given set to the given key.
 

Method Detail

keys

public IntSet keys()
Returns the set of keys.

get

public IntSet get(int key)
Returns the set under the given key.

put

public void put(int key,
                int value)
Puts the given value in the set under the given key.

set

public void set(int key,
                IntSet values)
Assigns the given set to the given key.

isEmpty

public boolean isEmpty()
Returns true if the set of keys is the empty set.

reiterator

public Reiterator reiterator()
Returns a Reiterator view.