public class FlagsAttributeImpl extends AttributeImpl implements FlagsAttribute, Cloneable, Serializable
enableBackwards| Constructor and Description |
|---|
FlagsAttributeImpl() |
| Modifier and Type | Method and Description |
|---|---|
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) |
clone, reflectAsString, reflectWith, toStringpublic int getFlags()
TypeAttribute.type(), although they do share similar purposes.
The flags can be used to encode information about the token for use by other TokenFilters.getFlags in interface FlagsAttributepublic void setFlags(int flags)
setFlags in interface FlagsAttributegetFlags()public void clear()
AttributeImplclear in class AttributeImplpublic void copyTo(AttributeImpl target)
AttributeImplcopyTo in class AttributeImpl