|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.util.AttributeImpl org.apache.lucene.analysis.tokenattributes.FlagsAttributeImpl
public class FlagsAttributeImpl
Default implementation of FlagsAttribute
.
Constructor Summary | |
---|---|
FlagsAttributeImpl()
Initialize this attribute with no bits set |
Method Summary | |
---|---|
void |
clear()
Clears the values in this AttributeImpl and resets it to its default value. |
void |
copyTo(AttributeImpl target)
Copies the values from this Attribute into the passed-in target attribute. |
boolean |
equals(Object other)
|
int |
getFlags()
Get the bitset for any bits that have been set. |
int |
hashCode()
|
void |
setFlags(int flags)
Set the flags to a new bitset. |
Methods inherited from class org.apache.lucene.util.AttributeImpl |
---|
clone, reflectAsString, reflectWith |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlagsAttributeImpl()
Method Detail |
---|
public int getFlags()
FlagsAttribute
getFlags
in interface FlagsAttribute
FlagsAttribute.getFlags()
public void setFlags(int flags)
FlagsAttribute
setFlags
in interface FlagsAttribute
FlagsAttribute.getFlags()
public void clear()
AttributeImpl
clear
in class AttributeImpl
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void copyTo(AttributeImpl target)
AttributeImpl
copyTo
in class AttributeImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |