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, reflectWith
public void setBoost(float boost)
BoostAttribute
setBoost
in interface BoostAttribute
public float getBoost()
BoostAttribute
1.0f
.getBoost
in interface BoostAttribute
public void clear()
AttributeImpl
clear
in class AttributeImpl
public void copyTo(AttributeImpl target)
AttributeImpl
copyTo
in class AttributeImpl
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.