dk.brics.string.util
Class SubsetIndexer<E>

java.lang.Object
  extended by dk.brics.string.util.SubsetIndexer<E>
All Implemented Interfaces:
Indexer<E>

public final class SubsetIndexer<E>
extends Object
implements Indexer<E>


Constructor Summary
SubsetIndexer(Set<E> set, Indexer<E> indexer)
           
 
Method Summary
 int getHighestIndex()
           
 int getIndex(E object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubsetIndexer

public SubsetIndexer(Set<E> set,
                     Indexer<E> indexer)
Method Detail

getHighestIndex

public int getHighestIndex()
Specified by:
getHighestIndex in interface Indexer<E>

getIndex

public int getIndex(E object)
Specified by:
getIndex in interface Indexer<E>


Copyright © 2003-2009 Anders Møller, Aske Simon Christensen, Asger Feldthaus.