0.1.3 "Deque Building"
This release mostly adds deque (double-ended queue, or stack/queue hybrid) classes for generic Objects and all primitive types (except boolean
, which you can really just use a byte
for). I'm not sure what people will use these for, but they offer more functionality than ArrayDeque
in the JDK by allowing random-access get()
and set()
into the deque.
This also makes a potentially breaking change by renaming the inner (and barely-exposed) classes implementing Iterator so they don't all have the same name. It was just a little confusing to have multiple SetIterator
s in differerent classes, all exposed somewhat. Since the iterator()
method on all of these sets returned an Iterator
or some type of PrimitiveIterator
, and not the renamed class, there should usually be no change required.