public class Percent extends Object implements Streamable, Serializable
| Constructor and Description |
|---|
Percent(double value) |
| Modifier and Type | Method and Description |
|---|---|
static String |
format(double value) |
void |
readFrom(StreamInput in) |
String |
toString() |
double |
value() |
void |
writeTo(StreamOutput out) |
public double value()
public static String format(double value)
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionCopyright © 2009–2016. All rights reserved.