Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
com.github.tommyettinger:atlantis
Advanced tools
Ordered JDK Map and Set classes that allow lookup at an index
With Gradle (may need api
instead of implementation
, or compile
for old Gradle):
implementation 'com.github.tommyettinger:atlantis:0.0.1'
Or with Maven:
<dependency>
<groupId>com.github.tommyettinger</groupId>
<artifactId>atlantis</artifactId>
<version>0.0.1</version>
</dependency>
Or you can use JitPack using its instructions.
You have IndexedMap and IndexedSet now! These are quite full-featured collections that are similar
to the existing JDK classes LinkedHashMap and LinkedHashSet; all of these are insertion-ordered
but otherwise act like HashMap. Except, IndexedMap and IndexedSet allow lookup by index in constant
time, which removes the need to make iterators, and allow offline sorting of their entries by key
or by value. There's some other features too, like alter()
to change a key without changing its
position in the order (or its value). Mostly, these are like a regular Map, with keyAt()
,
getAt()
, removeAt()
, and so on added to operate at a given index (hence the library name).
Many of these features are already in libGDX's OrderedMap and OrderedSet classes, but neither of those implements any JDK interface, so they aren't very interoperable.
Apache 2.0, see LICENSE.
FAQs
Basic graph data structures and algorithms.
We found that com.github.tommyettinger:atlantis demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.