ImapMessageInfoCollection

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

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 ImapMessageInfoCollection extends ImapMessageInfoCollectionBase implements System.Collections.Generic.IGenericList<ImapMessageInfo>, System.Collections.Generic.IGenericCollection<ImapMessageInfo>, System.Collections.Generic.IGenericEnumerable<ImapMessageInfo>

Provides a container for a collection of ImapMessageInfo objects

Constructors

ConstructorDescription
ImapMessageInfoCollection()Initializes a new instance of the ImapMessageCollection class.
ImapMessageInfoCollection(Iterable messageInfoEn)Initializes a new instance of the ImapMessageCollection class

Methods

MethodDescription
add(ImapMessageInfo item)Adds the ImapMessageInfo to the ImapMessageCollection.
addItem(T arg0)
addRange(Iterable messageInfos)Adds the enumeration of ImapMessageInfo objects to the end of the collection
clear()
containsItem(T arg0)
copyToTArray(T[] arg0, int arg1)
equals(Object arg0)
getClass()
getExceptions()Gets collection of exceptions, that occurred during message processing.
getICollection()
getIList()
getSyncRoot()Gets an object that can be used to synchronize access to the collection.
get_Item(int arg0)
hashCode()
indexOfItem(T arg0)
insert(int index, ImapMessageInfo item)Insert the specified ImapMessagInfo object at the specified index.
insertItem(int arg0, T arg1)
isReadOnly()
iterator()
notify()
notifyAll()
remove(ImapMessageInfo item)Remove specifed ImapMessageInfo object from this collection.
removeAt(int index)Remove a ImapMessageInfo in specified index from this collection.
removeItem(T arg0)
set_Item(int arg0, T arg1)
size()
toString()
to_(ImapMessageInfoCollection messageInfoCol)Converts collection of ImapMessageInfo to array
to_ImapMessageInfoCollection(ImapMessageInfo[] messageInfoArr)Converts array of ImapMessageInfo to collection
to_ImapMessageInfoCollection(System.Collections.Generic.List messageInfoLst)Converts list of ImapMessageInfo to collection
to_List(ImapMessageInfoCollection messageInfoCol)Converts collection of ImapMessageInfo to list
wait()
wait(long arg0)
wait(long arg0, int arg1)

ImapMessageInfoCollection()

public ImapMessageInfoCollection()

Initializes a new instance of the ImapMessageCollection class.

ImapMessageInfoCollection(Iterable messageInfoEn)

public ImapMessageInfoCollection(Iterable<ImapMessageInfo> messageInfoEn)

Initializes a new instance of the ImapMessageCollection class

Parameters:

ParameterTypeDescription
messageInfoEnjava.lang.Iterable<com.aspose.email.ImapMessageInfo>initial value

add(ImapMessageInfo item)

public final void add(ImapMessageInfo item)

Adds the ImapMessageInfo to the ImapMessageCollection.

Parameters:

ParameterTypeDescription
itemImapMessageInfoThe ImapMessageInfo to be added.

addItem(T arg0)

public void addItem(T arg0)

Parameters:

ParameterTypeDescription
arg0T

addRange(Iterable messageInfos)

public final void addRange(Iterable<ImapMessageInfo> messageInfos)

Adds the enumeration of ImapMessageInfo objects to the end of the collection

Parameters:

ParameterTypeDescription
messageInfosjava.lang.Iterable<com.aspose.email.ImapMessageInfo>

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

getExceptions()

public final List<ElementProcessingException> getExceptions()

Gets collection of exceptions, that occurred during message processing.

Returns: java.util.List<com.aspose.email.ElementProcessingException>

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

insert(int index, ImapMessageInfo item)

public final void insert(int index, ImapMessageInfo item)

Insert the specified ImapMessagInfo object at the specified index.

Parameters:

ParameterTypeDescription
indexintThe index that the specified object will be inserted into.
itemImapMessageInfoThe ImapMessagInfo object to be inserted.

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

remove(ImapMessageInfo item)

public final boolean remove(ImapMessageInfo item)

Remove specifed ImapMessageInfo object from this collection.

Parameters:

ParameterTypeDescription
itemImapMessageInfoThe ImapMessageInfo object to be remove.

Returns: boolean - False if this collection doesn’t contains specified object.True if removed successfully.

removeAt(int index)

public final void removeAt(int index)

Remove a ImapMessageInfo in specified index from this collection.

Parameters:

ParameterTypeDescription
indexintThe index of the message to be 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

to_(ImapMessageInfoCollection messageInfoCol)

public static ImapMessageInfo[] to_(ImapMessageInfoCollection messageInfoCol)

Converts collection of ImapMessageInfo to array

Parameters:

ParameterTypeDescription
messageInfoColImapMessageInfoCollectionCollection of ImapMessageInfo to convert

Returns: com.aspose.email.ImapMessageInfo[] - Array of ImapMessageInfo

to_ImapMessageInfoCollection(ImapMessageInfo[] messageInfoArr)

public static ImapMessageInfoCollection to_ImapMessageInfoCollection(ImapMessageInfo[] messageInfoArr)

Converts array of ImapMessageInfo to collection

Parameters:

ParameterTypeDescription
messageInfoArrImapMessageInfo[]Array of ImapMessageInfo to convert

Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo

to_ImapMessageInfoCollection(System.Collections.Generic.List messageInfoLst)

public static ImapMessageInfoCollection to_ImapMessageInfoCollection(System.Collections.Generic.List<ImapMessageInfo> messageInfoLst)

Converts list of ImapMessageInfo to collection

Parameters:

ParameterTypeDescription
messageInfoLstcom.aspose.ms.System.Collections.Generic.List<com.aspose.email.ImapMessageInfo>List of ImapMessageInfo to convert

Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo

to_List(ImapMessageInfoCollection messageInfoCol)

public static System.Collections.Generic.List<ImapMessageInfo> to_List(ImapMessageInfoCollection messageInfoCol)

Converts collection of ImapMessageInfo to list

Parameters:

ParameterTypeDescription
messageInfoColImapMessageInfoCollectionCollection of ImapMessageInfo to convert

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

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