The first item in this Cache
The first key of this cache
The first value of this cache
The last item in this cache
The last key of this cache
The last value of this cache
Adds a new entry to this instance so it can be extended. Throws if a structure with the same name was already set.
The name of the structure to be set
The class to be added to the registry
Returns a shallow clone of this Cache
Returns a new Cache with this and other caches together
Other caches to include in the new cache
The overriden delete method, this will always throw.
Naive equality compare function
The cache to compare this against
Tests if every entry in this cache meets a condition
The function to test the condition
Optional binding for the fn param
Extends a structure by its registered name.
The name of the structure to be extended
A callback returning the extended class
Returns a new filtered Cache based on the filter function
Function used to determine what entries are in the new Cache
Optional binding for the fn param
Finds an entry from this Cache
Function used to find what you are looking for
Optional binding for the fn param
Finds a key from this Cache
Function used to find what you are looking for
Optional binding for the fn param
Finds a value from this Cache
Function used to find what you are looking for
Optional binding for the fn param
The overriden get method, this extension makes it type-safe.
The structure to get from its name
Maps this Cache to an array (like Array#map())
Function to determine what is mapped to the new Array
Optional binding for the fn param
Reduces this cache into a singularity
The function to determine how this Cache is reduced
The initial value
Optional binding for the fn param
The overriden set method, this will always throw. Use {@link Extender#add} for adding new structures, or {@link Extender#extend} to extend an existing one.
Tests if some entries in this cache meets a condition
The function to test the condition
Optional binding for the fn param
Sorts entries in a new Cache
Function to determine how the resulting Cache should be sorted
Sweeps entries from this Cache
Function used to determine what entries are swept
Optional binding for the fn param
Generated using TypeDoc
The extender class that allows the extension of built-in structures from Klasa-Core and plugins.