org.getopt.luke
Class Ranges

java.lang.Object
  extended by org.apache.lucene.search.DocIdSet
      extended by org.apache.lucene.util.OpenBitSet
          extended by org.getopt.luke.Ranges
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Ranges
extends org.apache.lucene.util.OpenBitSet

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.lucene.util.OpenBitSet
bits, wlen
 
Fields inherited from class org.apache.lucene.search.DocIdSet
EMPTY_DOCIDSET
 
Constructor Summary
Ranges()
           
 
Method Summary
static Ranges parse(java.lang.String expr)
           
 void set(int from, int to)
           
 
Methods inherited from class org.apache.lucene.util.OpenBitSet
and, andNot, andNotCount, bits2words, capacity, cardinality, clear, clear, clear, clone, ensureCapacity, ensureCapacityWords, equals, expandingWordNum, fastClear, fastClear, fastFlip, fastFlip, fastGet, fastGet, fastSet, fastSet, flip, flip, flipAndGet, flipAndGet, get, get, getAndSet, getAndSet, getBit, getBits, getNumWords, hashCode, intersect, intersectionCount, intersects, isCacheable, isEmpty, iterator, nextSetBit, nextSetBit, or, remove, set, set, setBits, setNumWords, size, trimTrailingZeros, union, unionCount, xor, xorCount
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ranges

public Ranges()
Method Detail

parse

public static Ranges parse(java.lang.String expr)
                    throws java.lang.Exception
Throws:
java.lang.Exception

set

public void set(int from,
                int to)