public final class BoostAttributeImpl extends AttributeImpl implements BoostAttribute
BoostAttribute.| Constructor and Description |
|---|
BoostAttributeImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the values in this AttributeImpl and resets it to its
default value.
|
void |
copyTo(AttributeImpl target)
Copies the values from this Attribute into the passed-in
target attribute.
|
float |
getBoost()
Retrieves the boost, default is
1.0f. |
void |
setBoost(float boost)
Sets the boost in this attribute
|
clone, reflectAsString, reflectWithpublic void setBoost(float boost)
BoostAttributesetBoost in interface BoostAttributepublic float getBoost()
BoostAttribute1.0f.getBoost in interface BoostAttributepublic void clear()
AttributeImplclear in class AttributeImplpublic void copyTo(AttributeImpl target)
AttributeImplcopyTo in class AttributeImplCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.