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 and Description |
---|
ConfigHashSet() |
asElementType, createBucket, createBuckets
add, addAll, clear, contains, containsAll, containsFast, equals, expand, get, getBucket, getOrAdd, getOrAddImpl, hashCode, isEmpty, iterator, remove, removeAll, removeFast, retainAll, size, toArray, toArray, toString, toTableString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
spliterator
parallelStream, removeIf, stream
Copyright © 1992–2021 ANTLR. All rights reserved.