|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openjena.atlas.lib.NumberUtils
public class NumberUtils
Constructor Summary | |
---|---|
NumberUtils()
|
Method Summary | |
---|---|
static void |
formatInt(StringBuilder sb,
int value)
Fast, but basic, integer to StringBuilder |
static void |
formatInt(StringBuilder sb,
int value,
int width)
Place a fixed width representation of a non-negative int into the string buffer |
static void |
formatInt(StringBuilder sb,
int value,
int width,
boolean signAlways)
Format an integer, which may be signed |
static void |
formatSignedInt(StringBuilder sb,
int value)
Fast, but basic, integer to StringBuilder : always signed |
static void |
formatSignedInt(StringBuilder sb,
int value,
int width)
Place a fixed width representation into the string buffer : always signed. |
static void |
formatUnsignedInt(StringBuilder sb,
int value,
int width)
Place a fixed width representation into the string buffer : never signed. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NumberUtils()
Method Detail |
---|
public static void formatInt(StringBuilder sb, int value)
public static void formatSignedInt(StringBuilder sb, int value)
public static void formatInt(StringBuilder sb, int value, int width)
public static void formatSignedInt(StringBuilder sb, int value, int width)
public static void formatInt(StringBuilder sb, int value, int width, boolean signAlways)
public static void formatUnsignedInt(StringBuilder sb, int value, int width)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |