Package org.apache.lucene.util.mutable
Class MutableValueFloat
- java.lang.Object
-
- org.apache.lucene.util.mutable.MutableValue
-
- org.apache.lucene.util.mutable.MutableValueFloat
-
- All Implemented Interfaces:
Comparable<MutableValue>
public class MutableValueFloat extends MutableValue
MutableValueimplementation of typefloat. When mutating instances of this object, the caller is responsible for ensuring that any instance whereexistsis set tofalsemust alsovalueset to0.0Ffor proper operation.
-
-
Field Summary
Fields Modifier and Type Field Description floatvalue-
Fields inherited from class org.apache.lucene.util.mutable.MutableValue
exists
-
-
Constructor Summary
Constructors Constructor Description MutableValueFloat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareSameType(Object other)voidcopy(MutableValue source)MutableValueduplicate()booleanequalsSameType(Object other)inthashCode()ObjecttoObject()-
Methods inherited from class org.apache.lucene.util.mutable.MutableValue
compareTo, equals, exists, toString
-
-
-
-
Method Detail
-
toObject
public Object toObject()
- Specified by:
toObjectin classMutableValue
-
copy
public void copy(MutableValue source)
- Specified by:
copyin classMutableValue
-
duplicate
public MutableValue duplicate()
- Specified by:
duplicatein classMutableValue
-
equalsSameType
public boolean equalsSameType(Object other)
- Specified by:
equalsSameTypein classMutableValue
-
compareSameType
public int compareSameType(Object other)
- Specified by:
compareSameTypein classMutableValue
-
hashCode
public int hashCode()
- Specified by:
hashCodein classMutableValue
-
-