Class StringCache

java.lang.Object
org.cip4.jdflib.datatypes.StringCache

@Deprecated public class StringCache extends Object
Deprecated.
- simply use the jave intern method
  • Method Details

    • enable

      public static void enable(boolean enable)
      Deprecated.
    • getCreateString

      public static String getCreateString(String s)
      Deprecated.
      Parameters:
      s -
      Returns:
    • getString

      public static String getString(String s)
      Deprecated.
      gets strings if they are there, eles only fills short strings up to length 2
      Parameters:
      s -
      Returns:
    • size

      public static int size()
      Deprecated.
      Returns:
      the number of cached strings
    • addAll

      public static void addAll(Collection<String> c)
      Deprecated.
      Parameters:
      c -