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(java.lang.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.
|
java.lang.String |
toString() |
getAssociation, hasBeenSetpublic AssociationFloatProperty(float value)
value - The association value.public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void merge(CategoryProperty other)
CategoryPropertyother - The category property to merge.public float getFloatAssociation()
public java.lang.String toString()
toString in class AssociationPropertyCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.