Index

A C D E F G H I J L M N O P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

add(int, E) - Method in class org.klojang.collections.CrisprList
Inserts the specified element at the specified position in this list.
add(E) - Method in class org.klojang.collections.CrisprList
Appends the specified element to the end of this list.
add(Class<?>, V) - Method in interface org.klojang.collections.TypeMapBuilder
Associates the specified type with the specified value.
addAll(int, Collection<? extends E>) - Method in class org.klojang.collections.CrisprList
Inserts all elements in the specified collection into this list at the specified position (optional operation).
addAll(Collection<? extends E>) - Method in class org.klojang.collections.CrisprList
Appends all elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's iterator.
addMultiple(V, Class<?>...) - Method in interface org.klojang.collections.TypeMapBuilder
Associates multiple types with the same value.
append(E) - Method in class org.klojang.collections.CrisprList
Appends the specified value to the end of the list.
append(E) - Method in class org.klojang.collections.WiredList
Appends the specified value to the end of the list.
appendAll(Collection<? extends E>) - Method in class org.klojang.collections.CrisprList
Appends the specified collection to this CrisprList.
appendAll(Collection<? extends E>) - Method in class org.klojang.collections.WiredList
Appends the specified collection to this WiredList.
attach(CrisprList<? extends E>) - Method in class org.klojang.collections.CrisprList
Appends the specified list to this list.
attach(WiredList<? extends E>) - Method in class org.klojang.collections.WiredList
Appends the specified list to this list.
autobox(boolean) - Method in interface org.klojang.collections.TypeMapBuilder
Whether to enable autoboxing.

C

clear() - Method in class org.klojang.collections.CrisprList
Removes all elements from this list.
clear() - Method in class org.klojang.collections.WiredList
Removes all elements from this list.
contains(Object) - Method in class org.klojang.collections.CrisprList
Returns true if this list contains the specified element.
containsAll(Collection<?>) - Method in class org.klojang.collections.CrisprList
Returns true if this list contains all of the elements of the specified collection.
copy() - Method in class org.klojang.collections.CrisprList
Returns a copy of this CrisprList.
copy() - Method in class org.klojang.collections.WiredList
Returns a copy of this WiredList.
copy(int, int) - Method in class org.klojang.collections.CrisprList
Returns a copy of the specified segment.
copy(int, int) - Method in class org.klojang.collections.WiredList
Returns a copy of the specified segment.
CrisprList<E> - Class in org.klojang.collections
A doubly-linked list, much like the JDK's LinkedList, but exclusively focused on list manipulation while disregarding the queue-like aspects of linked lists.
CrisprList() - Constructor for class org.klojang.collections.CrisprList
Creates a new, empty CrisprList.
CrisprList(Collection<? extends E>) - Constructor for class org.klojang.collections.CrisprList
Creates a new CrisprList containing the elements in the specified Collection.
cut(int, int) - Method in class org.klojang.collections.CrisprList
Removes and returns a segment from the list.
cut(int, int) - Method in class org.klojang.collections.WiredList
Removes and returns a segment from the list.

D

defragment(boolean, List<Predicate<? super E>>) - Method in class org.klojang.collections.CrisprList
Reorders the elements according to the specified criteria.
defragment(boolean, List<Predicate<? super E>>) - Method in class org.klojang.collections.WiredList
Reorders the elements according to the specified criteria.
defragment(List<Predicate<? super E>>) - Method in class org.klojang.collections.CrisprList
Reorders the elements according to the specified criteria.
defragment(List<Predicate<? super E>>) - Method in class org.klojang.collections.WiredList
Reorders the elements according to the specified criteria.

E

embed(int, CrisprList<? extends E>) - Method in class org.klojang.collections.CrisprList
Embeds the specified list in this list.
embed(int, CrisprList<? extends E>, int, int) - Method in class org.klojang.collections.CrisprList
Removes a segment from the specified list and embeds it in this list.
embed(int, WiredList<? extends E>) - Method in class org.klojang.collections.WiredList
Embeds the specified list in this list.
embed(int, WiredList<? extends E>, int, int) - Method in class org.klojang.collections.WiredList
Removes a segment from the specified list and embeds it in this list.
equals(Object) - Method in class org.klojang.collections.CrisprList
Compares the specified object with this list for equality.
exchange(int, int, CrisprList<E>, int, int) - Method in class org.klojang.collections.CrisprList
Exchanges list segments between this list and the specified list.
exchange(int, int, WiredList<E>, int, int) - Method in class org.klojang.collections.WiredList
Exchanges list segments between this list and the specified list.

F

first() - Method in class org.klojang.collections.CrisprList
Returns the first element of the list.
first() - Method in class org.klojang.collections.WiredList
Returns the first element of the list.
fixedTypeMap(Map<Class<?>, V>) - Static method in interface org.klojang.collections.TypeMap
Returns a TypeMap that is internally backed by a regular, unmodifiable Map.
fixedTypeMap(Map<Class<?>, V>, boolean) - Static method in interface org.klojang.collections.TypeMap
Returns a TypeMap that is internally backed by a regular, unmodifiable Map.
fixedTypeMapBuilder() - Static method in interface org.klojang.collections.TypeMap
Returns a Builder for "fixed" type maps.
fixedTypeSet(boolean, Class<?>...) - Static method in interface org.klojang.collections.TypeSet
Returns a TypeSet that is internally backed by a fixedTypeMap(),
fixedTypeSet(boolean, Collection<Class<?>>) - Static method in interface org.klojang.collections.TypeSet
Returns a TypeSet that is internally backed by a fixedTypeMap(),
fixedTypeSet(Class<?>...) - Static method in interface org.klojang.collections.TypeSet
Returns a TypeSet that is internally backed by a fixedTypeMap(),
fixedTypeSet(Collection<Class<?>>) - Static method in interface org.klojang.collections.TypeSet
Returns a TypeSet that is internally backed by a fixedTypeMap(),
freeze() - Method in interface org.klojang.collections.TypeMapBuilder
Returns a Map with the configured types and behaviour.

G

get(int) - Method in class org.klojang.collections.CrisprList
Returns the element at the specified position in this list.
getOrDefault(Object, V) - Method in interface org.klojang.collections.TypeMap
greedyTypeMap(Map<Class<?>, V>) - Static method in interface org.klojang.collections.TypeMap
Returns an auto-expanding TypeMap.
greedyTypeMap(Map<Class<?>, V>, boolean) - Static method in interface org.klojang.collections.TypeMap
Returns an auto-expanding TypeMap.
greedyTypeMapBuilder() - Static method in interface org.klojang.collections.TypeMap
Returns a Builder for "greedy" type maps.
greedyTypeSet(boolean, Class<?>...) - Static method in interface org.klojang.collections.TypeSet
Returns a TypeSet that is internally backed by a greedyTypeMap().
greedyTypeSet(boolean, Collection<Class<?>>) - Static method in interface org.klojang.collections.TypeSet
Returns a TypeSet that is internally backed by a greedyTypeMap().
greedyTypeSet(Class<?>...) - Static method in interface org.klojang.collections.TypeSet
Returns a TypeSet that is internally backed by a greedyTypeMap().
greedyTypeSet(Collection<Class<?>>) - Static method in interface org.klojang.collections.TypeSet
Returns a TypeSet that is internally backed by a greedyTypeMap().
group(Predicate<? super E>) - Method in class org.klojang.collections.CrisprList
Groups the elements in those that do, and elements that do not satisfy the specified criterion.
group(Predicate<? super E>) - Method in class org.klojang.collections.WiredList
Groups the elements in those that do, and elements that do not satisfy the specified criterion.
group(List<Predicate<? super E>>) - Method in class org.klojang.collections.CrisprList
Groups the elements according to the provided criteria.
group(List<Predicate<? super E>>) - Method in class org.klojang.collections.WiredList
Groups the elements according to the provided criteria.

H

hashCode() - Method in class org.klojang.collections.CrisprList
Returns the hash code value for this list.

I

index() - Method in interface org.klojang.collections.WiredIterator
Returns the index of the current element.
indexOf(Object) - Method in class org.klojang.collections.CrisprList
Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element.
insert(int, E) - Method in class org.klojang.collections.CrisprList
Inserts a value into the list.
insert(int, E) - Method in class org.klojang.collections.WiredList
Inserts a value into the list.
insertAfter(E) - Method in interface org.klojang.collections.WiredIterator
Inserts a new element just after the current element.
insertAll(int, Collection<? extends E>) - Method in class org.klojang.collections.CrisprList
Inserts the specified collection at the specified index, right-shifting the elements at and following the index.
insertAll(int, Collection<? extends E>) - Method in class org.klojang.collections.WiredList
Inserts the specified collection at the specified index, right-shifting the elements at and following the index.
insertBefore(E) - Method in interface org.klojang.collections.WiredIterator
Inserts a new element just before the current element.
isEmpty() - Method in class org.klojang.collections.CrisprList
Returns true if this list contains no elements.
iterator() - Method in class org.klojang.collections.CrisprList
Returns an Iterator that traverses the list from the first element to the last.

J

join(List<CrisprList<E>>) - Static method in class org.klojang.collections.CrisprList
Concatenates the provided CrisprList instances.
join(List<WiredList<E>>) - Static method in class org.klojang.collections.WiredList
Concatenates the provided WiredList instances.

L

last() - Method in class org.klojang.collections.CrisprList
Returns the last element of the list.
last() - Method in class org.klojang.collections.WiredList
Returns the last element of the list.
lastIndexOf(Object) - Method in class org.klojang.collections.CrisprList
Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element.
lchop(Predicate<? super E>) - Method in class org.klojang.collections.CrisprList
Removes and returns a segment from the start of the list.
lchop(Predicate<? super E>) - Method in class org.klojang.collections.WiredList
Removes and returns a segment from the start of the list.
listIterator() - Method in class org.klojang.collections.CrisprList
Returns a list iterator over the elements in this list (in proper sequence).
listIterator(int) - Method in class org.klojang.collections.CrisprList
Returns a list iterator over the elements in this list (in proper sequence), starting at the specified position in the list.

M

move(int, int, int) - Method in class org.klojang.collections.CrisprList
Moves a list segment forwards or backwards through the list.
move(int, int, int) - Method in class org.klojang.collections.WiredList
Moves a list segment forwards or backwards through the list.

N

nativeTypeMap(Map<Class<?>, V>) - Static method in interface org.klojang.collections.TypeMap
Returns a TypeMap that directly implements the Map interface rather than being backed by a regular map.
nativeTypeMap(Map<Class<?>, V>, boolean) - Static method in interface org.klojang.collections.TypeMap
Returns a TypeMap that directly implements the Map interface rather than being backed by a regular map.
nativeTypeMapBuilder() - Static method in interface org.klojang.collections.TypeMap
Returns a Builder for "native" type maps.
nativeTypeSet(boolean, Class<?>...) - Static method in interface org.klojang.collections.TypeSet
Returns a TypeSet that is internally backed by a nativeTypeMap().
nativeTypeSet(boolean, Collection<Class<?>>) - Static method in interface org.klojang.collections.TypeSet
Returns a TypeSet that is internally backed by a nativeTypeMap().
nativeTypeSet(Class<?>...) - Static method in interface org.klojang.collections.TypeSet
Returns a TypeSet that is internally backed by a nativeTypeMap().
nativeTypeSet(Collection<Class<?>>) - Static method in interface org.klojang.collections.TypeSet
Returns a TypeSet that is internally backed by a nativeTypeMap().

O

of() - Static method in class org.klojang.collections.CrisprList
Returns a new, empty CrisprList.
of() - Static method in class org.klojang.collections.WiredList
Returns a new, empty WiredList.
of(E) - Static method in class org.klojang.collections.CrisprList
Returns a new CrisprList containing the specified element.
of(E) - Static method in class org.klojang.collections.WiredList
Returns a new WiredList containing the specified element.
of(E, E) - Static method in class org.klojang.collections.CrisprList
Returns a new CrisprList containing the specified elements.
of(E, E) - Static method in class org.klojang.collections.WiredList
Returns a new WiredList containing the specified elements.
of(E, E, E, E...) - Static method in class org.klojang.collections.CrisprList
Returns a new CrisprList containing the specified elements.
of(E, E, E, E...) - Static method in class org.klojang.collections.WiredList
Returns a new WiredList containing the specified elements.
ofElements(E[]) - Static method in class org.klojang.collections.CrisprList
Returns a new CrisprList containing the specified elements.
ofElements(E[]) - Static method in class org.klojang.collections.WiredList
Returns a new WiredList containing the specified elements.
org.klojang.collections - module org.klojang.collections
A small collection of non-trivial additions to the Java Collections Framework.
org.klojang.collections - package org.klojang.collections
Classes extending the functionality of the Java Collection framework.

P

partition(int) - Method in class org.klojang.collections.CrisprList
Splits this CrisprList into multiple CrisprList instances of the specified size.
partition(int) - Method in class org.klojang.collections.WiredList
Splits this WiredList into multiple WiredList instances of the specified size.
paste(CrisprList<? super E>, int) - Method in class org.klojang.collections.CrisprList
Inserts this list into the specified list at the specified position.
paste(WiredList<? super E>, int) - Method in class org.klojang.collections.WiredList
Inserts this list into the specified list at the specified position.
peek() - Method in interface org.klojang.collections.WiredIterator
Returns the value that would be returned by a call to Iterator.next() without actually moving towards the next element.
prepend(E) - Method in class org.klojang.collections.CrisprList
Inserts the specified value at the start of the list, right-shifting the original elements.
prepend(E) - Method in class org.klojang.collections.WiredList
Inserts the specified value at the start of the list, right-shifting the original elements.
prependAll(Collection<? extends E>) - Method in class org.klojang.collections.CrisprList
Inserts the specified collection at the start of the list, right-shifting the original elements.
prependAll(Collection<? extends E>) - Method in class org.klojang.collections.WiredList
Inserts the specified collection at the start of the list, right-shifting the original elements.
prettySort(Collection<Class<?>>) - Static method in interface org.klojang.collections.TypeSet
Returns an unmodifiable Set in which the types in the provided collection are sorted according to their distance from Object.class.

R

rchop(Predicate<? super E>) - Method in class org.klojang.collections.CrisprList
Removes and returns a segment from the end of the list.
rchop(Predicate<? super E>) - Method in class org.klojang.collections.WiredList
Removes and returns a segment from the end of the list.
regionToArray(int, int) - Method in class org.klojang.collections.CrisprList
Returns an array containing the elements within the specified region of this list.
regionToArray(int, int) - Method in class org.klojang.collections.WiredList
Returns an array containing the elements within the specified region of this list.
regionToArray(int, int, Object[], int) - Method in class org.klojang.collections.CrisprList
Copies the specified region within this list to the specified position within the specified array.
regionToArray(int, int, Object[], int) - Method in class org.klojang.collections.WiredList
Copies the specified region within this list to the specified position within the specified array.
remove() - Method in interface org.klojang.collections.WiredIterator
Removes the current element from the underlying list.
remove(int) - Method in class org.klojang.collections.CrisprList
Removes the element at the specified position in this list.
remove(int) - Method in class org.klojang.collections.WiredList
Removes the element at the specified position in this list.
remove(Object) - Method in class org.klojang.collections.CrisprList
Removes the first occurrence of the specified element from this list, if it is present.
remove(Object) - Method in class org.klojang.collections.WiredList
Removes the first occurrence of the specified element from this list, if it is present.
removeAll(Collection<?>) - Method in class org.klojang.collections.CrisprList
 
removeFirst() - Method in class org.klojang.collections.CrisprList
Removes the first element from the list, left-shifting the remaining elements.
removeFirst() - Method in class org.klojang.collections.WiredList
Removes the first element from the list, left-shifting the remaining elements.
removeIf(Predicate<? super E>) - Method in class org.klojang.collections.CrisprList
Removes all elements of this collection that satisfy the given predicate.
removeIf(Predicate<? super E>) - Method in class org.klojang.collections.WiredList
Removes all elements of this collection that satisfy the given predicate.
removeLast() - Method in class org.klojang.collections.CrisprList
Removes the last element from the list.
removeLast() - Method in class org.klojang.collections.WiredList
Removes the last element from the list.
replace(int, int, CrisprList<? extends E>) - Method in class org.klojang.collections.CrisprList
Replaces the segment between fromIndex and toIndex with the elements in the specified list.
replace(int, int, WiredList<? extends E>) - Method in class org.klojang.collections.WiredList
Replaces the segment between fromIndex and toIndex with the elements in the specified list.
replaceAll(int, int, Collection<? extends E>) - Method in class org.klojang.collections.CrisprList
Replaces the segment between fromIndex and toIndex with the elements in the specified collection.
replaceAll(int, int, Collection<? extends E>) - Method in class org.klojang.collections.WiredList
Replaces the segment between fromIndex and toIndex with the elements in the specified collection.
replaceAll(UnaryOperator<E>) - Method in class org.klojang.collections.CrisprList
Replaces each element of this list with the result of applying the operator to that element.
replaceAll(UnaryOperator<E>) - Method in class org.klojang.collections.WiredList
Replaces each element of this list with the result of applying the operator to that element.
retainAll(Collection<?>) - Method in class org.klojang.collections.CrisprList
 
reverse() - Method in class org.klojang.collections.CrisprList
Reverses the order of the elements in this CrisprList.
reverse() - Method in class org.klojang.collections.WiredList
Reverses the order of the elements in this WiredList.
reverseIterator() - Method in class org.klojang.collections.CrisprList
Returns an Iterator that traverses the list from the last element to the first.
reverseIterator() - Method in class org.klojang.collections.WiredList
Returns an Iterator that traverses the list from the last element to the first.

S

set(int, E) - Method in class org.klojang.collections.CrisprList
Replaces the element at the specified position in this list with the specified element.
set(int, E, E, E...) - Method in class org.klojang.collections.CrisprList
Overwrites the elements at, and following the specified index with the provided values.
set(int, E, E, E...) - Method in class org.klojang.collections.WiredList
Overwrites the elements at, and following the specified index with the provided values.
set(E) - Method in interface org.klojang.collections.WiredIterator
Sets the value of the current element.
setIf(int, Predicate<? super E>, E) - Method in class org.klojang.collections.CrisprList
Sets the element at the specified index to the specified value if the original value passes the specified test.
setIf(int, Predicate<? super E>, E) - Method in class org.klojang.collections.WiredList
Sets the element at the specified index to the specified value if the original value passes the specified test.
shrink(int, int) - Method in class org.klojang.collections.CrisprList
Shrinks the list to between the specified boundaries.
shrink(int, int) - Method in class org.klojang.collections.WiredList
Shrinks the list to between the specified boundaries.
size() - Method in class org.klojang.collections.CrisprList
Returns the number of elements in this list.
SOURCE_MAP - Static variable in interface org.klojang.collections.TypeMap
 
split(int) - Method in class org.klojang.collections.CrisprList
Splits this CrisprList into the specified number of equally-sized CrisprList instances.
split(int) - Method in class org.klojang.collections.WiredList
Splits this WiredList into the specified number of equally-sized WiredList instances.
subList(int, int) - Method in class org.klojang.collections.CrisprList
Throws an UnsupportedOperationException.
subList(int, int) - Method in class org.klojang.collections.WiredList
Throws an UnsupportedOperationException.
swap(int, int, int, int) - Method in class org.klojang.collections.CrisprList
Swaps the two list segments defined by the specified boundary indexes.
swap(int, int, int, int) - Method in class org.klojang.collections.WiredList
Swaps the two list segments defined by the specified boundary indexes.

T

toArray() - Method in class org.klojang.collections.CrisprList
Returns an array containing all elements in this list in proper sequence (from first to last element).
toArray(T[]) - Method in class org.klojang.collections.CrisprList
Returns an array containing all elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.
toString() - Method in class org.klojang.collections.CrisprList
Returns a String representation of this list.
treeTypeMap(Map<Class<?>, V>) - Static method in interface org.klojang.collections.TypeMap
Returns a TypeMap that is backed by a TreeMap.
treeTypeMap(Map<Class<?>, V>, boolean) - Static method in interface org.klojang.collections.TypeMap
Returns a TypeMap that is backed by a TreeMap.
treeTypeMapBuilder() - Static method in interface org.klojang.collections.TypeMap
Returns a Builder for "tree" type maps.
treeTypeSet(boolean, Class<?>...) - Static method in interface org.klojang.collections.TypeSet
Returns a TypeSet that is internally backed by a treeTypeMap().
treeTypeSet(boolean, Collection<Class<?>>) - Static method in interface org.klojang.collections.TypeSet
Returns a TypeSet that is internally backed by a treeTypeMap().
treeTypeSet(Class<?>...) - Static method in interface org.klojang.collections.TypeSet
Returns a TypeSet that is internally backed by a treeTypeMap().
treeTypeSet(Collection<Class<?>>) - Static method in interface org.klojang.collections.TypeSet
Returns a TypeSet that is internally backed by a treeTypeMap().
turn() - Method in interface org.klojang.collections.WiredIterator
Flips the direction of the iteration.
TypeMap<V> - Interface in org.klojang.collections
A specialisation of the Map interface, aimed at providing natural default values for groups of Java types via a shared supertype.
TypeMapBuilder<V> - Interface in org.klojang.collections
Defines an interface for building TypeMap instances.
TypeSet - Interface in org.klojang.collections
An extension of the Set interface with behaviour analogous to the TypeMap interface.

V

value() - Method in interface org.klojang.collections.WiredIterator
Returns the value of the current element.

W

wiredIterator() - Method in class org.klojang.collections.CrisprList
Returns a WiredIterator that traverses the list from the first element to the last.
wiredIterator() - Method in class org.klojang.collections.WiredList
Returns a WiredIterator that traverses the list from the first element to the last.
wiredIterator(boolean) - Method in class org.klojang.collections.CrisprList
Returns a WiredIterator that traverses the list from the first element to the last, or the other way round, depending on the value of the argument
wiredIterator(boolean) - Method in class org.klojang.collections.WiredList
Returns a WiredIterator that traverses the list from the first element to the last, or the other way round, depending on the value of the argument
WiredIterator<E> - Interface in org.klojang.collections
A one-way-only iterator that, in practice, still provides the same functionality as ListIterator.
WiredList<E> - Class in org.klojang.collections
A doubly-linked list, much like the JDK's LinkedList, but exclusively focused on list manipulation while disregarding the queue-like aspects of linked lists.
WiredList() - Constructor for class org.klojang.collections.WiredList
Creates a new, empty WiredList.
WiredList(Collection<? extends E>) - Constructor for class org.klojang.collections.WiredList
Creates a new WiredList containing the elements in the specified Collection.
A C D E F G H I J L M N O P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values