public class MutableValueFloat extends MutableValue
MutableValue
implementation of type float
.
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.0F
for proper operation.Modifier and Type | Field and Description |
---|---|
float |
value |
exists
Constructor and Description |
---|
MutableValueFloat() |
Modifier and Type | Method and Description |
---|---|
int |
compareSameType(Object other) |
void |
copy(MutableValue source) |
MutableValue |
duplicate() |
boolean |
equalsSameType(Object other) |
int |
hashCode() |
Object |
toObject() |
compareTo, equals, exists, toString
public Object toObject()
toObject
in class MutableValue
public void copy(MutableValue source)
copy
in class MutableValue
public MutableValue duplicate()
duplicate
in class MutableValue
public boolean equalsSameType(Object other)
equalsSameType
in class MutableValue
public int compareSameType(Object other)
compareSameType
in class MutableValue
public int hashCode()
hashCode
in class MutableValue
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.