Package org.apache.lucene.util.mutable
Class MutableValue
java.lang.Object
org.apache.lucene.util.mutable.MutableValue
- All Implemented Interfaces:
Comparable<MutableValue>
- Direct Known Subclasses:
MutableValueBool,MutableValueDouble,MutableValueFloat,MutableValueInt,MutableValueLong,MutableValueStr
Base class for all mutable values.
- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract intcompareSameType(Object other) intcompareTo(MutableValue other) abstract voidcopy(MutableValue source) abstract MutableValuebooleanabstract booleanequalsSameType(Object other) booleanexists()abstract inthashCode()abstract ObjecttoObject()toString()
-
Field Details
-
exists
public boolean exists
-
-
Constructor Details
-
MutableValue
public MutableValue()
-
-
Method Details
-
copy
-
duplicate
-
equalsSameType
-
compareSameType
-
toObject
-
exists
public boolean exists() -
compareTo
- Specified by:
compareToin interfaceComparable<MutableValue>
-
equals
-
hashCode
public abstract int hashCode() -
toString
-