A C D E F G H I L N O R S T U V

A

add(Array<T>) - Method in class net.sf.sido.array.Array
Appends elements
add(Collection<T>) - Method in class net.sf.sido.array.Array
Appends elements
add(T...) - Method in class net.sf.sido.array.Array
Appends elements
add(int, ArrayEventType, T) - Method in class net.sf.sido.array.ArrayEvent
 
add(Array<T>) - Method in class net.sf.sido.array.IndexedArray
 
add(Collection<T>) - Method in class net.sf.sido.array.IndexedArray
 
add(T...) - Method in class net.sf.sido.array.IndexedArray
 
Array<T> - Class in net.sf.sido.array
The Array class represents an immutable and ordered collection.
Array(Collection<T>) - Constructor for class net.sf.sido.array.Array
Constructor from a list or collection
Array(Collection<T>, ArrayEvent<T>) - Constructor for class net.sf.sido.array.Array
Protected constructor for event
Array(T...) - Constructor for class net.sf.sido.array.Array
Constructor from an array of elements
ArrayEvent<T> - Class in net.sf.sido.array
 
ArrayEvent() - Constructor for class net.sf.sido.array.ArrayEvent
 
ArrayEventElement<T> - Class in net.sf.sido.array
 
ArrayEventElement(int, ArrayEventType, T) - Constructor for class net.sf.sido.array.ArrayEventElement
 
ArrayEventType - Enum in net.sf.sido.array
 

C

checkKeys(Collection<T>) - Method in class net.sf.sido.array.IndexedArray
Checks that keys are unique
contains(int) - Method in class net.sf.sido.array.Range
Tests if this range contains a given value
createNewArray(List<T>, ArrayEvent<T>) - Method in class net.sf.sido.array.Array
Creates a new instance of an array
createNewArray(List<T>, ArrayEvent<T>) - Method in class net.sf.sido.array.IndexedArray
Creation of an IndexedArray by update/add/delete operations.

D

delete(int...) - Method in class net.sf.sido.array.Array
Deletes one or several elements using their indexes.
delete(int...) - Method in class net.sf.sido.array.IndexedArray
 

E

empty() - Static method in class net.sf.sido.array.Array
Creates an empty array.
equals(Object) - Method in class net.sf.sido.array.Array
 
equals(Object) - Method in class net.sf.sido.array.Range
Compares two ranges.
expand(int) - Method in class net.sf.sido.array.Range
Returns a range that has been expanded to include the given target.

F

filter(Predicate<T>) - Method in class net.sf.sido.array.Array
Filters the array using a predicate
filter(Predicate<T>) - Method in class net.sf.sido.array.IndexedArray
 
filterOnKeys(Predicate<K>) - Method in class net.sf.sido.array.IndexedArray
Filter this array using a predicate on the keys
from(List<E>, ArrayEventType, int...) - Static method in class net.sf.sido.array.ArrayEvent
 
from(Collection<?>) - Static method in class net.sf.sido.array.Range
Creates a range from the boundaries of a collection.
from(int, Collection<?>) - Static method in class net.sf.sido.array.Range
Creates a range from the boundaries of a collection, and offsets it.

G

get(int) - Method in class net.sf.sido.array.Array
Gets an element using its index
getArrayEvent() - Method in class net.sf.sido.array.Array
Gets the ArrayEvent associated with this Array.
getAt(Integer) - Method in class net.sf.sido.array.Array
Same method than get(int) but is useable for script engines like Groovy.
getByIndex(K) - Method in class net.sf.sido.array.IndexedArray
Gets an element by its key
getEventElements() - Method in class net.sf.sido.array.ArrayEvent
 
getFrom() - Method in class net.sf.sido.array.Range
Returns the minimum boundary.
getIndex() - Method in class net.sf.sido.array.ArrayEventElement
 
getIndexer() - Method in class net.sf.sido.array.IndexedArray
Returns the indexer function which is used by the indexed array.
getKeyArray() - Method in class net.sf.sido.array.IndexedArray
Returns all keys as an array
getKeyList() - Method in class net.sf.sido.array.IndexedArray
Returns a list of keys, ordered the same way of the items.
getKeys() - Method in class net.sf.sido.array.IndexedArray
Returns all keys as a set
getLength() - Method in class net.sf.sido.array.Array
Length of this array
getOrNull(int) - Method in class net.sf.sido.array.Array
Gets an element using its index and returns null if the index is not available.
getTo() - Method in class net.sf.sido.array.Range
Returns the maximum boundary.
getType() - Method in class net.sf.sido.array.ArrayEventElement
 
getValue() - Method in class net.sf.sido.array.ArrayEventElement
 

H

hashCode() - Method in class net.sf.sido.array.Array
 
hashCode() - Method in class net.sf.sido.array.Range
The hash code is computed from the boundaries

I

index(Function<T, K>) - Method in class net.sf.sido.array.Array
Returns an immutable index of the array using an indexing function.
IndexedArray<T,K> - Class in net.sf.sido.array
Array sub-class that indexes its elements using an indexer function
IndexedArray(Function<? super T, K>, Array<T>) - Constructor for class net.sf.sido.array.IndexedArray
Builds an indexed array from another array.
IndexedArray(Function<? super T, K>, Collection<T>) - Constructor for class net.sf.sido.array.IndexedArray
Builds an indexed array from a collection.
IndexedArray(Function<? super T, K>, T...) - Constructor for class net.sf.sido.array.IndexedArray
Builds an indexed array from an array.
IndexedArray(Collection<T>, ArrayEvent<T>, Function<? super T, K>) - Constructor for class net.sf.sido.array.IndexedArray
Internal constructor used to create indexed arrays with their array events.
indexes(Collection<?>) - Static method in class net.sf.sido.array.Range
Gets a range from a collection and returns the corresponding indexes.
indexes(int, Collection<?>) - Static method in class net.sf.sido.array.Range
Gets a range from a collection, offsets it and returns the corresponding indexes.
insert(int, Collection<T>) - Method in class net.sf.sido.array.Array
Appends elements at a given position
insert(int, T...) - Method in class net.sf.sido.array.Array
Appends elements at a given position
insert(int, T...) - Method in class net.sf.sido.array.IndexedArray
 
insert(int, Collection<T>) - Method in class net.sf.sido.array.IndexedArray
 
isEmpty() - Method in class net.sf.sido.array.Array
Checks if this array is empty
isNil() - Method in class net.sf.sido.array.Range
Checks if this range is nil or not.
isSingleton() - Method in class net.sf.sido.array.Range
Checks if this range is a singleton.
iterator() - Method in class net.sf.sido.array.Array
 
iterator() - Method in class net.sf.sido.array.ArrayEvent
 

L

length() - Method in class net.sf.sido.array.Array
Length (short version) - synonym for getLength()

N

net.sf.sido.array - package net.sf.sido.array
 
NIL - Static variable in class net.sf.sido.array.Range
Empty range
nil() - Static method in class net.sf.sido.array.Range
Returns the nil range

O

offset(int) - Method in class net.sf.sido.array.Range
Creates a new range that is offset from this range.

R

Range - Class in net.sf.sido.array
The Range class defines a range between two integers.
Range(int) - Constructor for class net.sf.sido.array.Range
Singleton constructor
Range(int, int) - Constructor for class net.sf.sido.array.Range
Constructor using two boundaries.
REGEX - Static variable in class net.sf.sido.array.Range
Regular expression pattern used to parse a Range from a String.
reverse() - Method in class net.sf.sido.array.Array
Creates a reversed version of this array
reverse() - Method in class net.sf.sido.array.IndexedArray
 

S

size() - Method in class net.sf.sido.array.Array
Length of this array.
size() - Method in class net.sf.sido.array.Range
Returns the size of this range.
sub(int, int) - Method in class net.sf.sido.array.Array
Sub array using a range between two indexes.
sub(int, int) - Method in class net.sf.sido.array.IndexedArray
 

T

toArray(int, int) - Static method in class net.sf.sido.array.Range
Utility method that creates an Array from a range.
toArray(int, int, Function<Integer, T>) - Static method in class net.sf.sido.array.Range
Utility method that creates an Array from a range.
toArray() - Method in class net.sf.sido.array.Range
Converts this range into an Array of Integer that contains all the indexes defined by this range.
toIndexedArray(int, int, Function<Integer, T>, Function<T, K>) - Static method in class net.sf.sido.array.Range
 
toIndexes() - Method in class net.sf.sido.array.Range
Returns the list of integers included in this range.
toList() - Method in class net.sf.sido.array.Array
Returns a list that contains all the elements of this array and in the same order.
toList(int, int, Function<Integer, T>) - Static method in class net.sf.sido.array.Range
 
toString() - Method in class net.sf.sido.array.Array
String representation.
toString() - Method in class net.sf.sido.array.IndexedArray
 
toString() - Method in class net.sf.sido.array.Range
Returns a representation string for this range.
transform(Function<? super T, V>) - Method in class net.sf.sido.array.Array
Transforms an array in another array.
transform(Function<? super T, V>, Function<? super V, L>) - Method in class net.sf.sido.array.IndexedArray
Transforms this indexed array by transforming the values and re-indexing them using a new indexer function.

U

update(int, T) - Method in class net.sf.sido.array.Array
Updates an element with a new value
update(int, T) - Method in class net.sf.sido.array.IndexedArray
 

V

valueOf(String) - Static method in enum net.sf.sido.array.ArrayEventType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class net.sf.sido.array.Range
Parses a Range from a String.
values() - Static method in enum net.sf.sido.array.ArrayEventType
Returns an array containing the constants of this enum type, in the order they are declared.

A C D E F G H I L N O R S T U V

Copyright © 2011. All Rights Reserved.