ImapFolderInfoCollection

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

All Implemented Interfaces: com.aspose.ms.System.Collections.Generic.IGenericList, com.aspose.ms.System.Collections.Generic.IGenericCollection, com.aspose.ms.System.Collections.Generic.IGenericEnumerable

public final class ImapFolderInfoCollection extends ImapFolderInfoCollectionBase implements System.Collections.Generic.IGenericList<ImapFolderInfo>, System.Collections.Generic.IGenericCollection<ImapFolderInfo>, System.Collections.Generic.IGenericEnumerable<ImapFolderInfo>

Provides a container for a collection of ImapFolderInfo objects.

Constructors

ConstructorDescription
ImapFolderInfoCollection()Initializes a new instance of the ImapFolderInfoCollection class.
ImapFolderInfoCollection(ImapFolderInfo[] folders)Initializes a new instance of the ImapFolderInfoCollection class.

Methods

MethodDescription
add(ImapFolderInfo item)Adds the ImapFolderInfo to the ImapFolderInfoCollection.
addItem(T arg0)
addRange(System.Collections.Generic.IGenericEnumerable folders)Adds the ImapFolderInfo to the ImapFolderInfoCollection.
clear()
containsItem(T arg0)
copyToTArray(T[] arg0, int arg1)
equals(Object arg0)
getClass()
getICollection()
getIList()
getSyncRoot()Gets an object that can be used to synchronize access to the collection.
get_Item(int arg0)
hashCode()
indexOfItem(T arg0)
insertItem(int arg0, T arg1)
isReadOnly()
iterator()
notify()
notifyAll()
removeAt(int index)Remove a folder info at specified index.
removeItem(T arg0)
set_Item(int arg0, T arg1)
size()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ImapFolderInfoCollection()

public ImapFolderInfoCollection()

Initializes a new instance of the ImapFolderInfoCollection class.

ImapFolderInfoCollection(ImapFolderInfo[] folders)

public ImapFolderInfoCollection(ImapFolderInfo[] folders)

Initializes a new instance of the ImapFolderInfoCollection class.

Parameters:

ParameterTypeDescription
foldersImapFolderInfo[]Initial folders

add(ImapFolderInfo item)

public final void add(ImapFolderInfo item)

Adds the ImapFolderInfo to the ImapFolderInfoCollection.

Parameters:

ParameterTypeDescription
itemImapFolderInfoThe ImapFolderInfo object.

addItem(T arg0)

public void addItem(T arg0)

Parameters:

ParameterTypeDescription
arg0T

addRange(System.Collections.Generic.IGenericEnumerable folders)

public final void addRange(System.Collections.Generic.IGenericEnumerable<ImapFolderInfo> folders)

Adds the ImapFolderInfo to the ImapFolderInfoCollection.

Parameters:

ParameterTypeDescription
folderscom.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.email.ImapFolderInfo>The ImapFolderInfo objects.

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(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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 final Object getSyncRoot()

Gets an object that can be used to synchronize access to the collection.

Returns: java.lang.Object

get_Item(int arg0)

public T get_Item(int arg0)

Parameters:

ParameterTypeDescription
arg0int

Returns: T

hashCode()

public native int hashCode()

Returns: int

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 index)

public final void removeAt(int index)

Remove a folder info at specified index.

Parameters:

ParameterTypeDescription
indexintThe zero-based index of the ImapFolderInfo to remove.

removeItem(T arg0)

public boolean removeItem(T arg0)

Parameters:

ParameterTypeDescription
arg0T

Returns: boolean

set_Item(int arg0, T arg1)

public void set_Item(int arg0, T arg1)

Parameters:

ParameterTypeDescription
arg0int
arg1T

size()

public int size()

Returns: int

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