Klasse CharDeduplication

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.util.CharDeduplication

public class CharDeduplication extends Object
  • Felddetails

    • TABLE_SIZE

      public static final int TABLE_SIZE
      Siehe auch:
    • INTERNAL_TABLE_SIZE

      public static final int INTERNAL_TABLE_SIZE
      Siehe auch:
    • OPTIMIZED_LENGTH

      public static final int OPTIMIZED_LENGTH
      Siehe auch:
    • charArray_length

      public final char[][][][] charArray_length
      single threaded only
  • Methodendetails

    • getThreadLocalInstance

      public static CharDeduplication getThreadLocalInstance()
      Gibt zurück:
      an instance that is *not* thread safe. To be used in a single thread only.
    • reset

      @Deprecated public void reset()
      Veraltet.
      public for test purpose only
    • sharedCopyOfRange

      public char[] sharedCopyOfRange(char[] source, int from, int to)
      like Arrays.copyOfRange(source, from, to) but returns a cached instance of the former result if available
      Parameter:
      from - start index (inclusive)
      to - end index (exclusive)
      Gibt zurück:
      source[from..to-1]
      Siehe auch: