Package org.apache.lucene.util.mutable
Class MutableValueDouble
java.lang.Object
org.apache.lucene.util.mutable.MutableValue
org.apache.lucene.util.mutable.MutableValueDouble
- All Implemented Interfaces:
Comparable<MutableValue>
MutableValue implementation of type double. 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 0.0D 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 double value
-
-
Constructor Details
-
MutableValueDouble
public MutableValueDouble()
-
-
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
-