Package-level declarations
Types
Simple map for Int to Int relations. Designed for small to medium maps with a low amount of entries (<1000).
Java-style builder for creating a PolyUI instance.
Functions
Add the given element to this list if it is not in it already.
Replace this given element if it already exists in this list using Any.equals, or append it to the end if it does not. This method is very strange and has one specific use case, which is for cases where referential equality is needed as well as structural equality. See more here.
append the given Char to this StringBuilder, repeated repeats times.
Returns the closest character index from the given string to the given point x.
Ensure that this list is at least size elements long, and if it is not, add elements to it using the given initializer.
no-alloc List.forEach which utilizes RandomAccess to get the elements, backwards.
no-alloc MutableList.removeIf which utilizes RandomAccess to get the elements.
no-alloc MutableList.removeIf which utilizes RandomAccess to get the elements.
return a stream of the given resource or throws an exception.
return a stream of the given resource, or null.
calculate the levenshtein distance between this string and the other string.
Returns the value of the given key in the map, and if shouldRemove is true the value is also removed from the map.
Return a list of the names of the entries in this enum.
Return null if this collection is empty, otherwise return this collection.
Simplify a ratio of two integers.
Converts the InputStream into a byte array and close it.
toDirectByteBuffer with a null terminator.