|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.common.unit.Percent
public class Percent
Constructor Summary | |
---|---|
Percent(double value)
|
Method Summary | |
---|---|
static java.lang.String |
format(double value)
|
void |
readFrom(StreamInput in)
|
java.lang.String |
toString()
|
double |
value()
|
void |
writeTo(StreamOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Percent(double value)
Method Detail |
---|
public double value()
public java.lang.String toString()
toString
in class java.lang.Object
public static java.lang.String format(double value)
public void readFrom(StreamInput in) throws java.io.IOException
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
writeTo
in interface Streamable
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |