com.spire.doc.pages
Class LayoutCollection<T extends LayoutElement>

java.lang.Object
  extended by com.spire.doc.pages.LayoutCollection<T>
All Implemented Interfaces:
com.spire.ms.System.Collections.Generic.IGenericEnumerable<T>, com.spire.ms.System.Collections.IEnumerable<T>, java.lang.Iterable<T>

public final class LayoutCollection<T extends LayoutElement>
extends java.lang.Object
implements com.spire.ms.System.Collections.Generic.IGenericEnumerable<T>

Represents a generic collection of layout entity types.


Method Summary
 T get(int index)
          Retrieves the entity at the given index.
 int getCount()
          Gets the number of entities in the collection.
 T getFirst()
          Returns the first entity in the collection.
 T getLast()
          Returns the last entity in the collection.
 

Method Detail

getFirst

public T getFirst()
Returns the first entity in the collection.


getLast

public T getLast()
Returns the last entity in the collection.


get

public T get(int index)
Retrieves the entity at the given index.

Parameters:
index -
Returns:

getCount

public int getCount()
Gets the number of entities in the collection.