Class TimeListImpl

java.lang.Object
org.loboevolution.svg.smil.TimeListImpl
All Implemented Interfaces:
TimeList

public class TimeListImpl extends Object implements TimeList

TimeListImpl class.

  • Constructor Details

  • Method Details

    • getLength

      public int getLength()
      Description copied from interface: TimeList
      The number of times in the list. The range of valid child time indices is 0 to length-1 inclusive.
      Specified by:
      getLength in interface TimeList
      Returns:
      a Integer object.
    • item

      public Time item(int index)
      Description copied from interface: TimeList
      Returns the index th item in the collection. If index is greater than or equal to the number of times in the list, this returns null .
      Specified by:
      item in interface TimeList
      Parameters:
      index - Index into the collection.
      Returns:
      The time at the index th position in the TimeList , or null if that is not a valid index.