com.aspose.slides
Class SlideIdCollection

java.lang.Object
  extended by com.aspose.slides.SlideIdCollection

public final class SlideIdCollection
extends java.lang.Object

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)
           
 void clear()
           Removes all elements from the collection.
 boolean contains(java.lang.Object value)
           
 void copyTo(java.lang.Object[] array, int index)
           Copies all elements from the collection to the specified array.
 long get_Item(int index)
           Returns or sets element at specified position of collection.
 int getCount()
           Returns a number of elements in the 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)
           
 boolean isFixedSize()
           
 boolean isReadOnly()
           
 boolean isSynchronized()
           Returns a value indicating whether access to the collection is synchronized (thread-safe).
 java.util.Iterator 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 set_Item(int index, long value)
           
 
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.

Parameters:
index - Position of element to remove.

clear

public void clear()

Removes all elements from the collection.


get_Item

public long get_Item(int index)

Returns or sets element at specified position of collection.

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

set_Item

public void set_Item(int index,
                     long value)

add

public int add(java.lang.Object value)

contains

public boolean contains(java.lang.Object value)

indexOf

public int indexOf(java.lang.Object value)

insert

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

isFixedSize

public boolean isFixedSize()

isReadOnly

public boolean isReadOnly()

remove

public void remove(java.lang.Object value)

copyTo

public void copyTo(java.lang.Object[] array,
                   int index)

Copies all elements from the collection to the specified array.

Parameters:
array - Target array.
index - Starting index in the target array.

getCount

public int getCount()

Returns a number of elements in the collection.


isSynchronized

public boolean isSynchronized()

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


getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Readonly object.


iterator

public java.util.Iterator iterator()

Returns an enumerator for the entire collection.