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

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

Methods

Method Description
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:

Parameter Type Description
messageInfoEn java.lang.Iterable<com.aspose.email.ImapMessageInfo> initial value

add(ImapMessageInfo item)

public final void add(ImapMessageInfo item)

Adds the ImapMessageInfo to the ImapMessageCollection.

Parameters:

Parameter Type Description
item ImapMessageInfo The ImapMessageInfo to be added.

addItem(T arg0)

public void addItem(T arg0)

Parameters:

Parameter Type Description
arg0 T

addRange(Iterable messageInfos)

public final void addRange(Iterable<ImapMessageInfo> messageInfos)

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

Parameters:

Parameter Type Description
messageInfos java.lang.Iterable<com.aspose.email.ImapMessageInfo>

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

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:

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

insert(int index, ImapMessageInfo item)

public final void insert(int index, ImapMessageInfo item)

Insert the specified ImapMessagInfo object at the specified index.

Parameters:

Parameter Type Description
index int The index that the specified object will be inserted into.
item ImapMessageInfo The ImapMessagInfo object to be inserted.

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

remove(ImapMessageInfo item)

public final boolean remove(ImapMessageInfo item)

Remove specifed ImapMessageInfo object from this collection.

Parameters:

Parameter Type Description
item ImapMessageInfo The 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:

Parameter Type Description
index int The index of the message to be remove.

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_(ImapMessageInfoCollection messageInfoCol)

public static ImapMessageInfo[] to_(ImapMessageInfoCollection messageInfoCol)

Converts collection of ImapMessageInfo to array

Parameters:

Parameter Type Description
messageInfoCol ImapMessageInfoCollection Collection 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:

Parameter Type Description
messageInfoArr ImapMessageInfo[] 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:

Parameter Type Description
messageInfoLst com.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:

Parameter Type Description
messageInfoCol ImapMessageInfoCollection Collection 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:

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