public class DateFormatCollection extends Object implements com.aspose.ms.System.Collections.Generic.IGenericCollection<DateFormat>
Represents a collection of DateFormat
objects.
Modifier and Type | Method and Description |
---|---|
void |
addItem(DateFormat item)
Adds an item to the collection.
|
void |
clear()
Removes all items from the collection.
|
boolean |
containsItem(DateFormat item)
Determines whether the collection contains a specific value.
|
void |
copyToTArray(DateFormat[] array,
int arrayIndex)
Copies the elements of the collection to an
Array , starting at a particular Array index. |
boolean |
isReadOnly()
Gets a value indicating whether the collection is read-only.
|
com.aspose.ms.System.Collections.IEnumerator |
iterator_Rename_Namesake()
Returns an enumerator that iterates through the collection.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<DateFormat> |
iterator()
Returns an enumerator that iterates through the collection.
|
boolean |
removeItem(DateFormat item)
Removes the first occurrence of a specific object from the collection.
|
int |
size()
Gets the number of elements contained in the collection.
|
public final void addItem(DateFormat item)
Adds an item to the collection.
addItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DateFormat>
item
- The item to add to the collection.public final void clear()
Removes all items from the collection.
clear
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DateFormat>
public final boolean containsItem(DateFormat item)
Determines whether the collection contains a specific value.
containsItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DateFormat>
item
- The item to locate in the collection.true
if item is found in the collection; otherwise, false
.public final void copyToTArray(DateFormat[] array, int arrayIndex)
Copies the elements of the collection to an Array
, starting at a particular Array
index.
copyToTArray
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DateFormat>
array
- The one-dimensional Array
that is the destination of the elements copied from collection.arrayIndex
- The zero-based index in array at which copying begins.public final int size()
Gets the number of elements contained in the collection.
Value: The number of elements contained in the collection.size
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DateFormat>
public final boolean isReadOnly()
Gets a value indicating whether the collection is read-only.
Value:true
if the collection is read-only; otherwise, false
.isReadOnly
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DateFormat>
public final boolean removeItem(DateFormat item)
Removes the first occurrence of a specific object from the collection.
removeItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DateFormat>
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 final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<DateFormat> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<DateFormat>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<DateFormat>
iterator
in interface Iterable<DateFormat>
public final com.aspose.ms.System.Collections.IEnumerator iterator_Rename_Namesake()
Returns an enumerator that iterates through the collection.
Copyright © 2018. All rights reserved.