public class CustomExtractorCollection extends Object implements Iterable
Learn more
Modifier | Constructor and Description |
---|---|
protected |
CustomExtractorCollection() |
Modifier and Type | Method and Description |
---|---|
void |
addItem(IFieldExtractor extractor)
Adds an extractor to the collection.
|
void |
clear()
Removes all extractors from the collection.
|
boolean |
containsItem(IFieldExtractor item)
Determines whether the collection contains a specific extractor.
|
void |
copyToTArray(IFieldExtractor[] array,
int arrayIndex)
Copies the elements of the collection to an array, starting at a particular array index.
|
protected static CustomExtractorCollection |
Create() |
boolean |
isReadOnly()
Gets a value indicating whether the collection is read-only.
|
ListIterator |
iterator()
Returns an iterator for this collection.
|
boolean |
removeItem(IFieldExtractor extractor)
Removes an extractor from the collection.
|
int |
size()
Gets the number of extractors contained in the collection.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected static CustomExtractorCollection Create()
public final int size()
Gets the number of extractors contained in the collection.
public final boolean isReadOnly()
Gets a value indicating whether the collection is read-only.
public final ListIterator iterator()
Returns an iterator for this collection.
public final void addItem(IFieldExtractor extractor)
Adds an extractor to the collection.
extractor
- The extractor to add to the collection.public final void clear()
Removes all extractors from the collection.
public final boolean containsItem(IFieldExtractor item)
Determines whether the collection contains a specific extractor.
item
- The extractor to locate in the collection.true
if item
is found in the collection; otherwise, false
.public final void copyToTArray(IFieldExtractor[] array, int arrayIndex)
Copies the elements of the collection to an array, starting at a particular array index.
array
- The one-dimensional array that is the destination of the elements copied from collection.
The array must have zero-based indexing.arrayIndex
- The zero-based index in array at which copying begins.public final boolean removeItem(IFieldExtractor extractor)
Removes an extractor from the collection.
extractor
- The extractor to remove from the collection.true
if extractor
was successfully removed from the collection; otherwise, false
.
This method also returns false
if extractor
is not found in the original collection.