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: https://java.sun.com/docs/books/jls/third_edition/html/lexical.html#3.10.5
String object.String object.String object.Copyright © 2025. All rights reserved.