jodd.util
Interface StringPool
public interface StringPool
Pool of String constants to prevent repeating of
hard-coded String literals in the code.
Due to fact that these are public static final
they will be inlined by java compiler and
reference to this class will be dropped.
There is no performance gain of using this pool.
Read: http://java.sun.com/docs/books/jls/third_edition/html/lexical.html#3.10.5
- Literal strings within the same class in the same package represent references to the same
String object.
- Literal strings within different classes in the same package represent references to the same
String object.
- Literal strings within different classes in different packages likewise represent references to the same
String object.
- Strings computed by constant expressions are computed at compile time and then treated as if they were literals.
- Strings computed by concatenation at run time are newly created and therefore distinct.
JODD
static final java.lang.String JODD
- See Also:
- Constant Field Values
AMPERSAND
static final java.lang.String AMPERSAND
- See Also:
- Constant Field Values
AND
static final java.lang.String AND
- See Also:
- Constant Field Values
AT
static final java.lang.String AT
- See Also:
- Constant Field Values
ASTERISK
static final java.lang.String ASTERISK
- See Also:
- Constant Field Values
STAR
static final java.lang.String STAR
- See Also:
- Constant Field Values
BACK_SLASH
static final java.lang.String BACK_SLASH
- See Also:
- Constant Field Values
COLON
static final java.lang.String COLON
- See Also:
- Constant Field Values
COMMA
static final java.lang.String COMMA
- See Also:
- Constant Field Values
DASH
static final java.lang.String DASH
- See Also:
- Constant Field Values
DOLLAR
static final java.lang.String DOLLAR
- See Also:
- Constant Field Values
DOT
static final java.lang.String DOT
- See Also:
- Constant Field Values
DOTDOT
static final java.lang.String DOTDOT
- See Also:
- Constant Field Values
DOT_CLASS
static final java.lang.String DOT_CLASS
- See Also:
- Constant Field Values
DOT_JAVA
static final java.lang.String DOT_JAVA
- See Also:
- Constant Field Values
EMPTY
static final java.lang.String EMPTY
- See Also:
- Constant Field Values
EQUALS
static final java.lang.String EQUALS
- See Also:
- Constant Field Values
FALSE
static final java.lang.String FALSE
- See Also:
- Constant Field Values
SLASH
static final java.lang.String SLASH
- See Also:
- Constant Field Values
HASH
static final java.lang.String HASH
- See Also:
- Constant Field Values
HAT
static final java.lang.String HAT
- See Also:
- Constant Field Values
LEFT_BRACE
static final java.lang.String LEFT_BRACE
- See Also:
- Constant Field Values
LEFT_BRACKET
static final java.lang.String LEFT_BRACKET
- See Also:
- Constant Field Values
LEFT_CHEV
static final java.lang.String LEFT_CHEV
- See Also:
- Constant Field Values
NEWLINE
static final java.lang.String NEWLINE
- See Also:
- Constant Field Values
N
static final java.lang.String N
- See Also:
- Constant Field Values
NO
static final java.lang.String NO
- See Also:
- Constant Field Values
NULL
static final java.lang.String NULL
- See Also:
- Constant Field Values
OFF
static final java.lang.String OFF
- See Also:
- Constant Field Values
ON
static final java.lang.String ON
- See Also:
- Constant Field Values
PERCENT
static final java.lang.String PERCENT
- See Also:
- Constant Field Values
PIPE
static final java.lang.String PIPE
- See Also:
- Constant Field Values
PLUS
static final java.lang.String PLUS
- See Also:
- Constant Field Values
QUESTION_MARK
static final java.lang.String QUESTION_MARK
- See Also:
- Constant Field Values
EXCLAMATION_MARK
static final java.lang.String EXCLAMATION_MARK
- See Also:
- Constant Field Values
QUOTE
static final java.lang.String QUOTE
- See Also:
- Constant Field Values
RETURN
static final java.lang.String RETURN
- See Also:
- Constant Field Values
TAB
static final java.lang.String TAB
- See Also:
- Constant Field Values
RIGHT_BRACE
static final java.lang.String RIGHT_BRACE
- See Also:
- Constant Field Values
RIGHT_BRACKET
static final java.lang.String RIGHT_BRACKET
- See Also:
- Constant Field Values
RIGHT_CHEV
static final java.lang.String RIGHT_CHEV
- See Also:
- Constant Field Values
SEMICOLON
static final java.lang.String SEMICOLON
- See Also:
- Constant Field Values
SINGLE_QUOTE
static final java.lang.String SINGLE_QUOTE
- See Also:
- Constant Field Values
SPACE
static final java.lang.String SPACE
- See Also:
- Constant Field Values
LEFT_SQ_BRACKET
static final java.lang.String LEFT_SQ_BRACKET
- See Also:
- Constant Field Values
RIGHT_SQ_BRACKET
static final java.lang.String RIGHT_SQ_BRACKET
- See Also:
- Constant Field Values
TRUE
static final java.lang.String TRUE
- See Also:
- Constant Field Values
UNDERSCORE
static final java.lang.String UNDERSCORE
- See Also:
- Constant Field Values
UTF_8
static final java.lang.String UTF_8
- See Also:
- Constant Field Values
ISO_8859_1
static final java.lang.String ISO_8859_1
- See Also:
- Constant Field Values
Y
static final java.lang.String Y
- See Also:
- Constant Field Values
YES
static final java.lang.String YES
- See Also:
- Constant Field Values
ONE
static final java.lang.String ONE
- See Also:
- Constant Field Values
ZERO
static final java.lang.String ZERO
- See Also:
- Constant Field Values
DOLLAR_LEFT_BRACE
static final java.lang.String DOLLAR_LEFT_BRACE
- See Also:
- Constant Field Values
EMPTY_ARRAY
static final java.lang.String[] EMPTY_ARRAY
Copyright © 2003-2012 Jodd Team