com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IPortionCollection

  • All Superinterfaces:
    com.aspose.ms.System.Collections.IEnumerable<IPortion>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IPortion>, java.lang.Iterable<IPortion>
    All Known Implementing Classes:
    PortionCollection


    public interface IPortionCollection
    extends com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IPortion>

    Represents a collection of a portions.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void add(IPortion value)
      Adds a Portion to the end of collection.
      void clear()
      Removes all elements from the collection.
      boolean contains(IPortion item)
      Determines whether the IGenericCollection contains a specific value.
      IPortion get_Item(int index)
      Gets the element at the specified index.
      int getCount()
      Gets the number of elements actually contained in the collection.
      int indexOf(IPortion item)
      Determines the index of a specific portion in collection.
      void insert(int index, IPortion value)
      Inserts a Portion into the collection at the specified index.
      boolean remove(IPortion item)
      Removes the first occurrence of a specific object from the IGenericCollection.
      void removeAt(int index)
      Removes the element at the specified index of the collection.
      • Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable

        iterator
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • get_Item

        IPortion get_Item(int index)

        Gets the element at the specified index.

      • getCount

        int getCount()

        Gets the number of elements actually contained in the collection. Read-only int.

      • add

        void add(IPortion value)

        Adds a Portion to the end of collection.

        Parameters:
        value - The Portion to be added to the end of the collection.
      • indexOf

        int indexOf(IPortion item)

        Determines the index of a specific portion in collection.

        Parameters:
        item - The portion to locate in the collection.
        Returns:
        The index of item if found in the collection; otherwise, -1.
      • insert

        void insert(int index,
                    IPortion value)

        Inserts a Portion into the collection at the specified index.

        Parameters:
        index - The zero-based index at which Portion should be inserted.
        value - The Portion to insert.
      • clear

        void clear()

        Removes all elements from the collection.

      • removeAt

        void removeAt(int index)

        Removes the element at the specified index of the collection.

        Parameters:
        index - The zero-based index of the element to remove.