edu.stanford.nlp.util
Class StringBuildMemoizer
java.lang.Object
edu.stanford.nlp.util.StringBuildMemoizer
public class StringBuildMemoizer
- extends Object
Class for memoizing the result of string concatenations.
This class is probably a better choice than StringBuilder
and StringBuffer if many string concatenations are identical.
- Author:
- Michel Galley
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringBuildMemoizer
public StringBuildMemoizer()
setStringAllowance
public static void setStringAllowance(int a)
toString
public static String toString(String... arr)
main
public static void main(String[] args)
Stanford NLP Group