public static class ATNConfigSet.ConfigHashSet extends ATNConfigSet.AbstractConfigHashSet
(s,i,_,semctx)
to be equal. Unfortunately, this key effectively doubles
the number of objects associated with ATNConfigs. The other solution is to
use a hash table that lets us specify the equals/hashcode operation.Array2DHashSet.SetIterator
buckets, comparator, currentPrime, INITAL_BUCKET_CAPACITY, INITAL_CAPACITY, initialBucketCapacity, LOAD_FACTOR, n, threshold
Constructor | Description |
---|---|
ConfigHashSet() |
add, addAll, clear, contains, containsAll, containsFast, equals, expand, get, getBucket, getOrAdd, getOrAddImpl, hashCode, isEmpty, iterator, remove, removeAll, removeFast, retainAll, size, toArray, toArray, toString, toTableString
asElementType, createBucket, createBuckets
parallelStream, removeIf, stream
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
spliterator
Copyright © 1992–2018 ANTLR. All rights reserved.