The FlagsAttributeImpl type exposes the following members.

Methods

  NameDescription
Public methodClear (Overrides AttributeImpl..::..Clear()()()().)
Public methodClone (Overrides AttributeImpl..::..Clone()()()().)
Public methodCopyTo (Overrides AttributeImpl..::..CopyTo(AttributeImpl).)
Public methodEquals (Overrides AttributeImpl..::..Equals(Object).)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetFlags
EXPERIMENTAL: While we think this is here to stay, we may want to change it to be a long.

Get the bitset for any bits that have been set. This is completely distinct from {@link TypeAttribute#Type()}, although they do share similar purposes. The flags can be used to encode information about the token for use by other {@link Lucene.Net.Analysis.TokenFilter}s.

Public methodGetHashCode (Overrides AttributeImpl..::..GetHashCode()()()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetFlags
Public methodToString
The default implementation of this method accesses all declared fields of this object and prints the values in the following syntax:
            public String toString() {
            return "start=" + startOffset + ",end=" + endOffset;
            }
            
This method may be overridden by subclasses.
(Inherited from AttributeImpl.)

See Also