DateCollection

Inheritance: java.lang.Object, com.aspose.ms.System.Collections.ObjectModel.Collection

public class DateCollection extends System.Collections.ObjectModel.Collection<System.DateTime>

Represents a collection of java.util.Date values.


Methods

MethodDescription
addItem(T arg0)
addRange(System.Collections.ObjectModel.Collection c)Adds the elements of an System.Collections.ICollection to the end of exiting collection.
addRange(Iterable c)Adds the elements of an System.Collections.ICollection to the end of exiting collection.
add_Item(Date value)Adds the element to the end of exiting collection.
clear()
containsItem(T arg0)
copyToTArray(T[] arg0, int arg1)
equals(DateCollection other)Determines whether the specified DateCollection is equal to this instance.
equals(Object obj)Determines whether the specified Object is equal to the current Object.
getClass()
getICollection()
getIList()
getItem(int index)Gets or sets the System.DateTime at the specified index.
getSyncRoot()
get_Item(int arg0)
hashCode()GetHashCode returns a hash function for this object.
indexOfItem(T arg0)
insertItem(int arg0, T arg1)
isReadOnly()
iterator()
notify()
notifyAll()
removeAt(int arg0)
removeItem(T arg0)
setItem(int index, Date value)Gets or sets the System.DateTime at the specified index.
set_Item(int arg0, T arg1)
size()
sort()Sorts the elements in the collection.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

addItem(T arg0)

public void addItem(T arg0)

Parameters:

ParameterTypeDescription
arg0T

addRange(System.Collections.ObjectModel.Collection c)

public void addRange(System.Collections.ObjectModel.Collection c)

Adds the elements of an System.Collections.ICollection to the end of exiting collection.

Parameters:

ParameterTypeDescription
ccom.aspose.ms.System.Collections.ObjectModel.CollectionThe ICollection whose elements should be added to the end of this collection.

addRange(Iterable c)

public void addRange(Iterable c)

Adds the elements of an System.Collections.ICollection to the end of exiting collection.

Parameters:

ParameterTypeDescription
cjava.lang.IterableThe ICollection whose elements should be added to the end of this collection.

add_Item(Date value)

public void add_Item(Date value)

Adds the element to the end of exiting collection.

Parameters:

ParameterTypeDescription
valuejava.util.DateThe element Date at the specified index.

clear()

public void clear()

containsItem(T arg0)

public boolean containsItem(T arg0)

Parameters:

ParameterTypeDescription
arg0T

Returns: boolean

copyToTArray(T[] arg0, int arg1)

public void copyToTArray(T[] arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0T[]
arg1int

equals(DateCollection other)

public boolean equals(DateCollection other)

Determines whether the specified DateCollection is equal to this instance.

Parameters:

ParameterTypeDescription
otherDateCollectionThe DateCollection to compare with this instance.

Returns: boolean - true if the specified DateCollection is equal to this instance; otherwise, false .

equals(Object obj)

public boolean equals(Object obj)

Determines whether the specified Object is equal to the current Object.

Parameters:

ParameterTypeDescription
objjava.lang.ObjectThe Object to compare with the current Object.

Returns: boolean - Returns a boolean indicating if the passed in object obj is Equal to this.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getICollection()

public System.Collections.ICollection getICollection()

Returns: com.aspose.ms.System.Collections.ICollection

getIList()

public System.Collections.IList getIList()

Returns: com.aspose.ms.System.Collections.IList

getItem(int index)

public Date getItem(int index)

Gets or sets the System.DateTime at the specified index.

Parameters:

ParameterTypeDescription
indexintThe zero-based index System.Int32 of the element to get or set.

Returns: java.util.Date - The element System.DateTime at the specified index.

getSyncRoot()

public Object getSyncRoot()

Returns: java.lang.Object

get_Item(int arg0)

public T get_Item(int arg0)

Parameters:

ParameterTypeDescription
arg0int

Returns: T

hashCode()

public int hashCode()

GetHashCode returns a hash function for this object.

Returns: int - Returns a hash function for this object.

indexOfItem(T arg0)

public int indexOfItem(T arg0)

Parameters:

ParameterTypeDescription
arg0T

Returns: int

insertItem(int arg0, T arg1)

public void insertItem(int arg0, T arg1)

Parameters:

ParameterTypeDescription
arg0int
arg1T

isReadOnly()

public boolean isReadOnly()

Returns: boolean

iterator()

public System.Collections.Generic.IGenericEnumerator<T> iterator()

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

removeAt(int arg0)

public void removeAt(int arg0)

Parameters:

ParameterTypeDescription
arg0int

removeItem(T arg0)

public boolean removeItem(T arg0)

Parameters:

ParameterTypeDescription
arg0T

Returns: boolean

setItem(int index, Date value)

public void setItem(int index, Date value)

Gets or sets the System.DateTime at the specified index.

Parameters:

ParameterTypeDescription
indexintThe zero-based index System.Int32 of the element to get or set.
valuejava.util.DateThe element Date at the specified index.

set_Item(int arg0, T arg1)

public void set_Item(int arg0, T arg1)

Parameters:

ParameterTypeDescription
arg0int
arg1T

size()

public int size()

Returns: int

sort()

public void sort()

Sorts the elements in the collection.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int