com.aspose.slides
Class SlideIdCollection

java.lang.Object
  extended by com.aspose.slides.SlideIdCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.ICollection, com.aspose.ms.System.Collections.IEnumerable, com.aspose.ms.System.Collections.IList, java.lang.Iterable

public final class SlideIdCollection
extends java.lang.Object
implements com.aspose.ms.System.Collections.IList

Represents a collection of slide ids.


Constructor Summary
SlideIdCollection()
           
 
Method Summary
 int add(long value)
           Adds slide id into the collection.
 int add(java.lang.Object value)
           
 int addItem(java.lang.Object value)
           
 void clear()
           Removes all elements from the collection.
 boolean contains(java.lang.Object value)
           
 void copyTo(com.aspose.ms.System.Array array, int index)
           Copies all elements from the collection to the specified array.
 java.lang.Object get_Item(int index)
           
 long getItem(int index)
           Returns or sets element at specified position of collection.
 java.lang.Object getSyncRoot()
           Returns a synchronization root.
 int indexOf(java.lang.Object value)
           
 void insert(int index, long value)
           Insert slide id into the collection at specified index.
 void insert(int index, java.lang.Object value)
           
 void insertItem(int index, java.lang.Object value)
           
 boolean isFixedSize()
           
 boolean isReadOnly()
           
 boolean isSynchronized()
           Returns a value indicating whether access to the collection is synchronized (thread-safe).
 com.aspose.ms.System.Collections.IEnumerator iterator()
           Returns an enumerator for the entire collection.
 void remove(java.lang.Object value)
           
 void removeAt(int index)
           Removes slide id at specified position.
 void removeItem(java.lang.Object value)
           
 void set_Item(int index, java.lang.Object value)
           
 void setItem(int index, long value)
           
 int size()
           Returns a number of elements in the collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlideIdCollection

public SlideIdCollection()
Method Detail

add

public int add(long value)

Adds slide id into the collection.

Parameters:
value - Slide id to add.
Returns:
Index of added value.

insert

public void insert(int index,
                   long value)

Insert slide id into the collection at specified index.

Parameters:
index - Position to add.
value - Slide id to insert.

removeAt

public void removeAt(int index)

Removes slide id at specified position.

Specified by:
removeAt in interface com.aspose.ms.System.Collections.IList
Parameters:
index - Position of element to remove.

clear

public void clear()

Removes all elements from the collection.

Specified by:
clear in interface com.aspose.ms.System.Collections.IList

getItem

public long getItem(int index)

Returns or sets element at specified position of collection.

Parameters:
index - Index of element
Returns:
Element at specified position.

setItem

public void setItem(int index,
                    long value)

add

public int add(java.lang.Object value)

contains

public boolean contains(java.lang.Object value)
Specified by:
contains in interface com.aspose.ms.System.Collections.IList

indexOf

public int indexOf(java.lang.Object value)
Specified by:
indexOf in interface com.aspose.ms.System.Collections.IList

insert

public void insert(int index,
                   java.lang.Object value)

isFixedSize

public boolean isFixedSize()
Specified by:
isFixedSize in interface com.aspose.ms.System.Collections.IList

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in interface com.aspose.ms.System.Collections.IList

remove

public void remove(java.lang.Object value)

get_Item

public java.lang.Object get_Item(int index)
Specified by:
get_Item in interface com.aspose.ms.System.Collections.IList

set_Item

public void set_Item(int index,
                     java.lang.Object value)
Specified by:
set_Item in interface com.aspose.ms.System.Collections.IList

copyTo

public void copyTo(com.aspose.ms.System.Array array,
                   int index)

Copies all elements from the collection to the specified array.

Specified by:
copyTo in interface com.aspose.ms.System.Collections.ICollection
Parameters:
array - Target array.
index - Starting index in the target array.

size

public int size()

Returns a number of elements in the collection.

Specified by:
size in interface com.aspose.ms.System.Collections.ICollection

isSynchronized

public boolean isSynchronized()

Returns a value indicating whether access to the collection is synchronized (thread-safe).

Specified by:
isSynchronized in interface com.aspose.ms.System.Collections.ICollection

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Readonly object.

Specified by:
getSyncRoot in interface com.aspose.ms.System.Collections.ICollection

iterator

public com.aspose.ms.System.Collections.IEnumerator iterator()

Returns an enumerator for the entire collection.

Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable
Specified by:
iterator in interface java.lang.Iterable

addItem

public int addItem(java.lang.Object value)
Specified by:
addItem in interface com.aspose.ms.System.Collections.IList

insertItem

public void insertItem(int index,
                       java.lang.Object value)
Specified by:
insertItem in interface com.aspose.ms.System.Collections.IList

removeItem

public void removeItem(java.lang.Object value)
Specified by:
removeItem in interface com.aspose.ms.System.Collections.IList