AppointmentCollection

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

public class AppointmentCollection extends System.Collections.ObjectModel.Collection<Appointment>

Represents a collection of Appointment objects.

Constructors

Constructor Description
AppointmentCollection() Initializes a new instance of the AppointmentCollection class that is empty.
AppointmentCollection(Iterable appointments) Initializes a new instance of the AppointmentCollection class

Methods

Method Description
addItem(T arg0)
clear()
containsItem(T arg0)
copyToTArray(T[] arg0, int arg1)
equals(Object arg0)
getClass()
getICollection()
getIList()
getSyncRoot()
get_Item(int arg0)
hashCode()
indexOfItem(T arg0)
insertItem(int arg0, T arg1)
isReadOnly()
iterator()
notify()
notifyAll()
removeAt(int arg0)
removeItem(T arg0)
set_Item(int arg0, T arg1)
size()
toString()
to_(AppointmentCollection appointments) Converts collection of appointments to array
to_AppointmentCollection(Appointment[] appointments) Converts array of appointments to collection
to_AppointmentCollection(System.Collections.Generic.List appointments) Converts list of appointments to collection
to_List(AppointmentCollection appointments) Converts collection of appointments to list
wait()
wait(long arg0)
wait(long arg0, int arg1)

AppointmentCollection()

public AppointmentCollection()

Initializes a new instance of the AppointmentCollection class that is empty.

AppointmentCollection(Iterable appointments)

public AppointmentCollection(Iterable<Appointment> appointments)

Initializes a new instance of the AppointmentCollection class

Parameters:

Parameter Type Description
appointments java.lang.Iterable<com.aspose.email.Appointment> initial value

addItem(T arg0)

public void addItem(T arg0)

Parameters:

Parameter Type Description
arg0 T

clear()

public void clear()

containsItem(T arg0)

public boolean containsItem(T arg0)

Parameters:

Parameter Type Description
arg0 T

Returns: boolean

copyToTArray(T[] arg0, int arg1)

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

Parameters:

Parameter Type Description
arg0 T[]
arg1 int

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

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

getSyncRoot()

public Object getSyncRoot()

Returns: java.lang.Object

get_Item(int arg0)

public T get_Item(int arg0)

Parameters:

Parameter Type Description
arg0 int

Returns: T

hashCode()

public native int hashCode()

Returns: int

indexOfItem(T arg0)

public int indexOfItem(T arg0)

Parameters:

Parameter Type Description
arg0 T

Returns: int

insertItem(int arg0, T arg1)

public void insertItem(int arg0, T arg1)

Parameters:

Parameter Type Description
arg0 int
arg1 T

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:

Parameter Type Description
arg0 int

removeItem(T arg0)

public boolean removeItem(T arg0)

Parameters:

Parameter Type Description
arg0 T

Returns: boolean

set_Item(int arg0, T arg1)

public void set_Item(int arg0, T arg1)

Parameters:

Parameter Type Description
arg0 int
arg1 T

size()

public int size()

Returns: int

toString()

public String toString()

Returns: java.lang.String

to_(AppointmentCollection appointments)

public static Appointment[] to_(AppointmentCollection appointments)

Converts collection of appointments to array

Parameters:

Parameter Type Description
appointments AppointmentCollection Collection of appointments to convert

Returns: com.aspose.email.Appointment[] - Array of appointments

to_AppointmentCollection(Appointment[] appointments)

public static AppointmentCollection to_AppointmentCollection(Appointment[] appointments)

Converts array of appointments to collection

Parameters:

Parameter Type Description
appointments Appointment[] Array of appointments to convert

Returns: AppointmentCollection - Collection of appointments

to_AppointmentCollection(System.Collections.Generic.List appointments)

public static AppointmentCollection to_AppointmentCollection(System.Collections.Generic.List<Appointment> appointments)

Converts list of appointments to collection

Parameters:

Parameter Type Description
appointments com.aspose.ms.System.Collections.Generic.List<com.aspose.email.Appointment> List of appointments to convert

Returns: AppointmentCollection - Collection of appointments

to_List(AppointmentCollection appointments)

public static System.Collections.Generic.List<Appointment> to_List(AppointmentCollection appointments)

Converts collection of appointments to list

Parameters:

Parameter Type Description
appointments AppointmentCollection Collection of appointments to convert

Returns: com.aspose.ms.System.Collections.Generic.List<com.aspose.email.Appointment> - List of appointments

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int