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:
java.lang.Comparable<MutableValue>
public class MutableValueDouble extends MutableValue
MutableValue
implementation of typedouble
.
-
-
Field Summary
Fields Modifier and Type Field Description double
value
-
Fields inherited from class org.apache.lucene.util.mutable.MutableValue
exists
-
-
Constructor Summary
Constructors Constructor Description MutableValueDouble()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareSameType(java.lang.Object other)
void
copy(MutableValue source)
MutableValue
duplicate()
boolean
equalsSameType(java.lang.Object other)
int
hashCode()
java.lang.Object
toObject()
-
Methods inherited from class org.apache.lucene.util.mutable.MutableValue
compareTo, equals, exists, toString
-
-
-
-
Method Detail
-
toObject
public java.lang.Object toObject()
- Specified by:
toObject
in classMutableValue
-
copy
public void copy(MutableValue source)
- Specified by:
copy
in classMutableValue
-
duplicate
public MutableValue duplicate()
- Specified by:
duplicate
in classMutableValue
-
equalsSameType
public boolean equalsSameType(java.lang.Object other)
- Specified by:
equalsSameType
in classMutableValue
-
compareSameType
public int compareSameType(java.lang.Object other)
- Specified by:
compareSameType
in classMutableValue
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classMutableValue
-
-