|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.angrypeptide.fun.Target
public class Target
This class represents a target
Constructor Summary | |
---|---|
Target(double position,
double value)
Constructor |
Method Summary | |
---|---|
void |
addValue(double increment)
Increments the value by the given amount |
double |
getPosition()
Returns the position of the target |
double |
getValue()
Returns the value of the target |
void |
setPosition(double position)
Sets the position of the target |
void |
setValue(double value)
Sets the value of the target |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Target(double position, double value)
position
- the positionvalue
- the initial valueMethod Detail |
---|
public double getPosition()
public void setPosition(double position)
position
- public double getValue()
public void setValue(double value)
value
- public void addValue(double increment)
increment
- the value to add
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |