Package kr.toxicity.model.api.util.collection
package kr.toxicity.model.api.util.collection
Contains specialized collection helpers used by BetterModel APIs.
This package currently provides priority-aware maps and singleton sequenced sets for places where standard collections need a small domain-specific shape without adding a new dependency.
Example:
PriorityMap<String, Runnable> listeners = new PriorityMap<>();
listeners.put("reload", action, 0);
- Since:
- 3.2.0
-
ClassesClassDescriptionPriorityMap<K extends Comparable<K>, V>A map that maintains the order of values based on priority, insertion order, and key comparison.