public class AssociationFloatProperty extends AssociationProperty
AssociationProperty
which treats the association as float - the
association bits are actually float bits, and thus merging two associations
is done by float summation.association
Constructor and Description |
---|
AssociationFloatProperty(float value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
float |
getFloatAssociation() |
int |
hashCode() |
void |
merge(CategoryProperty other)
When adding categories with properties to a certain document, it is
possible that the same category will be added more than once with
different instances of the same property.
|
String |
toString() |
getAssociation, hasBeenSet
public AssociationFloatProperty(float value)
value
- The association value.public void merge(CategoryProperty other)
CategoryProperty
other
- The category property to merge.public float getFloatAssociation()
public String toString()
toString
in class AssociationProperty