public abstract class DateFormatCollection extends Object implements Iterable<DateFormat>
| Constructor and Description |
|---|
DateFormatCollection() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addItem(DateFormat item)
Adds an date format object to the collection.
|
abstract void |
clear()
Removes all elements from the collection.
|
abstract boolean |
containsItem(DateFormat item)
Determines whether the collection contains a specific item.
|
abstract void |
copyToTArray(DateFormat[] array,
int arrayIndex)
Copies the elements of the collection to an
Array, starting at a particular Array index. |
abstract boolean |
isReadOnly()
Gets a value indicating whether the collection is read-only.
|
abstract Iterator<DateFormat> |
iterator()
Returns an enumerator that iterates through the collection.
|
abstract boolean |
removeItem(DateFormat item)
Removes the first occurrence of a specific element from the collection.
|
abstract int |
size()
Gets the number of elements contained in the collection.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic abstract void addItem(DateFormat item)
item - The date format object to add to the collection.public abstract void clear()
public abstract boolean containsItem(DateFormat item)
item - The item to locate in the collection.true if item is found in the collection; otherwise, false.public abstract void copyToTArray(DateFormat[] array, int arrayIndex)
Array, starting at a particular Array index.array - The one-dimensional Array that is the destination of the elements copied from the collection.arrayIndex - The zero-based index in array at which copying begins.public abstract boolean isReadOnly()
true if the collection is read-only; otherwise, false.public abstract Iterator<DateFormat> iterator()
iterator in interface Iterable<DateFormat>public abstract boolean removeItem(DateFormat item)
item - The item to remove from the collection.true if item was successfully removed from the collection; otherwise, false.
This method also returns false if item is not found in the collection.public abstract int size()
Copyright © 2026. All rights reserved.