- add(Object) - Method in interface org.apache.commons.collections.Bag
-
(Violation)
Add the given object to the bag and keep a count.
- add(Object, int) - Method in interface org.apache.commons.collections.Bag
-
Add i
copies of the given object to the bag and
keep a count.
- add(Object) - Method in class org.apache.commons.collections.BinaryHeap
-
Adds an object to this heap.
- add(Object) - Method in class org.apache.commons.collections.BoundedFifoBuffer
-
Adds the given element to this buffer.
- add(Object) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Appends the specified element to the end of this list.
- add(int, Object) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Inserts the specified element at the specified position in this list.
- add(Object) - Method in class org.apache.commons.collections.CursorableLinkedList.Cursor
-
- add(Object) - Method in class org.apache.commons.collections.DefaultMapBag
-
Adds a new element to the bag by incrementing its count in the
underlying map.
- add(Object, int) - Method in class org.apache.commons.collections.DefaultMapBag
-
Adds a new element to the bag by incrementing its count in the map.
- add(Object) - Method in class org.apache.commons.collections.FastArrayList
-
Appends the specified element to the end of this list.
- add(int, Object) - Method in class org.apache.commons.collections.FastArrayList
-
Insert the specified element at the specified position in this list,
and shift all remaining elements up one position.
- add(Object) - Method in class org.apache.commons.collections.iterators.FilterListIterator
-
Not supported.
- add(Object) - Method in class org.apache.commons.collections.iterators.ListIteratorWrapper
-
Throws UnsupportedOperationException
.
- add(Object) - Method in class org.apache.commons.collections.iterators.ProxyListIterator
-
Invokes the underlying ListIterator.add(Object)
method.
- add(Object) - Method in class org.apache.commons.collections.iterators.SingletonListIterator
-
Add always throws UnsupportedOperationException
.
- add(Object) - Method in class org.apache.commons.collections.UnboundedFifoBuffer
-
Adds the given element to this buffer.
- addAll(Collection, Iterator) - Static method in class org.apache.commons.collections.CollectionUtils
-
Adds all elements in the iteration to the given collection.
- addAll(Collection, Enumeration) - Static method in class org.apache.commons.collections.CollectionUtils
-
Adds all elements in the enumeration to the given collection.
- addAll(Collection, Object[]) - Static method in class org.apache.commons.collections.CollectionUtils
-
Adds all elements in the array to the given collection.
- addAll(Collection) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Appends all of the elements in the specified collection to the end of
this list, in the order that they are returned by the specified
Collection
's Iterator
.
- addAll(int, Collection) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Inserts all of the elements in the specified collection into this
list at the specified position.
- addAll(Collection) - Method in class org.apache.commons.collections.DefaultMapBag
-
- addAll(Collection) - Method in class org.apache.commons.collections.FastArrayList
-
Append all of the elements in the specified Collection to the end
of this list, in the order that they are returned by the specified
Collection's Iterator.
- addAll(int, Collection) - Method in class org.apache.commons.collections.FastArrayList
-
Insert all of the elements in the specified Collection at the specified
position in this list, and shift any previous elements upwards as
needed.
- addComparator(Comparator) - Method in class org.apache.commons.collections.comparators.ComparatorChain
-
Add a Comparator to the end of the chain using the
forward sort order
- addComparator(Comparator, boolean) - Method in class org.apache.commons.collections.comparators.ComparatorChain
-
Add a Comparator to the end of the chain using the
given sort order
- addFirst(Object) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Inserts the specified element at the beginning of this list.
- addIterator(Iterator) - Method in class org.apache.commons.collections.iterators.CollatingIterator
-
Add the given Iterator
to my collection to collate.
- addIterator(Iterator) - Method in class org.apache.commons.collections.iterators.IteratorChain
-
Add an Iterator to the end of the chain
- addLast(Object) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Inserts the specified element at the end of this list.
- addProperty(String, Object) - Method in class org.apache.commons.collections.ExtendedProperties
-
Add a property to the configuration.
- ArrayIterator - Class in org.apache.commons.collections.iterators
-
Implements an Iterator
over an array of objects.
- ArrayIterator() - Constructor for class org.apache.commons.collections.iterators.ArrayIterator
-
Construct an ArrayIterator.
- ArrayIterator(Object) - Constructor for class org.apache.commons.collections.iterators.ArrayIterator
-
Construct an ArrayIterator that will iterate over the values in the
specified array.
- ArrayIterator(Object, int) - Constructor for class org.apache.commons.collections.iterators.ArrayIterator
-
Construct an ArrayIterator that will iterate over the values in the
specified array.
- ArrayIterator(Object, int, int) - Constructor for class org.apache.commons.collections.iterators.ArrayIterator
-
Construct an ArrayIterator that will iterate over the values in the
specified array.
- ArrayStack - Class in org.apache.commons.collections
-
An implementation of the Stack
API that is based on an
ArrayList
instead of a Vector
, so it is not
synchronized to protect against multi-threaded access.
- ArrayStack() - Constructor for class org.apache.commons.collections.ArrayStack
-
Constructs a new empty ArrayStack
.
- ArrayStack(int) - Constructor for class org.apache.commons.collections.ArrayStack
-
Constructs a new empty ArrayStack
with an initial size.
- asEnumeration(Iterator) - Static method in class org.apache.commons.collections.IteratorUtils
-
Gets an enumeration that wraps an iterator.
- asIterator(Enumeration) - Static method in class org.apache.commons.collections.IteratorUtils
-
Gets an iterator that provides an iterator view of the given enumeration.
- asIterator(Enumeration, Collection) - Static method in class org.apache.commons.collections.IteratorUtils
-
Gets an iterator that provides an iterator view of the given enumeration
that will remove elements from the specified collection.
- atomic(Runnable) - Method in class org.apache.commons.collections.StaticBucketMap
-
Prevents any operations from occuring on this map while the
given Runnable
executes.
- Bag - Interface in org.apache.commons.collections
-
A Collection
that counts the number of times an object appears in
the collection.
- BagUtils - Class in org.apache.commons.collections
-
Provides utility methods and decorators for
Bag
and
SortedBag
instances.
- basePath - Variable in class org.apache.commons.collections.ExtendedProperties
-
Base path of the configuration file used to create
this ExtendedProperties object.
- BeanMap - Class in org.apache.commons.collections
-
An implementation of Map for JavaBeans which uses introspection to
get and put properties in the bean.
- BeanMap() - Constructor for class org.apache.commons.collections.BeanMap
-
Constructs a new empty BeanMap
.
- BeanMap(Object) - Constructor for class org.apache.commons.collections.BeanMap
-
Constructs a new BeanMap
that operates on the
specified bean.
- BeanMap.MyMapEntry - Class in org.apache.commons.collections
-
- BeanMap.MyMapEntry(BeanMap, Object, Object) - Constructor for class org.apache.commons.collections.BeanMap.MyMapEntry
-
Constructs a new MyMapEntry
.
- BinaryHeap - Class in org.apache.commons.collections
-
- BinaryHeap() - Constructor for class org.apache.commons.collections.BinaryHeap
-
Constructs a new minimum binary heap.
- BinaryHeap(Comparator) - Constructor for class org.apache.commons.collections.BinaryHeap
-
Constructs a new BinaryHeap
that will use the given
comparator to order its elements.
- BinaryHeap(int) - Constructor for class org.apache.commons.collections.BinaryHeap
-
Constructs a new minimum binary heap with the specified initial capacity.
- BinaryHeap(int, Comparator) - Constructor for class org.apache.commons.collections.BinaryHeap
-
Constructs a new BinaryHeap
.
- BinaryHeap(boolean) - Constructor for class org.apache.commons.collections.BinaryHeap
-
Constructs a new minimum or maximum binary heap
- BinaryHeap(boolean, Comparator) - Constructor for class org.apache.commons.collections.BinaryHeap
-
Constructs a new BinaryHeap
.
- BinaryHeap(int, boolean) - Constructor for class org.apache.commons.collections.BinaryHeap
-
Constructs a new minimum or maximum binary heap with the specified
initial capacity.
- BinaryHeap(int, boolean, Comparator) - Constructor for class org.apache.commons.collections.BinaryHeap
-
Constructs a new BinaryHeap
.
- blockingBuffer(Buffer) - Static method in class org.apache.commons.collections.BufferUtils
-
- BoundedFifoBuffer - Class in org.apache.commons.collections
-
The BoundedFifoBuffer is a very efficient implementation of
Buffer that does not alter the size of the buffer at runtime.
- BoundedFifoBuffer() - Constructor for class org.apache.commons.collections.BoundedFifoBuffer
-
Constructs a new BoundedFifoBuffer
big enough to hold
32 elements.
- BoundedFifoBuffer(int) - Constructor for class org.apache.commons.collections.BoundedFifoBuffer
-
Constructs a new BoundedFifoBuffer
big enough to hold
the specified number of elements.
- BoundedFifoBuffer(Collection) - Constructor for class org.apache.commons.collections.BoundedFifoBuffer
-
Constructs a new BoundedFifoBuffer
big enough to hold all
of the elements in the specified collection.
- broadcastListableChanged(CursorableLinkedList.Listable) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Informs all of my registerd cursors that the specified
element was changed.
- broadcastListableInserted(CursorableLinkedList.Listable) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Informs all of my registered cursors tha the specifed
element was just added to my list.
- broadcastListableRemoved(CursorableLinkedList.Listable) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Informs all of my registered cursors tha the specifed
element was just removed from my list.
- Buffer - Interface in org.apache.commons.collections
-
A Buffer is a collection that allows objects to be removed in some
well-defined order.
- BufferOverflowException - Exception in org.apache.commons.collections
-
The BufferOverflowException is used when the buffer's capacity has been
exceeded.
- BufferOverflowException() - Constructor for exception org.apache.commons.collections.BufferOverflowException
-
Constructs a new BufferOverflowException
.
- BufferOverflowException(String) - Constructor for exception org.apache.commons.collections.BufferOverflowException
-
Construct a new BufferOverflowException
.
- BufferOverflowException(String, Throwable) - Constructor for exception org.apache.commons.collections.BufferOverflowException
-
Construct a new BufferOverflowException
.
- BufferUnderflowException - Exception in org.apache.commons.collections
-
The BufferUnderflowException is used when the buffer is already empty
- BufferUnderflowException() - Constructor for exception org.apache.commons.collections.BufferUnderflowException
-
Constructs a new BufferUnderflowException
.
- BufferUnderflowException(String) - Constructor for exception org.apache.commons.collections.BufferUnderflowException
-
Construct a new BufferUnderflowException
.
- BufferUnderflowException(String, Throwable) - Constructor for exception org.apache.commons.collections.BufferUnderflowException
-
Construct a new BufferUnderflowException
.
- BufferUtils - Class in org.apache.commons.collections
-
Contains static utility methods for operating on
Buffer
objects.
- calcTotalSize() - Method in class org.apache.commons.collections.DefaultMapBag
-
Actually walks the bag to make sure the count is correct and
resets the running total
- cardinality(Object, Collection) - Static method in class org.apache.commons.collections.CollectionUtils
-
Returns the number of occurrences of obj
in col.
- chainedComparator(Comparator, Comparator) - Static method in class org.apache.commons.collections.ComparatorUtils
-
Gets a comparator that compares using two Comparator
s.
- chainedComparator(Comparator[]) - Static method in class org.apache.commons.collections.ComparatorUtils
-
Gets a comparator that compares using an array of Comparator
s.
- chainedComparator(Collection) - Static method in class org.apache.commons.collections.ComparatorUtils
-
Gets a comparator that compares using a collection of Comparator
s.
- chainedIterator(Iterator, Iterator) - Static method in class org.apache.commons.collections.IteratorUtils
-
Gets an iterator that iterates through two Iterator
s
one after another.
- chainedIterator(Iterator[]) - Static method in class org.apache.commons.collections.IteratorUtils
-
Gets an iterator that iterates through an array of Iterator
s
one after another.
- chainedIterator(Collection) - Static method in class org.apache.commons.collections.IteratorUtils
-
Gets an iterator that iterates through a collections of Iterator
s
one after another.
- checkForComod() - Method in class org.apache.commons.collections.CursorableLinkedList.Cursor
-
- clear() - Method in class org.apache.commons.collections.BeanMap
-
This method reinitializes the bean map to have default values for the
bean's properties.
- clear() - Method in class org.apache.commons.collections.BinaryHeap
-
Clears all elements from queue.
- clear() - Method in class org.apache.commons.collections.BoundedFifoBuffer
-
Clears this buffer.
- clear() - Method in class org.apache.commons.collections.CursorableLinkedList
-
Removes all of the elements from this list.
- clear() - Method in class org.apache.commons.collections.DefaultMapBag
-
Clears the bag by clearing the underlying map.
- clear() - Method in class org.apache.commons.collections.DoubleOrderedMap
-
Removes all mappings from this map
- clear() - Method in class org.apache.commons.collections.FastArrayList
-
Remove all of the elements from this list.
- clear() - Method in class org.apache.commons.collections.FastHashMap
-
Remove all mappings from this map.
- clear() - Method in class org.apache.commons.collections.FastTreeMap
-
Remove all mappings from this map.
- clear() - Method in class org.apache.commons.collections.MultiHashMap
-
- clear() - Method in interface org.apache.commons.collections.PriorityQueue
-
Clear all elements from queue.
- clear() - Method in class org.apache.commons.collections.ProxyMap
-
Invokes the underlying Map.clear()
method.
- clear() - Method in class org.apache.commons.collections.ReferenceMap
-
Clears this map.
- clear() - Method in class org.apache.commons.collections.SequencedHashMap
-
Implements Map.clear()
.
- clear() - Method in class org.apache.commons.collections.StaticBucketMap
-
Implements Map.clear()
.
- clear() - Method in class org.apache.commons.collections.SynchronizedPriorityQueue
-
Clear all elements from queue.
- clearProperty(String) - Method in class org.apache.commons.collections.ExtendedProperties
-
Clear a property in the configuration.
- clone() - Method in class org.apache.commons.collections.BeanMap
-
Clone this bean map using the following process:
If there is no underlying bean, return a cloned BeanMap without a
bean.
- clone() - Method in class org.apache.commons.collections.FastArrayList
-
Return a shallow copy of this FastArrayList
instance.
- clone() - Method in class org.apache.commons.collections.FastHashMap
-
Return a shallow copy of this FastHashMap
instance.
- clone() - Method in class org.apache.commons.collections.FastTreeMap
-
Return a shallow copy of this FastTreeMap
instance.
- clone() - Method in class org.apache.commons.collections.MultiHashMap
-
- clone() - Method in class org.apache.commons.collections.SequencedHashMap
-
Creates a shallow copy of this object, preserving the internal structure
by copying only references.
- close() - Method in class org.apache.commons.collections.CursorableLinkedList.Cursor
-
- Closure - Interface in org.apache.commons.collections
-
An interface to represent some Closure, a block of code which is executed
from inside some block, function or iteration which operates on an input
object.
- collatedIterator(Comparator, Iterator, Iterator) - Static method in class org.apache.commons.collections.IteratorUtils
-
Gets an iterator that provides an ordered iteration over the elements
contained in a collection of ordered Iterator
s.
- collatedIterator(Comparator, Iterator[]) - Static method in class org.apache.commons.collections.IteratorUtils
-
Gets an iterator that provides an ordered iteration over the elements
contained in an array of Iterator
s.
- collatedIterator(Comparator, Collection) - Static method in class org.apache.commons.collections.IteratorUtils
-
Gets an iterator that provides an ordered iteration over the elements
contained in a collection of Iterator
s.
- CollatingIterator - Class in org.apache.commons.collections.iterators
-
Provides an ordered iteration over the elements contained in
a collection of ordered Iterator
s.
- CollatingIterator() - Constructor for class org.apache.commons.collections.iterators.CollatingIterator
-
Constructs a new CollatingIterator
.
- CollatingIterator(Comparator) - Constructor for class org.apache.commons.collections.iterators.CollatingIterator
-
Constructs a new CollatingIterator
that will used the
specified comparator for ordering.
- CollatingIterator(Comparator, int) - Constructor for class org.apache.commons.collections.iterators.CollatingIterator
-
Constructs a new CollatingIterator
that will used the
specified comparator for ordering and have the specified initial
capacity.
- CollatingIterator(Comparator, Iterator, Iterator) - Constructor for class org.apache.commons.collections.iterators.CollatingIterator
-
Constructs a new CollatingIterator
that will use the
specified comparator to provide ordered iteration over the two
given iterators.
- CollatingIterator(Comparator, Iterator[]) - Constructor for class org.apache.commons.collections.iterators.CollatingIterator
-
Constructs a new CollatingIterator
that will use the
specified comparator to provide ordered iteration over the array
of iterators.
- CollatingIterator(Comparator, Collection) - Constructor for class org.apache.commons.collections.iterators.CollatingIterator
-
Constructs a new CollatingIterator
that will use the
specified comparator to provide ordered iteration over the collection
of iterators.
- collect(Collection, Transformer) - Static method in class org.apache.commons.collections.CollectionUtils
-
Transforms all elements from inputCollection with the given transformer
and adds them to the outputCollection.
- collect(Iterator, Transformer) - Static method in class org.apache.commons.collections.CollectionUtils
-
Transforms all elements from the inputIterator with the given transformer
and adds them to the outputCollection.
- collect(Collection, Transformer, Collection) - Static method in class org.apache.commons.collections.CollectionUtils
-
Transforms all elements from inputCollection with the given transformer
and adds them to the outputCollection.
- collect(Iterator, Transformer, Collection) - Static method in class org.apache.commons.collections.CollectionUtils
-
Transforms all elements from the inputIterator with the given transformer
and adds them to the outputCollection.
- CollectionUtils - Class in org.apache.commons.collections
-
A set of Collection
related utility methods.
- CollectionUtils() - Constructor for class org.apache.commons.collections.CollectionUtils
-
Please don't ever instantiate a CollectionUtils
.
- combine(ExtendedProperties) - Method in class org.apache.commons.collections.ExtendedProperties
-
Combines an existing Hashtable with this Hashtable.
- ComparableComparator - Class in org.apache.commons.collections.comparators
-
A Comparator that compares Comparable objects.
- ComparableComparator() - Constructor for class org.apache.commons.collections.comparators.ComparableComparator
-
- comparator() - Method in class org.apache.commons.collections.FastTreeMap
-
Return the comparator used to order this map, or null
if this map uses its keys' natural order.
- comparator() - Method in interface org.apache.commons.collections.SortedBag
-
Returns the comparator associated with this sorted set, or null
if it uses its elements' natural ordering.
- comparator() - Method in class org.apache.commons.collections.TreeBag
-
- ComparatorChain - Class in org.apache.commons.collections.comparators
-
A ComparatorChain is a Comparator that wraps one or
more Comparators in sequence.
- ComparatorChain() - Constructor for class org.apache.commons.collections.comparators.ComparatorChain
-
Construct a ComparatorChain with no Comparators.
- ComparatorChain(Comparator) - Constructor for class org.apache.commons.collections.comparators.ComparatorChain
-
Construct a ComparatorChain with a single Comparator,
sorting in the forward order
- ComparatorChain(Comparator, boolean) - Constructor for class org.apache.commons.collections.comparators.ComparatorChain
-
Construct a Comparator chain with a single Comparator,
sorting in the given order
- ComparatorChain(List) - Constructor for class org.apache.commons.collections.comparators.ComparatorChain
-
Construct a ComparatorChain from the Comparators in the
List.
- ComparatorChain(List, BitSet) - Constructor for class org.apache.commons.collections.comparators.ComparatorChain
-
Construct a ComparatorChain from the Comparators in the
given List.
- comparatorChain - Variable in class org.apache.commons.collections.comparators.ComparatorChain
-
- ComparatorUtils - Class in org.apache.commons.collections
-
Provides convenient static utility methods for Comparator
objects.
- compare(Object, Object) - Method in class org.apache.commons.collections.comparators.ComparableComparator
-
- compare(Object, Object) - Method in class org.apache.commons.collections.comparators.ComparatorChain
-
Perform comaparisons on the Objects as per
Comparator.compare(o1,o2).
- compare(Object, Object) - Method in class org.apache.commons.collections.comparators.NullComparator
-
Perform a comparison between two objects.
- compare(Object, Object) - Method in class org.apache.commons.collections.comparators.ReverseComparator
-
- compare(Object, Object) - Method in class org.apache.commons.collections.comparators.TransformingComparator
-
Returns the result of comparing the values from the transform operation.
- contains(Object) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Returns true if this list contains the specified element.
- contains(Object) - Method in class org.apache.commons.collections.DefaultMapBag
-
Determines if the bag contains the given element by checking if the
underlying map contains the element as a key.
- contains(Object) - Method in class org.apache.commons.collections.FastArrayList
-
Return true
if this list contains the specified element.
- containsAll(Collection) - Method in interface org.apache.commons.collections.Bag
-
(Violation)
Returns true
if the bag contains all elements in
the given collection, respecting cardinality.
- containsAll(Collection) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Returns true if this list contains all of the elements of the
specified collection.
- containsAll(Collection) - Method in class org.apache.commons.collections.DefaultMapBag
-
- containsAll(Bag) - Method in class org.apache.commons.collections.DefaultMapBag
-
Returns true
if the bag contains all elements in
the given collection, respecting cardinality.
- containsAll(Collection) - Method in class org.apache.commons.collections.FastArrayList
-
Return true
if this list contains all of the elements
in the specified Collection.
- containsAny(Collection, Collection) - Static method in class org.apache.commons.collections.CollectionUtils
-
Returns true
iff some element of a
is also an element of b (or, equivalently, if
some element of b is also an element of a).
- containsKey(Object) - Method in class org.apache.commons.collections.BeanMap
-
Returns true if the bean defines a property with the given name.
- containsKey(Object) - Method in class org.apache.commons.collections.DoubleOrderedMap
-
Returns true if this map contains a mapping for the specified
key.
- containsKey(Object) - Method in class org.apache.commons.collections.FastHashMap
-
Return true
if this map contains a mapping for the
specified key.
- containsKey(Object) - Method in class org.apache.commons.collections.FastTreeMap
-
Return true
if this map contains a mapping for the
specified key.
- containsKey(Object) - Method in class org.apache.commons.collections.ProxyMap
-
Invokes the underlying Map.containsKey(Object)
method.
- containsKey(Object) - Method in class org.apache.commons.collections.ReferenceMap
-
Returns true
if this map contains the given key.
- containsKey(Object) - Method in class org.apache.commons.collections.SequencedHashMap
-
Implements Map.containsKey(Object)
.
- containsKey(Object) - Method in class org.apache.commons.collections.StaticBucketMap
-
Implements Map.containsKey(Object)
.
- containsValue(Object) - Method in class org.apache.commons.collections.BeanMap
-
Returns true if the bean defines a property whose current value is
the given object.
- containsValue(Object) - Method in class org.apache.commons.collections.DoubleOrderedMap
-
Returns true if this map maps one or more keys to the
specified value.
- containsValue(Object) - Method in class org.apache.commons.collections.FastHashMap
-
Return true
if this map contains one or more keys mapping
to the specified value.
- containsValue(Object) - Method in class org.apache.commons.collections.FastTreeMap
-
Return true
if this map contains one or more keys mapping
to the specified value.
- containsValue(Object) - Method in class org.apache.commons.collections.MultiHashMap
-
- containsValue(Object) - Method in class org.apache.commons.collections.ProxyMap
-
Invokes the underlying Map.containsValue(Object)
method.
- containsValue(Object) - Method in class org.apache.commons.collections.SequencedHashMap
-
Implements Map.containsValue(Object)
.
- containsValue(Object) - Method in class org.apache.commons.collections.StaticBucketMap
-
Implements Map.containsValue(Object)
.
- convertProperties(Properties) - Static method in class org.apache.commons.collections.ExtendedProperties
-
Convert a standard properties class into a configuration
class.
- convertType(Class, Object) - Method in class org.apache.commons.collections.BeanMap
-
Converts the given value to the given type.
- create() - Method in interface org.apache.commons.collections.Factory
-
Simple method from which will come the new object from the factory.
- createWriteMethodArguments(Method, Object) - Method in class org.apache.commons.collections.BeanMap
-
Creates an array of parameters to pass to the given mutator method.
- currentIterator - Variable in class org.apache.commons.collections.iterators.IteratorChain
-
- currentIteratorIndex - Variable in class org.apache.commons.collections.iterators.IteratorChain
-
- cursor() - Method in class org.apache.commons.collections.CursorableLinkedList
-
Returns a ListIterator
for iterating through the
elements of this list.
- cursor(int) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Returns a ListIterator
for iterating through the
elements of this list, initialized such that
ListIterator.next()
will return the element at
the specified index (if any) and ListIterator.previous()
will return the element immediately preceeding it (if any).
- CursorableLinkedList - Class in org.apache.commons.collections
-
A doubly-linked list implementation of the List
interface,
supporting a ListIterator
that allows concurrent modifications
to the underlying list.
- CursorableLinkedList() - Constructor for class org.apache.commons.collections.CursorableLinkedList
-
- CursorableLinkedList.Cursor - Class in org.apache.commons.collections
-
- empty() - Method in class org.apache.commons.collections.ArrayStack
-
Return true
if this stack is currently empty.
- EmptyIterator - Class in org.apache.commons.collections.iterators
-
Provides an implementation of an empty iterator.
- EmptyIterator() - Constructor for class org.apache.commons.collections.iterators.EmptyIterator
-
Constructor.
- EmptyListIterator - Class in org.apache.commons.collections.iterators
-
Provides an implementation of an empty list iterator.
- EmptyListIterator() - Constructor for class org.apache.commons.collections.iterators.EmptyListIterator
-
Constructor.
- END_TOKEN - Static variable in class org.apache.commons.collections.ExtendedProperties
-
- ensureCapacity(int) - Method in class org.apache.commons.collections.FastArrayList
-
Increase the capacity of this ArrayList
instance, if
necessary, to ensure that it can hold at least the number of elements
specified by the minimum capacity argument.
- entryIterator() - Method in class org.apache.commons.collections.BeanMap
-
Convenience method for getting an iterator over the entries.
- entrySet() - Method in class org.apache.commons.collections.BeanMap
-
Get the mappings for this BeanMap
- entrySet() - Method in class org.apache.commons.collections.DoubleOrderedMap
-
Returns a set view of the mappings contained in this map.
- entrySet() - Method in class org.apache.commons.collections.FastHashMap
-
Return a collection view of the mappings contained in this map.
- entrySet() - Method in class org.apache.commons.collections.FastTreeMap
-
Return a collection view of the mappings contained in this map.
- entrySet() - Method in class org.apache.commons.collections.ProxyMap
-
Invokes the underlying Map.entrySet()
method.
- entrySet() - Method in class org.apache.commons.collections.ReferenceMap
-
Returns a set view of this map's entries.
- entrySet() - Method in class org.apache.commons.collections.SequencedHashMap
-
Implements Map.entrySet()
.
- entrySet() - Method in class org.apache.commons.collections.StaticBucketMap
-
Implements Map.entrySet()
.
- entrySetByValue() - Method in class org.apache.commons.collections.DoubleOrderedMap
-
Returns a set view of the mappings contained in this map.
- EnumerationIterator - Class in org.apache.commons.collections.iterators
-
Adapter to make Enumeration
instances appear
to be Iterator
instances.
- EnumerationIterator() - Constructor for class org.apache.commons.collections.iterators.EnumerationIterator
-
- EnumerationIterator(Enumeration) - Constructor for class org.apache.commons.collections.iterators.EnumerationIterator
-
Constructs a new EnumerationIterator
that provides
an iterator view of the given enumeration.
- EnumerationIterator(Enumeration, Collection) - Constructor for class org.apache.commons.collections.iterators.EnumerationIterator
-
Constructs a new EnumerationIterator
that will remove
elements from the specified collection.
- equals(Object) - Method in class org.apache.commons.collections.comparators.NullComparator
-
Determines whether the specified object represents a comparator that is
equal to this comparator.
- equals(Object) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Compares the specified object with this list for equality.
- equals(Object) - Method in class org.apache.commons.collections.DefaultMapBag
-
Returns true if the given object is not null, has the precise type
of this bag, and contains the same number of occurrences of all the
same elements.
- equals(Object) - Method in class org.apache.commons.collections.DefaultMapEntry
-
Implemented per API documentation of
Map.Entry.equals(Object)
- equals(Object) - Method in class org.apache.commons.collections.FastArrayList
-
Compare the specified object with this list for equality.
- equals(Object) - Method in class org.apache.commons.collections.FastHashMap
-
Compare the specified object with this list for equality.
- equals(Object) - Method in class org.apache.commons.collections.FastTreeMap
-
Compare the specified object with this list for equality.
- equals(Object) - Method in class org.apache.commons.collections.ProxyMap
-
Invokes the underlying Map.equals(Object)
method.
- equals(Object) - Method in class org.apache.commons.collections.SequencedHashMap
-
Implements Map.equals(Object)
.
- equals(Object) - Method in class org.apache.commons.collections.StaticBucketMap
-
Implements Map.equals(Object)
.
- evaluate(Object) - Method in interface org.apache.commons.collections.Predicate
-
Returns true if the input object matches this predicate.
- execute(Object) - Method in interface org.apache.commons.collections.Closure
-
Performs some operation on the input object
- ExtendedProperties - Class in org.apache.commons.collections
-
This class extends normal Java properties by adding the possibility
to use the same key many times concatenating the value strings
instead of overwriting them.
- ExtendedProperties() - Constructor for class org.apache.commons.collections.ExtendedProperties
-
Creates an empty extended properties object.
- ExtendedProperties(String) - Constructor for class org.apache.commons.collections.ExtendedProperties
-
Creates and loads the extended properties from the specified
file.
- ExtendedProperties(String, String) - Constructor for class org.apache.commons.collections.ExtendedProperties
-
Creates and loads the extended properties from the specified
file.
- Factory - Interface in org.apache.commons.collections
-
Factory
A simple interface that describes the most basic means of having the ability
to create an object.
- fast - Variable in class org.apache.commons.collections.FastArrayList
-
Are we operating in "fast" mode?
- fast - Variable in class org.apache.commons.collections.FastHashMap
-
Are we operating in "fast" mode?
- fast - Variable in class org.apache.commons.collections.FastTreeMap
-
Are we operating in "fast" mode?
- FastArrayList - Class in org.apache.commons.collections
-
A customized implementation of java.util.ArrayList
designed
to operate in a multithreaded environment where the large majority of
method calls are read-only, instead of structural changes.
- FastArrayList() - Constructor for class org.apache.commons.collections.FastArrayList
-
Construct a an empty list.
- FastArrayList(int) - Constructor for class org.apache.commons.collections.FastArrayList
-
Construct an empty list with the specified capacity.
- FastArrayList(Collection) - Constructor for class org.apache.commons.collections.FastArrayList
-
Construct a list containing the elements of the specified collection,
in the order they are returned by the collection's iterator.
- FastHashMap - Class in org.apache.commons.collections
-
A customized implementation of java.util.HashMap
designed
to operate in a multithreaded environment where the large majority of
method calls are read-only, instead of structural changes.
- FastHashMap() - Constructor for class org.apache.commons.collections.FastHashMap
-
Construct a an empty map.
- FastHashMap(int) - Constructor for class org.apache.commons.collections.FastHashMap
-
Construct an empty map with the specified capacity.
- FastHashMap(int, float) - Constructor for class org.apache.commons.collections.FastHashMap
-
Construct an empty map with the specified capacity and load factor.
- FastHashMap(Map) - Constructor for class org.apache.commons.collections.FastHashMap
-
Construct a new map with the same mappings as the specified map.
- FastTreeMap - Class in org.apache.commons.collections
-
A customized implementation of java.util.TreeMap
designed
to operate in a multithreaded environment where the large majority of
method calls are read-only, instead of structural changes.
- FastTreeMap() - Constructor for class org.apache.commons.collections.FastTreeMap
-
Construct a an empty map.
- FastTreeMap(Comparator) - Constructor for class org.apache.commons.collections.FastTreeMap
-
Construct an empty map with the specified comparator.
- FastTreeMap(Map) - Constructor for class org.apache.commons.collections.FastTreeMap
-
Construct a new map with the same mappings as the specified map,
sorted according to the keys's natural order
- FastTreeMap(SortedMap) - Constructor for class org.apache.commons.collections.FastTreeMap
-
Construct a new map with the same mappings as the specified map,
sorted according to the same ordering
- file - Variable in class org.apache.commons.collections.ExtendedProperties
-
The file connected to this repository (holding comments and
such).
- fileSeparator - Variable in class org.apache.commons.collections.ExtendedProperties
-
File separator.
- filter(Collection, Predicate) - Static method in class org.apache.commons.collections.CollectionUtils
-
Filter the collection by applying a Predicate to each element.
- filteredIterator(Iterator, Predicate) - Static method in class org.apache.commons.collections.IteratorUtils
-
Gets an iterator that filters another iterator.
- filteredListIterator(ListIterator, Predicate) - Static method in class org.apache.commons.collections.IteratorUtils
-
Gets a list iterator that filters another list iterator.
- FilterIterator - Class in org.apache.commons.collections.iterators
-
A Proxy
Iterator
which takes a
Predicate
instance to filter
out objects from an underlying
Iterator
instance.
- FilterIterator() - Constructor for class org.apache.commons.collections.iterators.FilterIterator
-
Constructs a new
FilterIterator
that will not function
until
setIterator
is invoked.
- FilterIterator(Iterator) - Constructor for class org.apache.commons.collections.iterators.FilterIterator
-
Constructs a new
FilterIterator
that will not function
until
setPredicate
is invoked.
- FilterIterator(Iterator, Predicate) - Constructor for class org.apache.commons.collections.iterators.FilterIterator
-
Constructs a new FilterIterator
that will use the
given iterator and predicate.
- FilterListIterator - Class in org.apache.commons.collections.iterators
-
A proxy
ListIterator
which
takes a
Predicate
instance to filter
out objects from an underlying
ListIterator
instance.
- FilterListIterator() - Constructor for class org.apache.commons.collections.iterators.FilterListIterator
-
- FilterListIterator(ListIterator) - Constructor for class org.apache.commons.collections.iterators.FilterListIterator
-
Constructs a new
FilterListIterator
that will not
function until
setPredicate
is invoked.
- FilterListIterator(ListIterator, Predicate) - Constructor for class org.apache.commons.collections.iterators.FilterListIterator
-
Constructs a new FilterListIterator
.
- FilterListIterator(Predicate) - Constructor for class org.apache.commons.collections.iterators.FilterListIterator
-
Constructs a new
FilterListIterator
that will not
function until
setListIterator
is invoked.
- find(Collection, Predicate) - Static method in class org.apache.commons.collections.CollectionUtils
-
Finds the first element in the given collection which matches the given predicate.
- firePropertyChange(Object, Object, Object) - Method in class org.apache.commons.collections.BeanMap
-
- first() - Method in interface org.apache.commons.collections.SortedBag
-
Returns the first (lowest) member.
- first() - Method in class org.apache.commons.collections.TreeBag
-
- firstKey() - Method in class org.apache.commons.collections.FastTreeMap
-
Return the first (lowest) key currently in this sorted map.
- fixedSizeList(List) - Static method in class org.apache.commons.collections.ListUtils
-
Returns a fixed-sized list backed by the given list.
- fixedSizeMap(Map) - Static method in class org.apache.commons.collections.MapUtils
-
Returns a fixed-sized map backed by the given map.
- fixedSizeSortedMap(SortedMap) - Static method in class org.apache.commons.collections.MapUtils
-
Returns a fixed-sized sorted map backed by the given sorted map.
- forAllDo(Collection, Closure) - Static method in class org.apache.commons.collections.CollectionUtils
-
Executes the given closure on each element in the collection.
- get() - Method in class org.apache.commons.collections.ArrayStack
-
Returns the element on the top of the stack.
- get(Object) - Method in class org.apache.commons.collections.BeanMap
-
Returns the value of the bean's property with the given name.
- get() - Method in class org.apache.commons.collections.BinaryHeap
-
Returns the priority element.
- get() - Method in class org.apache.commons.collections.BoundedFifoBuffer
-
Returns the least recently inserted element in this buffer.
- get() - Method in interface org.apache.commons.collections.Buffer
-
Returns the next object in the buffer without removing it.
- get(int) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Returns the element at the specified position in this list.
- get(Object) - Method in class org.apache.commons.collections.DoubleOrderedMap
-
Returns the value to which this map maps the specified
key.
- get(int) - Method in class org.apache.commons.collections.FastArrayList
-
Return the element at the specified position in the list.
- get(Object) - Method in class org.apache.commons.collections.FastHashMap
-
Return the value to which this map maps the specified key.
- get(Object) - Method in class org.apache.commons.collections.FastTreeMap
-
Return the value to which this map maps the specified key.
- get(Object) - Method in class org.apache.commons.collections.LRUMap
-
Get the value for a key from the Map.
- get(Object) - Method in class org.apache.commons.collections.ProxyMap
-
Invokes the underlying Map.get(Object)
method.
- get(Object) - Method in class org.apache.commons.collections.ReferenceMap
-
Returns the value associated with the given key, if any.
- get(Object) - Method in class org.apache.commons.collections.SequencedHashMap
-
Implements Map.get(Object)
.
- get(int) - Method in class org.apache.commons.collections.SequencedHashMap
-
Returns the key at the specified index.
- get(Object) - Method in class org.apache.commons.collections.StaticBucketMap
-
Implements Map.get(Object)
.
- get() - Method in class org.apache.commons.collections.UnboundedFifoBuffer
-
Returns the next object in the buffer.
- getArray() - Method in class org.apache.commons.collections.iterators.ArrayIterator
-
Retrieves the array that this iterator is iterating over.
- getBean() - Method in class org.apache.commons.collections.BeanMap
-
Returns the bean currently being operated on.
- getBoolean(String) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a boolean associated with the given configuration key.
- getBoolean(String, boolean) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a boolean associated with the given configuration key.
- getBoolean(String, Boolean) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a boolean associated with the given configuration key.
- getBoolean(Map, Object) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, converting the result into
a Boolean
.
- getBoolean(Map, Object, Boolean) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, converting the result into
a boolean, using the default value if the the conversion fails.
- getByte(String) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a byte associated with the given configuration key.
- getByte(String, byte) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a byte associated with the given configuration key.
- getByte(String, Byte) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a byte associated with the given configuration key.
- getByte(Map, Object) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, converting the result into
a Byte
.
- getByte(Map, Object, Byte) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, converting the result into
a byte, using the default value if the the conversion fails.
- getCardinalityMap(Collection) - Static method in class org.apache.commons.collections.CollectionUtils
-
Returns a Map
mapping each unique element in
the given Collection
to an Integer
representing the number of occurances of that element
in the Collection
.
- getCause() - Method in exception org.apache.commons.collections.BufferOverflowException
-
Gets the root cause of the exception.
- getCause() - Method in exception org.apache.commons.collections.BufferUnderflowException
-
Gets the root cause of the exception.
- getComparator() - Method in class org.apache.commons.collections.iterators.CollatingIterator
-
Get the Comparator
by which I collate.
- getCount(Object) - Method in interface org.apache.commons.collections.Bag
-
Return the number of occurrences (cardinality) of the given
object currently in the bag.
- getCount(Object) - Method in class org.apache.commons.collections.DefaultMapBag
-
Returns the number of occurrence of the given element in this bag
by looking up its count in the underlying map.
- getDouble(String) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a double associated with the given configuration key.
- getDouble(String, double) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a double associated with the given configuration key.
- getDouble(String, Double) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a double associated with the given configuration key.
- getDouble(Map, Object) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, converting the result into
a Double
.
- getDouble(Map, Object, Double) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, converting the result into
a double, using the default value if the the conversion fails.
- getEnumeration() - Method in class org.apache.commons.collections.iterators.EnumerationIterator
-
Returns the underlying enumeration.
- getFast() - Method in class org.apache.commons.collections.FastArrayList
-
Returns true if this list is operating in fast mode.
- getFast() - Method in class org.apache.commons.collections.FastHashMap
-
Returns true if this map is operating in fast mode.
- getFast() - Method in class org.apache.commons.collections.FastTreeMap
-
Returns true if this map is operating in fast mode.
- getFirst() - Method in class org.apache.commons.collections.CursorableLinkedList
-
Returns the element at the beginning of this list.
- getFirst() - Method in class org.apache.commons.collections.SequencedHashMap
-
Return the entry for the "oldest" mapping.
- getFirstKey() - Method in class org.apache.commons.collections.SequencedHashMap
-
Return the key for the "oldest" mapping.
- getFirstValue() - Method in class org.apache.commons.collections.SequencedHashMap
-
Return the value for the "oldest" mapping.
- getFloat(String) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a float associated with the given configuration key.
- getFloat(String, float) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a float associated with the given configuration key.
- getFloat(String, Float) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a float associated with the given configuration key.
- getFloat(Map, Object) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, converting the result into
a Float
.
- getFloat(Map, Object, Float) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, converting the result into
a float, using the default value if the the conversion fails.
- getInclude() - Method in class org.apache.commons.collections.ExtendedProperties
-
Gets the property value for including other properties files.
- getInstance() - Static method in class org.apache.commons.collections.comparators.ComparableComparator
-
Return a shared instance of a ComparableComparator.
- getInt(String) - Method in class org.apache.commons.collections.ExtendedProperties
-
The purpose of this method is to get the configuration resource
with the given name as an integer.
- getInt(String, int) - Method in class org.apache.commons.collections.ExtendedProperties
-
The purpose of this method is to get the configuration resource
with the given name as an integer, or a default value.
- getInteger(String) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a int associated with the given configuration key.
- getInteger(String, int) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a int associated with the given configuration key.
- getInteger(String, Integer) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a int associated with the given configuration key.
- getInteger(Map, Object) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, converting the result into
an Integer
.
- getInteger(Map, Object, Integer) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, converting the result into
an integer, using the default value if the the conversion fails.
- getIterator() - Method in class org.apache.commons.collections.iterators.IteratorEnumeration
-
Returns the underlying iterator.
- getIterator() - Method in class org.apache.commons.collections.iterators.ProxyIterator
-
Getter for property iterator.
- getIterator(Object) - Static method in class org.apache.commons.collections.IteratorUtils
-
Gets a suitable Iterator for the given object.
- getIterators() - Method in class org.apache.commons.collections.iterators.CollatingIterator
-
Get the list of Iterators (unmodifiable)
- getIterators() - Method in class org.apache.commons.collections.iterators.IteratorChain
-
Get the list of Iterators (unmodifiable)
- getKey() - Method in class org.apache.commons.collections.DefaultMapEntry
-
Returns the key.
- getKeyForValue(Object) - Method in class org.apache.commons.collections.DoubleOrderedMap
-
Returns the key to which this map maps the specified value.
- getKeys() - Method in class org.apache.commons.collections.ExtendedProperties
-
Get the list of the keys contained in the configuration
repository.
- getKeys(String) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get the list of the keys contained in the configuration
repository that match the specified prefix.
- getLast() - Method in class org.apache.commons.collections.CursorableLinkedList
-
Returns the element at the end of this list.
- getLast() - Method in class org.apache.commons.collections.SequencedHashMap
-
Return the entry for the "newest" mapping.
- getLastKey() - Method in class org.apache.commons.collections.SequencedHashMap
-
Return the key for the "newest" mapping.
- getLastValue() - Method in class org.apache.commons.collections.SequencedHashMap
-
Return the value for the "newest" mapping.
- getListableAt(int) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Returns the
CursorableLinkedList.Listable
at the specified index.
- getListIterator() - Method in class org.apache.commons.collections.iterators.ProxyListIterator
-
Getter for property iterator.
- getLong(String) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a long associated with the given configuration key.
- getLong(String, long) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a long associated with the given configuration key.
- getLong(String, Long) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a long associated with the given configuration key.
- getLong(Map, Object) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, converting the result into
a Long
.
- getLong(Map, Object, Long) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, converting the result into
a long, using the default value if the the conversion fails.
- getMap() - Method in class org.apache.commons.collections.DefaultMapBag
-
Utility method for implementations to access the map that backs
this bag.
- getMap(Map, Object) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, returning another map.
- getMap(Map, Object, Map) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, converting the result into
a map, using the default value if the the conversion fails.
- getMaximumSize() - Method in class org.apache.commons.collections.LRUMap
-
Getter for property maximumSize.
- getName() - Method in class org.apache.commons.collections.MultiHashMap
-
- getNumber(Map, Object) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, converting the result into
a Number
.
- getNumber(Map, Object, Number) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, converting the result into
a number, using the default value if the the conversion fails.
- getObject(Map, Object) - Static method in class org.apache.commons.collections.MapUtils
-
Synonym for Map.get(Object)
.
- getObject(Map, Object, Object) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, converting null into the
given default value.
- getPredicate() - Method in class org.apache.commons.collections.iterators.FilterIterator
-
Getter for property predicate.
- getPredicate() - Method in class org.apache.commons.collections.iterators.FilterListIterator
-
Getter for the predicate property.
- getProperties(String) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a list of properties associated with the given
configuration key.
- getProperties(String, Properties) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a list of properties associated with the given
configuration key.
- getProperty(String) - Method in class org.apache.commons.collections.ExtendedProperties
-
Gets a property from the configuration.
- getReadMethod(Object) - Method in class org.apache.commons.collections.BeanMap
-
Returns the accessor for the property with the given name.
- getShort(String) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a short associated with the given configuration key.
- getShort(String, short) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a short associated with the given configuration key.
- getShort(String, Short) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a short associated with the given configuration key.
- getShort(Map, Object) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, converting the result into
a Short
.
- getShort(Map, Object, Short) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, converting the result into
a short, using the default value if the the conversion fails.
- getString(String) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a string associated with the given configuration key.
- getString(String, String) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a string associated with the given configuration key.
- getString(Map, Object) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, converting the result into
a string.
- getString(Map, Object, String) - Static method in class org.apache.commons.collections.MapUtils
-
Looks up the given key in the given map, converting the result into
a string, using the default value if the the conversion fails.
- getStringArray(String) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get an array of strings associated with the given configuration
key.
- getTransformer() - Method in class org.apache.commons.collections.iterators.TransformIterator
-
Getter for property transformer.
- getType(String) - Method in class org.apache.commons.collections.BeanMap
-
Returns the type of the property with the given name.
- getTypeTransformer(Class) - Method in class org.apache.commons.collections.BeanMap
-
Returns a transformer for the given primitive type.
- getValue() - Method in class org.apache.commons.collections.DefaultMapEntry
-
Returns the value.
- getValue(int) - Method in class org.apache.commons.collections.SequencedHashMap
-
Returns the value at the specified index.
- getVector(String) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a Vector of strings associated with the given configuration
key.
- getVector(String, Vector) - Method in class org.apache.commons.collections.ExtendedProperties
-
Get a Vector of strings associated with the given configuration
key.
- getWriteMethod(Object) - Method in class org.apache.commons.collections.BeanMap
-
Returns the mutator for the property with the given name.
- grow() - Method in class org.apache.commons.collections.BinaryHeap
-
Increases the size of the heap to support additional elements
- include - Static variable in class org.apache.commons.collections.ExtendedProperties
-
This is the name of the property that can point to other
properties file for including other properties files.
- index(Object, int) - Static method in class org.apache.commons.collections.CollectionUtils
-
Given an Object, and an index, it will get the nth value in the
object.
- index(Object, Object) - Static method in class org.apache.commons.collections.CollectionUtils
-
Given an Object, and a key (index), it will get value associated with
that key in the Object.
- indexOf(Object) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Returns the index in this list of the first occurrence of the specified
element, or -1 if this list does not contain this element.
- indexOf(Object) - Method in class org.apache.commons.collections.FastArrayList
-
Search for the first occurrence of the given argument, testing
for equality using the equals()
method, and return
the corresponding index, or -1 if the object is not found.
- indexOf(Object) - Method in class org.apache.commons.collections.SequencedHashMap
-
Returns the index of the specified key.
- insert(Object) - Method in class org.apache.commons.collections.BinaryHeap
-
Inserts an element into queue.
- insert(Object) - Method in interface org.apache.commons.collections.PriorityQueue
-
Insert an element into queue.
- insert(Object) - Method in class org.apache.commons.collections.SynchronizedPriorityQueue
-
Insert an element into queue.
- insertListable(CursorableLinkedList.Listable, CursorableLinkedList.Listable, Object) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Inserts a new value into my
list, after the specified before element, and before the
specified after element
- INSTANCE - Static variable in class org.apache.commons.collections.iterators.EmptyIterator
-
Singleton instance of the iterator.
- INSTANCE - Static variable in class org.apache.commons.collections.iterators.EmptyListIterator
-
Singleton instance of the iterator.
- interpolate(String) - Method in class org.apache.commons.collections.ExtendedProperties
-
- intersection(Collection, Collection) - Static method in class org.apache.commons.collections.CollectionUtils
-
Returns a Collection
containing the intersection
of the given Collection
s.
- intersection(List, List) - Static method in class org.apache.commons.collections.ListUtils
-
Returns a new list containing all elements that are contained in
both given lists.
- invalidate() - Method in class org.apache.commons.collections.CursorableLinkedList.Cursor
-
- invalidateCursors() - Method in class org.apache.commons.collections.CursorableLinkedList
-
Informs all of my registerd cursors that they are now
invalid.
- isEmpty() - Method in class org.apache.commons.collections.BinaryHeap
-
Tests if queue is empty.
- isEmpty() - Method in class org.apache.commons.collections.BoundedFifoBuffer
-
Returns true if this buffer is empty; false otherwise.
- isEmpty() - Method in class org.apache.commons.collections.CursorableLinkedList
-
Returns true if this list contains no elements.
- isEmpty() - Method in class org.apache.commons.collections.DefaultMapBag
-
Returns true if the underlying map is empty.
- isEmpty() - Method in class org.apache.commons.collections.FastArrayList
-
Test if this list has no elements.
- isEmpty() - Method in class org.apache.commons.collections.FastHashMap
-
Return true
if this map contains no mappings.
- isEmpty() - Method in class org.apache.commons.collections.FastTreeMap
-
Test if this list has no elements.
- isEmpty() - Method in interface org.apache.commons.collections.PriorityQueue
-
Test if queue is empty.
- isEmpty() - Method in class org.apache.commons.collections.ProxyMap
-
Invokes the underlying Map.isEmpty()
method.
- isEmpty() - Method in class org.apache.commons.collections.ReferenceMap
-
Returns true
if this map is empty.
- isEmpty() - Method in class org.apache.commons.collections.SequencedHashMap
-
Implements Map.isEmpty()
.
- isEmpty() - Method in class org.apache.commons.collections.StaticBucketMap
-
Implements Map.isEmpty()
.
- isEmpty() - Method in class org.apache.commons.collections.SynchronizedPriorityQueue
-
Test if queue is empty.
- isEmpty() - Method in class org.apache.commons.collections.UnboundedFifoBuffer
-
Returns true if this buffer is empty; false otherwise.
- isEqualCollection(Collection, Collection) - Static method in class org.apache.commons.collections.CollectionUtils
-
Returns true iff the given Collection
s contain
exactly the same elements with exactly the same cardinality.
- isFull() - Method in class org.apache.commons.collections.BinaryHeap
-
Tests if queue is full.
- isInitialized - Variable in class org.apache.commons.collections.ExtendedProperties
-
Has this configuration been intialized.
- isInitialized() - Method in class org.apache.commons.collections.ExtendedProperties
-
Indicate to client code whether property
resources have been initialized or not.
- isLocked - Variable in class org.apache.commons.collections.comparators.ComparatorChain
-
- isLocked() - Method in class org.apache.commons.collections.comparators.ComparatorChain
-
Determine if modifications can still be made to the
ComparatorChain.
- isLocked - Variable in class org.apache.commons.collections.iterators.IteratorChain
-
- isLocked() - Method in class org.apache.commons.collections.iterators.IteratorChain
-
Determine if modifications can still be made to the
IteratorChain.
- isProperSubCollection(Collection, Collection) - Static method in class org.apache.commons.collections.CollectionUtils
-
Returns true iff a is a proper sub-collection of b,
that is, iff the cardinality of e in a is less
than or equal to the cardinality of e in b,
for each element e in a, and there is at least one
element f such that the cardinality of f in b
is strictly greater than the cardinality of f in a.
- isSubCollection(Collection, Collection) - Static method in class org.apache.commons.collections.CollectionUtils
-
Returns true iff a is a sub-collection of b,
that is, iff the cardinality of e in a is less
than or equal to the cardinality of e in b,
for each element e in a.
- iterator() - Method in interface org.apache.commons.collections.Bag
-
Returns an Iterator
over the entire set of members,
including copies due to cardinality.
- iterator() - Method in class org.apache.commons.collections.BinaryHeap
-
Returns an iterator over this heap's elements.
- iterator() - Method in class org.apache.commons.collections.BoundedFifoBuffer
-
Returns an iterator over this buffer's elements.
- iterator() - Method in class org.apache.commons.collections.CursorableLinkedList
-
Returns a fail-fast iterator.
- iterator() - Method in class org.apache.commons.collections.DefaultMapBag
-
- iterator() - Method in class org.apache.commons.collections.FastArrayList
-
Return an iterator over the elements in this list in proper sequence.
- iterator() - Method in class org.apache.commons.collections.SequencedHashMap
-
Returns a key iterator.
- iterator() - Method in class org.apache.commons.collections.UnboundedFifoBuffer
-
Returns an iterator over this buffer's elements.
- IteratorChain - Class in org.apache.commons.collections.iterators
-
An IteratorChain is an Iterator that wraps one or
more Iterators.
- IteratorChain() - Constructor for class org.apache.commons.collections.iterators.IteratorChain
-
Construct an IteratorChain with no Iterators.
- IteratorChain(Iterator) - Constructor for class org.apache.commons.collections.iterators.IteratorChain
-
Construct an IteratorChain with a single Iterator.
- IteratorChain(Iterator, Iterator) - Constructor for class org.apache.commons.collections.iterators.IteratorChain
-
Constructs a new IteratorChain
over the two
given iterators.
- IteratorChain(Iterator[]) - Constructor for class org.apache.commons.collections.iterators.IteratorChain
-
Constructs a new IteratorChain
over the array
of iterators.
- IteratorChain(Collection) - Constructor for class org.apache.commons.collections.iterators.IteratorChain
-
Constructs a new IteratorChain
over the collection
of iterators.
- iteratorChain - Variable in class org.apache.commons.collections.iterators.IteratorChain
-
- IteratorEnumeration - Class in org.apache.commons.collections.iterators
-
Adapter to make an Iterator
instance appear to be an Enumeration
instances
- IteratorEnumeration() - Constructor for class org.apache.commons.collections.iterators.IteratorEnumeration
-
Constructs a new
IteratorEnumeration
that will not
function until
setIterator
is
invoked.
- IteratorEnumeration(Iterator) - Constructor for class org.apache.commons.collections.iterators.IteratorEnumeration
-
Constructs a new IteratorEnumeration
that will use
the given iterator.
- IteratorUtils - Class in org.apache.commons.collections
-
Provides static utility methods and decorators for Iterator
instances.
- last() - Method in interface org.apache.commons.collections.SortedBag
-
Returns the last (highest) member.
- last() - Method in class org.apache.commons.collections.TreeBag
-
- lastIndexOf(Object) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Returns the index in this list of the last occurrence of the specified
element, or -1 if this list does not contain this element.
- lastIndexOf(Object) - Method in class org.apache.commons.collections.FastArrayList
-
Search for the last occurrence of the given argument, testing
for equality using the equals()
method, and return
the corresponding index, or -1 if the object is not found.
- lastIndexOf(Object) - Method in class org.apache.commons.collections.SequencedHashMap
-
Returns the last index of the specified key.
- lastKey() - Method in class org.apache.commons.collections.FastTreeMap
-
Return the last (highest) key currently in this sorted map.
- lastUsedIterator - Variable in class org.apache.commons.collections.iterators.IteratorChain
-
- lazyList(List, Factory) - Static method in class org.apache.commons.collections.ListUtils
-
Returns a "lazy" list whose elements will be created on demand.
- lazyMap(Map, Factory) - Static method in class org.apache.commons.collections.MapUtils
-
Returns a "lazy" map whose values will be created on demand.
- lazySortedMap(SortedMap, Factory) - Static method in class org.apache.commons.collections.MapUtils
-
Returns a "lazy" sorted map whose values will be created on demand.
- list - Variable in class org.apache.commons.collections.FastArrayList
-
The underlying list we are managing.
- listableChanged(CursorableLinkedList.Listable) - Method in class org.apache.commons.collections.CursorableLinkedList.Cursor
-
- listableInserted(CursorableLinkedList.Listable) - Method in class org.apache.commons.collections.CursorableLinkedList.Cursor
-
- listableRemoved(CursorableLinkedList.Listable) - Method in class org.apache.commons.collections.CursorableLinkedList.Cursor
-
- listIterator() - Method in class org.apache.commons.collections.CursorableLinkedList
-
Returns a fail-fast ListIterator.
- listIterator(int) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Returns a fail-fast ListIterator.
- listIterator() - Method in class org.apache.commons.collections.FastArrayList
-
Return an iterator of the elements of this list, in proper sequence.
- listIterator(int) - Method in class org.apache.commons.collections.FastArrayList
-
Return an iterator of the elements of this list, in proper sequence,
starting at the specified position.
- ListIteratorWrapper - Class in org.apache.commons.collections.iterators
-
As the wrapped Iterator is traversed, ListIteratorWrapper
builds a LinkedList of its values, permitting all required
operations of ListIterator.
- ListIteratorWrapper(Iterator) - Constructor for class org.apache.commons.collections.iterators.ListIteratorWrapper
-
Constructs a new ListIteratorWrapper
that will wrap
the given iterator.
- ListUtils - Class in org.apache.commons.collections
-
Contains static utility methods and decorators for List
instances.
- ListUtils() - Constructor for class org.apache.commons.collections.ListUtils
-
Please don't ever instantiate a ListUtils
.
- load(InputStream) - Method in class org.apache.commons.collections.ExtendedProperties
-
Load the properties from the given input stream.
- load(InputStream, String) - Method in class org.apache.commons.collections.ExtendedProperties
-
Load the properties from the given input stream
and using the specified encoding.
- logInfo(Exception) - Method in class org.apache.commons.collections.BeanMap
-
Logs the given exception to System.out
.
- logInfo(Exception) - Static method in class org.apache.commons.collections.MapUtils
-
Logs the given exception to System.out
.
- logWarn(Exception) - Method in class org.apache.commons.collections.BeanMap
-
Logs the given exception to System.err
.
- LRUMap - Class in org.apache.commons.collections
-
An implementation of a Map which has a maximum size and uses a Least Recently Used
algorithm to remove items from the Map when the maximum size is reached and new items are added.
- LRUMap() - Constructor for class org.apache.commons.collections.LRUMap
-
Default constructor, primarily for the purpose of
de-externalization.
- LRUMap(int) - Constructor for class org.apache.commons.collections.LRUMap
-
Create a new LRUMap with a maximum capacity of i.
- peek() - Method in class org.apache.commons.collections.ArrayStack
-
Returns the top item off of this stack without removing it.
- peek(int) - Method in class org.apache.commons.collections.ArrayStack
-
Returns the n'th item down (zero-relative) from the top of this
stack without removing it.
- peek() - Method in class org.apache.commons.collections.BinaryHeap
-
Returns the element on top of heap but don't remove it.
- peek() - Method in interface org.apache.commons.collections.PriorityQueue
-
Return element on top of heap but don't remove it.
- peek() - Method in class org.apache.commons.collections.SynchronizedPriorityQueue
-
Return element on top of heap but don't remove it.
- percolateDownMaxHeap(int) - Method in class org.apache.commons.collections.BinaryHeap
-
Percolates element down heap from top.
- percolateDownMinHeap(int) - Method in class org.apache.commons.collections.BinaryHeap
-
Percolates element down heap from top.
- percolateUpMaxHeap(Object) - Method in class org.apache.commons.collections.BinaryHeap
-
Percolates element up heap from bottom.
- percolateUpMinHeap(Object) - Method in class org.apache.commons.collections.BinaryHeap
-
Percolates element up heap from bottom.
- pop() - Method in class org.apache.commons.collections.ArrayStack
-
Pops the top item off of this stack and return it.
- pop() - Method in class org.apache.commons.collections.BinaryHeap
-
Returns the element on top of heap and remove it.
- pop() - Method in interface org.apache.commons.collections.PriorityQueue
-
Return element on top of heap and remove it.
- pop() - Method in class org.apache.commons.collections.SynchronizedPriorityQueue
-
Return element on top of heap and remove it.
- Predicate - Interface in org.apache.commons.collections
-
Performs some predicate which returns true or false based on the input object.
- predicatedBag(Bag, Predicate) - Static method in class org.apache.commons.collections.BagUtils
-
Returns a predicated bag backed by the given bag.
- predicatedBuffer(Buffer, Predicate) - Static method in class org.apache.commons.collections.BufferUtils
-
Returns a predicated buffer backed by the given buffer.
- predicatedCollection(Collection, Predicate) - Static method in class org.apache.commons.collections.CollectionUtils
-
Returns a predicated collection backed by the given collection.
- predicatedList(List, Predicate) - Static method in class org.apache.commons.collections.ListUtils
-
Returns a predicated list backed by the given list.
- predicatedMap(Map, Predicate, Predicate) - Static method in class org.apache.commons.collections.MapUtils
-
Returns a predicated map backed by the given map.
- predicatedSet(Set, Predicate) - Static method in class org.apache.commons.collections.SetUtils
-
Returns a predicated set backed by the given set.
- predicatedSortedBag(SortedBag, Predicate) - Static method in class org.apache.commons.collections.BagUtils
-
Returns a predicated sorted bag backed by the given sorted bag.
- predicatedSortedMap(SortedMap, Predicate, Predicate) - Static method in class org.apache.commons.collections.MapUtils
-
Returns a predicated sorted map backed by the given map.
- predicatedSortedSet(SortedSet, Predicate) - Static method in class org.apache.commons.collections.SetUtils
-
Returns a predicated sorted set backed by the given sorted set.
- previous() - Method in class org.apache.commons.collections.iterators.FilterListIterator
-
- previous() - Method in class org.apache.commons.collections.iterators.ListIteratorWrapper
-
Returns the the previous element.
- previous() - Method in class org.apache.commons.collections.iterators.ProxyListIterator
-
Invokes the underlying ListIterator.previous()
method.
- previous() - Method in class org.apache.commons.collections.iterators.SingletonListIterator
-
Get the previous object from the iterator.
- previousIndex() - Method in class org.apache.commons.collections.CursorableLinkedList.Cursor
-
- previousIndex() - Method in class org.apache.commons.collections.iterators.FilterListIterator
-
- previousIndex() - Method in class org.apache.commons.collections.iterators.ListIteratorWrapper
-
Returns the index of the previous element.
- previousIndex() - Method in class org.apache.commons.collections.iterators.ProxyListIterator
-
Invokes the underlying ListIterator.previousIndex()
method.
- previousIndex() - Method in class org.apache.commons.collections.iterators.SingletonListIterator
-
Returns the index of the element that would be returned by a subsequent
call to previous.
- PriorityQueue - Interface in org.apache.commons.collections
-
Interface for priority queues.
- processRemovedLRU(Object, Object) - Method in class org.apache.commons.collections.LRUMap
-
Subclasses of LRUMap may hook into this method to
provide specialized actions whenever an Object is
automatically removed from the cache.
- ProxyIterator - Class in org.apache.commons.collections.iterators
-
A Proxy Iterator
which delegates its methods to a proxy instance.
- ProxyIterator() - Constructor for class org.apache.commons.collections.iterators.ProxyIterator
-
- ProxyIterator(Iterator) - Constructor for class org.apache.commons.collections.iterators.ProxyIterator
-
Constructs a new ProxyIterator
that will use the
given iterator.
- ProxyListIterator - Class in org.apache.commons.collections.iterators
-
A proxy ListIterator
which delegates its
methods to a proxy instance.
- ProxyListIterator() - Constructor for class org.apache.commons.collections.iterators.ProxyListIterator
-
Constructs a new
ProxyListIterator
that will not
function until
setListIterator
is invoked.
- ProxyListIterator(ListIterator) - Constructor for class org.apache.commons.collections.iterators.ProxyListIterator
-
Constructs a new ProxyListIterator
that will use the
given list iterator.
- ProxyMap - Class in org.apache.commons.collections
-
This Map
wraps another Map
implementation, using the wrapped instance for its default
implementation.
- ProxyMap(Map) - Constructor for class org.apache.commons.collections.ProxyMap
-
Creates a new instance acting as a representative for the
specified Map
.
- push(Object) - Method in class org.apache.commons.collections.ArrayStack
-
Pushes a new item onto the top of this stack.
- put(Object, Object) - Method in class org.apache.commons.collections.BeanMap
-
Sets the bean property with the given name to the given value.
- put(Object, Object) - Method in class org.apache.commons.collections.DoubleOrderedMap
-
Associates the specified value with the specified key in this
map.
- put(Object, Object) - Method in class org.apache.commons.collections.FastHashMap
-
Associate the specified value with the specified key in this map.
- put(Object, Object) - Method in class org.apache.commons.collections.FastTreeMap
-
Associate the specified value with the specified key in this map.
- put(Object, Object) - Method in class org.apache.commons.collections.LRUMap
-
Removes the key and its Object from the Map.
- put(Object, Object) - Method in class org.apache.commons.collections.MultiHashMap
-
- put(Object, Object) - Method in class org.apache.commons.collections.ProxyMap
-
Invokes the underlying Map.put(Object,Object)
method.
- put(Object, Object) - Method in class org.apache.commons.collections.ReferenceMap
-
Associates the given key with the given value.
- put(Object, Object) - Method in class org.apache.commons.collections.SequencedHashMap
-
Implements Map.put(Object, Object)
.
- put(Object, Object) - Method in class org.apache.commons.collections.StaticBucketMap
-
Implements Map.put(Object, Object)
.
- putAll(Map) - Method in class org.apache.commons.collections.FastHashMap
-
Copy all of the mappings from the specified map to this one, replacing
any mappings with the same keys.
- putAll(Map) - Method in class org.apache.commons.collections.FastTreeMap
-
Copy all of the mappings from the specified map to this one, replacing
any mappings with the same keys.
- putAll(Map) - Method in class org.apache.commons.collections.MultiHashMap
-
- putAll(Map) - Method in class org.apache.commons.collections.ProxyMap
-
Invokes the underlying Map.putAll(Map)
method.
- putAll(Map) - Method in class org.apache.commons.collections.SequencedHashMap
-
Adds all the mappings in the specified map to this map, replacing any
mappings that already exist (as per Map.putAll(Map)
).
- putAll(Map) - Method in class org.apache.commons.collections.StaticBucketMap
-
Implements Map.putAll(Map)
.
- putAllWriteable(BeanMap) - Method in class org.apache.commons.collections.BeanMap
-
Puts all of the writeable properties from the given BeanMap into this
BeanMap.
- readExternal(ObjectInput) - Method in class org.apache.commons.collections.LRUMap
-
- readExternal(ObjectInput) - Method in class org.apache.commons.collections.SequencedHashMap
-
Deserializes this map from the given stream.
- ReferenceMap - Class in org.apache.commons.collections
-
Hashtable-based Map
implementation that allows
mappings to be removed by the garbage collector.
- ReferenceMap() - Constructor for class org.apache.commons.collections.ReferenceMap
-
Constructs a new ReferenceMap
that will
use hard references to keys and soft references to values.
- ReferenceMap(int, int) - Constructor for class org.apache.commons.collections.ReferenceMap
-
Constructs a new ReferenceMap
that will
use the specified types of references.
- ReferenceMap(int, int, int, float) - Constructor for class org.apache.commons.collections.ReferenceMap
-
Constructs a new ReferenceMap
with the
specified reference types, load factor and initial
capacity.
- registerCursor(CursorableLinkedList.Cursor) - Method in class org.apache.commons.collections.CursorableLinkedList
-
- reinitialise() - Method in class org.apache.commons.collections.BeanMap
-
Reinitializes this bean.
- remove() - Method in class org.apache.commons.collections.ArrayStack
-
Removes the element on the top of the stack.
- remove(Object) - Method in interface org.apache.commons.collections.Bag
-
(Violation)
Remove all occurrences of the given object from the bag, and do
not represent the object in the
Bag.uniqueSet()
.
- remove(Object, int) - Method in interface org.apache.commons.collections.Bag
-
Remove the given number of occurrences from the bag.
- remove() - Method in class org.apache.commons.collections.BinaryHeap
-
Removes the priority element.
- remove() - Method in class org.apache.commons.collections.BoundedFifoBuffer
-
Removes the least recently inserted element from this buffer.
- remove() - Method in interface org.apache.commons.collections.Buffer
-
Removes the next object from the buffer.
- remove(Object) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Removes the first occurrence in this list of the specified element.
- remove(int) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Removes the element at the specified position in this list (optional
operation).
- remove(Object) - Method in class org.apache.commons.collections.DefaultMapBag
-
- remove(Object, int) - Method in class org.apache.commons.collections.DefaultMapBag
-
- remove(Object) - Method in class org.apache.commons.collections.DoubleOrderedMap
-
Removes the mapping for this key from this map if present
- remove(int) - Method in class org.apache.commons.collections.FastArrayList
-
Remove the element at the specified position in the list, and shift
any subsequent elements down one position.
- remove(Object) - Method in class org.apache.commons.collections.FastArrayList
-
Remove the first occurrence of the specified element from the list,
and shift any subsequent elements down one position.
- remove(Object) - Method in class org.apache.commons.collections.FastHashMap
-
Remove any mapping for this key, and return any previously
mapped value.
- remove(Object) - Method in class org.apache.commons.collections.FastTreeMap
-
Remove any mapping for this key, and return any previously
mapped value.
- remove() - Method in class org.apache.commons.collections.iterators.ArrayIterator
-
Throws UnsupportedOperationException
.
- remove() - Method in class org.apache.commons.collections.iterators.CollatingIterator
-
Removes the last returned element from the child iterator that
produced it.
- remove() - Method in class org.apache.commons.collections.iterators.EnumerationIterator
-
Functions if an associated Collection
is known.
- remove() - Method in class org.apache.commons.collections.iterators.FilterIterator
-
Always throws UnsupportedOperationException as this class
does look-ahead with its internal iterator.
- remove() - Method in class org.apache.commons.collections.iterators.FilterListIterator
-
Not supported.
- remove() - Method in class org.apache.commons.collections.iterators.IteratorChain
-
Removes from the underlying collection the last element
returned by the Iterator.
- remove() - Method in class org.apache.commons.collections.iterators.ListIteratorWrapper
-
Throws UnsupportedOperationException
.
- remove() - Method in class org.apache.commons.collections.iterators.ProxyIterator
-
Removes the last returned element from the collection that spawned
the underlying iterator.
- remove() - Method in class org.apache.commons.collections.iterators.ProxyListIterator
-
Invokes the underlying ListIterator.remove()
method.
- remove() - Method in class org.apache.commons.collections.iterators.SingletonIterator
-
Remove always throws UnsupportedOperationException
.
- remove() - Method in class org.apache.commons.collections.iterators.SingletonListIterator
-
Remove always throws UnsupportedOperationException
.
- remove(Object, Object) - Method in class org.apache.commons.collections.MultiHashMap
-
- remove(Object, Object) - Method in interface org.apache.commons.collections.MultiMap
-
- remove(Object) - Method in class org.apache.commons.collections.ProxyMap
-
Invokes the underlying Map.remove(Object)
method.
- remove(Object) - Method in class org.apache.commons.collections.ReferenceMap
-
Removes the key and its associated value from this map.
- remove(Object) - Method in class org.apache.commons.collections.SequencedHashMap
-
Implements Map.remove(Object)
.
- remove(int) - Method in class org.apache.commons.collections.SequencedHashMap
-
Removes the element at the specified index.
- remove(Object) - Method in class org.apache.commons.collections.StaticBucketMap
-
Implements Map.remove(Object)
.
- remove() - Method in class org.apache.commons.collections.UnboundedFifoBuffer
-
Removes the next object from the buffer
- removeAll(Collection) - Method in interface org.apache.commons.collections.Bag
-
(Violation)
Remove all elements represented in the given collection,
respecting cardinality.
- removeAll(Collection) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Removes from this list all the elements that are contained in the
specified collection.
- removeAll(Collection) - Method in class org.apache.commons.collections.DefaultMapBag
-
- removeAll(Collection) - Method in class org.apache.commons.collections.FastArrayList
-
Remove from this collection all of its elements that are contained
in the specified collection.
- removeFirst() - Method in class org.apache.commons.collections.CursorableLinkedList
-
Removes the first element of this list, if any.
- removeLast() - Method in class org.apache.commons.collections.CursorableLinkedList
-
Removes the last element of this list, if any.
- removeListable(CursorableLinkedList.Listable) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Removes the given
CursorableLinkedList.Listable
from my list.
- removeLRU() - Method in class org.apache.commons.collections.LRUMap
-
This method is used internally by the class for
finding and removing the LRU Object.
- removeValue(Object) - Method in class org.apache.commons.collections.DoubleOrderedMap
-
Removes the mapping for this value from this map if present
- retainAll(Collection) - Method in interface org.apache.commons.collections.Bag
-
(Violation)
Remove any members of the bag that are not in the given
collection, respecting cardinality.
- retainAll(Collection) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Retains only the elements in this list that are contained in the
specified collection.
- retainAll(Collection) - Method in class org.apache.commons.collections.DefaultMapBag
-
Remove any members of the bag that are not in the given
bag, respecting cardinality.
- retainAll(Bag) - Method in class org.apache.commons.collections.DefaultMapBag
-
Remove any members of the bag that are not in the given
bag, respecting cardinality.
- retainAll(Collection) - Method in class org.apache.commons.collections.FastArrayList
-
Remove from this collection all of its elements except those that are
contained in the specified collection.
- reverseArray(Object[]) - Static method in class org.apache.commons.collections.CollectionUtils
-
Reverses the order of the given array
- ReverseComparator - Class in org.apache.commons.collections.comparators
-
Reverses the order of another comparator.
- ReverseComparator() - Constructor for class org.apache.commons.collections.comparators.ReverseComparator
-
Creates a comparator that compares objects based on the inverse of their
natural ordering.
- ReverseComparator(Comparator) - Constructor for class org.apache.commons.collections.comparators.ReverseComparator
-
Creates a reverse comparator that inverts the comparison
of the passed in comparator.
- reversedComparator(Comparator) - Static method in class org.apache.commons.collections.ComparatorUtils
-
Gets a comparator that reverses the order of the given
comparator.
- safeAddToMap(Map, Object, Object) - Static method in class org.apache.commons.collections.MapUtils
-
Nice method for adding data to a map in such a way
as to not get NPE's.
- save(OutputStream, String) - Method in class org.apache.commons.collections.ExtendedProperties
-
Save the properties to the given outputstream.
- search(Object) - Method in class org.apache.commons.collections.ArrayStack
-
Returns the one-based position of the distance from the top that the
specified object exists on this stack, where the top-most element is
considered to be at distance 1
.
- select(Collection, Predicate) - Static method in class org.apache.commons.collections.CollectionUtils
-
Selects all elements from input collection which match the given predicate
into an output collection.
- select(Collection, Predicate, Collection) - Static method in class org.apache.commons.collections.CollectionUtils
-
Selects all elements from input collection which match the given predicate
and adds them to outputCollection.
- sequence() - Method in class org.apache.commons.collections.SequencedHashMap
-
Returns a List view of the keys rather than a set view.
- SequencedHashMap - Class in org.apache.commons.collections
-
A map of objects whose mapping entries are sequenced based on the order in
which they were added.
- SequencedHashMap() - Constructor for class org.apache.commons.collections.SequencedHashMap
-
Construct a new sequenced hash map with default initial size and load
factor.
- SequencedHashMap(int) - Constructor for class org.apache.commons.collections.SequencedHashMap
-
Construct a new sequenced hash map with the specified initial size and
default load factor.
- SequencedHashMap(int, float) - Constructor for class org.apache.commons.collections.SequencedHashMap
-
Construct a new sequenced hash map with the specified initial size and
load factor.
- SequencedHashMap(Map) - Constructor for class org.apache.commons.collections.SequencedHashMap
-
Construct a new sequenced hash map and add all the elements in the
specified map.
- set(int, Object) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Replaces the element at the specified position in this list with the
specified element.
- set(int, Object) - Method in class org.apache.commons.collections.FastArrayList
-
Replace the element at the specified position in this list with
the specified element.
- set(Object) - Method in class org.apache.commons.collections.iterators.FilterListIterator
-
Not supported.
- set(Object) - Method in class org.apache.commons.collections.iterators.ListIteratorWrapper
-
Throws UnsupportedOperationException
.
- set(Object) - Method in class org.apache.commons.collections.iterators.ProxyListIterator
-
Invokes the underlying ListIterator.set(Object)
method.
- set(Object) - Method in class org.apache.commons.collections.iterators.SingletonListIterator
-
Set sets the value of the singleton.
- setArray(Object) - Method in class org.apache.commons.collections.iterators.ArrayIterator
-
Changes the array that the ArrayIterator should iterate over.
- setBean(Object) - Method in class org.apache.commons.collections.BeanMap
-
Sets the bean to be operated on by this map.
- setComparator(int, Comparator) - Method in class org.apache.commons.collections.comparators.ComparatorChain
-
Replace the Comparator at the given index, maintaining
the existing sort order.
- setComparator(int, Comparator, boolean) - Method in class org.apache.commons.collections.comparators.ComparatorChain
-
Replace the Comparator at the given index in the
ComparatorChain, using the given sort order
- setComparator(Comparator) - Method in class org.apache.commons.collections.iterators.CollatingIterator
-
Set the Comparator
by which I collate.
- setEnumeration(Enumeration) - Method in class org.apache.commons.collections.iterators.EnumerationIterator
-
Sets the underlying enumeration.
- setFast(boolean) - Method in class org.apache.commons.collections.FastArrayList
-
Sets whether this list will operate in fast mode.
- setFast(boolean) - Method in class org.apache.commons.collections.FastHashMap
-
Sets whether this map is operating in fast mode.
- setFast(boolean) - Method in class org.apache.commons.collections.FastTreeMap
-
Sets whether this map is operating in fast mode.
- setForwardSort(int) - Method in class org.apache.commons.collections.comparators.ComparatorChain
-
Change the sort order at the given index in the
ComparatorChain to a forward sort.
- setInclude(String) - Method in class org.apache.commons.collections.ExtendedProperties
-
Sets the property value for including other properties files.
- setIterator(int, Iterator) - Method in class org.apache.commons.collections.iterators.CollatingIterator
-
Set the Iterator at the given index
- setIterator(int, Iterator) - Method in class org.apache.commons.collections.iterators.IteratorChain
-
Set the Iterator at the given index
- setIterator(Iterator) - Method in class org.apache.commons.collections.iterators.IteratorEnumeration
-
Sets the underlying iterator.
- setIterator(Iterator) - Method in class org.apache.commons.collections.iterators.ProxyIterator
-
Setter for property iterator.
- setKey(Object) - Method in class org.apache.commons.collections.DefaultMapEntry
-
Sets the key.
- setListIterator(ListIterator) - Method in class org.apache.commons.collections.iterators.ProxyListIterator
-
Setter for property iterator.
- setMap(Map) - Method in class org.apache.commons.collections.DefaultMapBag
-
Utility method for implementations to set the map that backs
this bag.
- setMaximumSize(int) - Method in class org.apache.commons.collections.LRUMap
-
Setter for property maximumSize.
- setPredicate(Predicate) - Method in class org.apache.commons.collections.iterators.FilterIterator
-
Setter for property predicate.
- setPredicate(Predicate) - Method in class org.apache.commons.collections.iterators.FilterListIterator
-
Setter for the predicate property.
- setProperty(String, Object) - Method in class org.apache.commons.collections.ExtendedProperties
-
Set a property, this will replace any previously
set values.
- setReverseSort(int) - Method in class org.apache.commons.collections.comparators.ComparatorChain
-
Change the sort order at the given index in the
ComparatorChain to a reverse sort.
- setTransformer(Transformer) - Method in class org.apache.commons.collections.iterators.TransformIterator
-
Setter for property transformer.
- SetUtils - Class in org.apache.commons.collections
-
Provides static utility methods and decorators for Set
and SortedSet
instances.
- setValue(Object) - Method in class org.apache.commons.collections.BeanMap.MyMapEntry
-
Sets the value.
- setValue(Object) - Method in class org.apache.commons.collections.DefaultMapEntry
-
Note that this method only sets the local reference inside this object and
does not modify the original Map.
- SingletonIterator - Class in org.apache.commons.collections.iterators
-
SingletonIterator
is an Iterator
over a single
object instance.
- SingletonIterator(Object) - Constructor for class org.apache.commons.collections.iterators.SingletonIterator
-
Constructs a new SingletonIterator
.
- SingletonListIterator - Class in org.apache.commons.collections.iterators
-
SingletonIterator
is an ListIterator
over a single
object instance.
- SingletonListIterator(Object) - Constructor for class org.apache.commons.collections.iterators.SingletonListIterator
-
Constructs a new SingletonListIterator
.
- singletonListIterator(Object) - Static method in class org.apache.commons.collections.IteratorUtils
-
Gets a singleton list iterator.
- size() - Method in interface org.apache.commons.collections.Bag
-
Returns the total number of items in the bag across all types.
- size() - Method in class org.apache.commons.collections.BeanMap
-
Returns the number of properties defined by the bean.
- size() - Method in class org.apache.commons.collections.BinaryHeap
-
Returns the number of elements in this heap.
- size() - Method in class org.apache.commons.collections.BoundedFifoBuffer
-
Returns the number of elements stored in the buffer.
- size() - Method in class org.apache.commons.collections.comparators.ComparatorChain
-
Number of Comparators in the current ComparatorChain.
- size() - Method in class org.apache.commons.collections.CursorableLinkedList
-
Returns the number of elements in this list.
- size() - Method in class org.apache.commons.collections.DefaultMapBag
-
Returns the number of elements in this bag.
- size() - Method in class org.apache.commons.collections.DoubleOrderedMap
-
Returns the number of key-value mappings in this map.
- size() - Method in class org.apache.commons.collections.FastArrayList
-
Return the number of elements in this list.
- size() - Method in class org.apache.commons.collections.FastHashMap
-
Return the number of key-value mappings in this map.
- size() - Method in class org.apache.commons.collections.FastTreeMap
-
Return the number of key-value mappings in this map.
- size() - Method in class org.apache.commons.collections.iterators.IteratorChain
-
Number of Iterators in the current IteratorChain.
- size() - Method in class org.apache.commons.collections.ProxyMap
-
Invokes the underlying Map.size()
method.
- size() - Method in class org.apache.commons.collections.ReferenceMap
-
Returns the size of this map.
- size() - Method in class org.apache.commons.collections.SequencedHashMap
-
Implements Map.size()
.
- size() - Method in class org.apache.commons.collections.StaticBucketMap
-
Implements Map.size()
.
- size() - Method in class org.apache.commons.collections.UnboundedFifoBuffer
-
Returns the number of elements stored in the buffer.
- SOFT - Static variable in class org.apache.commons.collections.ReferenceMap
-
Constant indiciating that soft references should be used.
- SortedBag - Interface in org.apache.commons.collections
-
A type of
Bag
that maintains order among its unique
representative members.
- START_TOKEN - Static variable in class org.apache.commons.collections.ExtendedProperties
-
- StaticBucketMap - Class in org.apache.commons.collections
-
A StaticBucketMap is an efficient, thread-safe implementation of
java.util.Map
that performs well in in a highly
thread-contentious environment.
- StaticBucketMap() - Constructor for class org.apache.commons.collections.StaticBucketMap
-
Initializes the map with the default number of buckets (255).
- StaticBucketMap(int) - Constructor for class org.apache.commons.collections.StaticBucketMap
-
Initializes the map with a specified number of buckets.
- subList(int, int) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Returns a fail-fast sublist.
- subList(int, int) - Method in class org.apache.commons.collections.FastArrayList
-
Return a view of the portion of this list between fromIndex
(inclusive) and toIndex (exclusive).
- subMap(Object, Object) - Method in class org.apache.commons.collections.FastTreeMap
-
Return a view of the portion of this map whose keys are in the
range fromKey (inclusive) to toKey (exclusive).
- subset(String) - Method in class org.apache.commons.collections.ExtendedProperties
-
Create an ExtendedProperties object that is a subset
of this one.
- subtract(Collection, Collection) - Static method in class org.apache.commons.collections.CollectionUtils
-
Returns a Collection
containing a - b.
- subtract(List, List) - Static method in class org.apache.commons.collections.ListUtils
-
Subtracts all elements in the second list from the first list,
placing the results in a new list.
- sum(List, List) - Static method in class org.apache.commons.collections.ListUtils
-
Returns the sum of the given lists.
- synchronizedBag(Bag) - Static method in class org.apache.commons.collections.BagUtils
-
Returns a synchronized (thread-safe) bag backed by the given bag.
- synchronizedBuffer(Buffer) - Static method in class org.apache.commons.collections.BufferUtils
-
Returns a synchronized buffer backed by the given buffer.
- SynchronizedPriorityQueue - Class in org.apache.commons.collections
-
A thread safe version of the PriorityQueue.
- SynchronizedPriorityQueue(PriorityQueue) - Constructor for class org.apache.commons.collections.SynchronizedPriorityQueue
-
Constructs a new synchronized priority queue.
- synchronizedSortedBag(SortedBag) - Static method in class org.apache.commons.collections.BagUtils
-
Returns a synchronized (thread-safe) sorted bag backed by the given
sorted bag.
- tailMap(Object) - Method in class org.apache.commons.collections.FastTreeMap
-
Return a view of the portion of this map whose keys are greater than
or equal to the specified key.
- testBoolean(String) - Method in class org.apache.commons.collections.ExtendedProperties
-
Test whether the string represent by value maps to a boolean
value or not.
- toArray() - Method in class org.apache.commons.collections.CursorableLinkedList
-
Returns an array containing all of the elements in this list in proper
sequence.
- toArray(Object[]) - Method in class org.apache.commons.collections.CursorableLinkedList
-
Returns an array containing all of the elements in this list in proper
sequence; the runtime type of the returned array is that of the
specified array.
- toArray() - Method in class org.apache.commons.collections.DefaultMapBag
-
Returns an array of all of this bag's elements.
- toArray(Object[]) - Method in class org.apache.commons.collections.DefaultMapBag
-
Returns an array of all of this bag's elements.
- toArray() - Method in class org.apache.commons.collections.FastArrayList
-
Return an array containing all of the elements in this list in the
correct order.
- toArray(Object[]) - Method in class org.apache.commons.collections.FastArrayList
-
Return an array containing all of the elements in this list in the
correct order.
- toArray(Iterator) - Static method in class org.apache.commons.collections.IteratorUtils
-
Gets an array based on an iterator.
- toArray(Iterator, Class) - Static method in class org.apache.commons.collections.IteratorUtils
-
Gets an array based on an iterator.
- toList(Iterator) - Static method in class org.apache.commons.collections.IteratorUtils
-
Gets a list based on an iterator.
- toList(Iterator, int) - Static method in class org.apache.commons.collections.IteratorUtils
-
Gets a list based on an iterator.
- toListIterator(Iterator) - Static method in class org.apache.commons.collections.IteratorUtils
-
Gets a list iterator based on a simple iterator.
- toProperties(Map) - Static method in class org.apache.commons.collections.MapUtils
-
Gets a new Properties object initialised with the values from a Map.
- toString() - Method in class org.apache.commons.collections.BinaryHeap
-
Returns a string representation of this heap.
- toString() - Method in class org.apache.commons.collections.CursorableLinkedList
-
Returns a String
representation of this list, suitable for debugging.
- toString() - Method in class org.apache.commons.collections.DefaultMapBag
-
Implement a toString() method suitable for debugging
- toString() - Method in class org.apache.commons.collections.FastArrayList
-
Return a String representation of this object.
- toString() - Method in class org.apache.commons.collections.SequencedHashMap
-
Provides a string representation of the entries within the map.
- toString() - Method in class org.apache.commons.collections.SynchronizedPriorityQueue
-
Returns a string representation of the underlying queue.
- transform(Collection, Transformer) - Static method in class org.apache.commons.collections.CollectionUtils
-
Transform the collection by applying a Transformer to each element.
- transform(Object) - Method in class org.apache.commons.collections.iterators.TransformIterator
-
Transforms the given object using the transformer.
- transform(Object) - Method in interface org.apache.commons.collections.Transformer
-
Transforms the input object (leaving it unchanged) into some output object.
- transformedComparator(Comparator, Transformer) - Static method in class org.apache.commons.collections.ComparatorUtils
-
Gets a Comparator that passes transformed objects to the given comparator.
- transformedIterator(Iterator, Transformer) - Static method in class org.apache.commons.collections.IteratorUtils
-
Gets an iterator that transforms the elements of another iterator.
- transformer - Variable in class org.apache.commons.collections.comparators.TransformingComparator
-
- Transformer - Interface in org.apache.commons.collections
-
An object capable of transforming an input object into some output object.
- TransformingComparator - Class in org.apache.commons.collections.comparators
-
Decorates another Comparator with transformation behavior.
- TransformingComparator(Transformer) - Constructor for class org.apache.commons.collections.comparators.TransformingComparator
-
Constructs an instance with the given Transformer and a ComparableComparator.
- TransformingComparator(Transformer, Comparator) - Constructor for class org.apache.commons.collections.comparators.TransformingComparator
-
Constructs an instance with the given Transformer and Comparator
- TransformIterator - Class in org.apache.commons.collections.iterators
-
A Proxy
Iterator
which uses a
Transformer
instance to
transform the contents of the
Iterator
into some other form
- TransformIterator() - Constructor for class org.apache.commons.collections.iterators.TransformIterator
-
Constructs a new
TransformIterator
that will not function
until the
setIterator
method is
invoked.
- TransformIterator(Iterator) - Constructor for class org.apache.commons.collections.iterators.TransformIterator
-
Constructs a new TransformIterator
that won't transform
elements from the given iterator.
- TransformIterator(Iterator, Transformer) - Constructor for class org.apache.commons.collections.iterators.TransformIterator
-
Constructs a new TransformIterator
that will use the
given iterator and transformer.
- TreeBag - Class in org.apache.commons.collections
-
An implementation of
Bag
that is backed by a
TreeMap
.
- TreeBag() - Constructor for class org.apache.commons.collections.TreeBag
-
Constructs a new empty TreeBag
.
- TreeBag(Comparator) - Constructor for class org.apache.commons.collections.TreeBag
-
New
Bag
that maintains order on its unique
representative members according to the given
Comparator
.
- TreeBag(Collection) - Constructor for class org.apache.commons.collections.TreeBag
-
New
Bag
containing all the members of the given
collection.
- trimToSize() - Method in class org.apache.commons.collections.FastArrayList
-
Trim the capacity of this ArrayList
instance to be the
list's current size.