fr.dyade.aaa.agent
Class StringId
java.lang.Object
fr.dyade.aaa.agent.StringId
public final class StringId
- extends java.lang.Object
Method Summary |
private static int |
getChars(int i,
char[] buf,
int idx)
|
static java.lang.String |
toStringId(char label,
char sep,
int x,
int y,
int z)
Returns a string representation of id: label + x + sep + y + sep + z. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BUFLEN
private static final int BUFLEN
- See Also:
- Constant Field Values
perThreadBuffer
private static java.lang.ThreadLocal perThreadBuffer
DigitTens
static final char[] DigitTens
DigitOnes
static final char[] DigitOnes
StringId
public StringId()
toStringId
public static final java.lang.String toStringId(char label,
char sep,
int x,
int y,
int z)
- Returns a string representation of id: label + x + sep + y + sep + z.
At least x must be provided and higher or equal to 0, if y or z are less
than 0 they are ignored.
getChars
private static final int getChars(int i,
char[] buf,
int idx)
Copyright © 2010 ScalAgent D.T.. All Rights Reserved.