接口 StringPool
- 所有已知子接口:
Constants
- 所有已知实现类:
AbstractISegmentList
,AbstractMethod
,Delete
,DeleteBatchByIds
,DeleteById
,DeleteByMap
,GroupBySegmentList
,HavingSegmentList
,Insert
,NormalSegmentList
,OrderBySegmentList
,SelectBatchByIds
,SelectById
,SelectByMap
,SelectCount
,SelectList
,SelectMaps
,SelectMapsPage
,SelectObjs
,SelectOne
,SelectPage
,SqlScriptUtils
,SqlUtils
,TableFieldInfo
,TableInfo
,Update
,UpdateById
public interface StringPool
Copy to jodd.util
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: https://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.
-
字段概要
-
字段详细资料
-
AMPERSAND
- 另请参阅:
- 常量字段值
-
AND
- 另请参阅:
- 常量字段值
-
AT
- 另请参阅:
- 常量字段值
-
ASTERISK
- 另请参阅:
- 常量字段值
-
STAR
- 另请参阅:
- 常量字段值
-
BACK_SLASH
- 另请参阅:
- 常量字段值
-
COLON
- 另请参阅:
- 常量字段值
-
COMMA
- 另请参阅:
- 常量字段值
-
DASH
- 另请参阅:
- 常量字段值
-
DOLLAR
- 另请参阅:
- 常量字段值
-
DOT
- 另请参阅:
- 常量字段值
-
DOTDOT
- 另请参阅:
- 常量字段值
-
DOT_CLASS
- 另请参阅:
- 常量字段值
-
DOT_JAVA
- 另请参阅:
- 常量字段值
-
DOT_XML
- 另请参阅:
- 常量字段值
-
EMPTY
- 另请参阅:
- 常量字段值
-
EQUALS
- 另请参阅:
- 常量字段值
-
FALSE
- 另请参阅:
- 常量字段值
-
SLASH
- 另请参阅:
- 常量字段值
-
HASH
- 另请参阅:
- 常量字段值
-
HAT
- 另请参阅:
- 常量字段值
-
LEFT_BRACE
- 另请参阅:
- 常量字段值
-
LEFT_BRACKET
- 另请参阅:
- 常量字段值
-
LEFT_CHEV
- 另请参阅:
- 常量字段值
-
DOT_NEWLINE
- 另请参阅:
- 常量字段值
-
NEWLINE
- 另请参阅:
- 常量字段值
-
N
- 另请参阅:
- 常量字段值
-
NO
- 另请参阅:
- 常量字段值
-
NULL
- 另请参阅:
- 常量字段值
-
OFF
- 另请参阅:
- 常量字段值
-
ON
- 另请参阅:
- 常量字段值
-
PERCENT
- 另请参阅:
- 常量字段值
-
PIPE
- 另请参阅:
- 常量字段值
-
PLUS
- 另请参阅:
- 常量字段值
-
QUESTION_MARK
- 另请参阅:
- 常量字段值
-
EXCLAMATION_MARK
- 另请参阅:
- 常量字段值
-
QUOTE
- 另请参阅:
- 常量字段值
-
RETURN
- 另请参阅:
- 常量字段值
-
TAB
- 另请参阅:
- 常量字段值
-
RIGHT_BRACE
- 另请参阅:
- 常量字段值
-
RIGHT_BRACKET
- 另请参阅:
- 常量字段值
-
RIGHT_CHEV
- 另请参阅:
- 常量字段值
-
SEMICOLON
- 另请参阅:
- 常量字段值
-
SINGLE_QUOTE
- 另请参阅:
- 常量字段值
-
BACKTICK
- 另请参阅:
- 常量字段值
-
SPACE
- 另请参阅:
- 常量字段值
-
TILDA
- 另请参阅:
- 常量字段值
-
LEFT_SQ_BRACKET
- 另请参阅:
- 常量字段值
-
RIGHT_SQ_BRACKET
- 另请参阅:
- 常量字段值
-
TRUE
- 另请参阅:
- 常量字段值
-
UNDERSCORE
- 另请参阅:
- 常量字段值
-
UTF_8
- 另请参阅:
- 常量字段值
-
US_ASCII
- 另请参阅:
- 常量字段值
-
ISO_8859_1
- 另请参阅:
- 常量字段值
-
Y
- 另请参阅:
- 常量字段值
-
YES
- 另请参阅:
- 常量字段值
-
ONE
- 另请参阅:
- 常量字段值
-
ZERO
- 另请参阅:
- 常量字段值
-
DOLLAR_LEFT_BRACE
- 另请参阅:
- 常量字段值
-
HASH_LEFT_BRACE
- 另请参阅:
- 常量字段值
-
CRLF
- 另请参阅:
- 常量字段值
-
HTML_NBSP
- 另请参阅:
- 常量字段值
-
HTML_AMP
- 另请参阅:
- 常量字段值
-
HTML_QUOTE
- 另请参阅:
- 常量字段值
-
HTML_LT
- 另请参阅:
- 常量字段值
-
HTML_GT
- 另请参阅:
- 常量字段值
-
EMPTY_ARRAY
-
BYTES_NEW_LINE
static final byte[] BYTES_NEW_LINE
-