Package org.apache.lucene.util.mutable
Class MutableValueBool
java.lang.Object
org.apache.lucene.util.mutable.MutableValue
org.apache.lucene.util.mutable.MutableValueBool
- All Implemented Interfaces:
Comparable<MutableValue>
MutableValue implementation of type boolean. When mutating instances of this
object, the caller is responsible for ensuring that any instance where exists is set
to false must also value set to false for proper
operation.-
Field Summary
FieldsFields inherited from class org.apache.lucene.util.mutable.MutableValue
exists -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareSameType(Object other) voidcopy(MutableValue source) booleanequalsSameType(Object other) inthashCode()toObject()Methods inherited from class org.apache.lucene.util.mutable.MutableValue
compareTo, equals, exists, toString
-
Field Details
-
value
public boolean value
-
-
Constructor Details
-
MutableValueBool
public MutableValueBool()
-
-
Method Details
-
toObject
- Specified by:
toObjectin classMutableValue
-
copy
- Specified by:
copyin classMutableValue
-
duplicate
- Specified by:
duplicatein classMutableValue
-
equalsSameType
- Specified by:
equalsSameTypein classMutableValue
-
compareSameType
- Specified by:
compareSameTypein classMutableValue
-
hashCode
public int hashCode()- Specified by:
hashCodein classMutableValue
-