Package org.antlr.runtime.misc


package org.antlr.runtime.misc
  • Classes
    Class
    Description
    DoubleKeyMap<Key1,Key2,Value>
    Sometimes we need to map a key to a value but key is two pieces of data.
    A queue that can dequeue and get(i) in O(1) and grow arbitrarily large.
    A dynamic array that uses int not Integer objects.
    A lookahead queue that knows how to mark/release locations in the buffer for backtracking purposes.
    Stats routines needed by profiler etc... // note that these routines return 0.0 if no values exist in the X[] // which is not "correct", but it is useful so I don't generate NaN // in my output