Class SimpleTextLiveDocsFormat.SimpleTextBits
- java.lang.Object
-
- org.apache.lucene.codecs.simpletext.SimpleTextLiveDocsFormat.SimpleTextBits
-
- All Implemented Interfaces:
Bits
- Enclosing class:
- SimpleTextLiveDocsFormat
static class SimpleTextLiveDocsFormat.SimpleTextBits extends java.lang.Object implements Bits
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.lucene.util.Bits
Bits.MatchAllBits, Bits.MatchNoBits
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.BitSetbits(package private) intsize-
Fields inherited from interface org.apache.lucene.util.Bits
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description SimpleTextBits(java.util.BitSet bits, int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanget(int index)Returns the value of the bit with the specifiedindex.intlength()Returns the number of bits in this set
-
-
-
Method Detail
-
get
public boolean get(int index)
Description copied from interface:BitsReturns the value of the bit with the specifiedindex.- Specified by:
getin interfaceBits- Parameters:
index- index, should be non-negative and <Bits.length(). The result of passing negative or out of bounds values is undefined by this interface, just don't do it!- Returns:
trueif the bit is set,falseotherwise.
-
-