Package ucar.visad

Class Segment

java.lang.Object
ucar.visad.Segment

public class Segment extends Object
Provides support for a run-length encoded data segment.
Author:
Steven R. Emmerson
  • Constructor Details

    • Segment

      public Segment(int index, int count)
      Constructs.
      Parameters:
      index - The starting index.
      count - The count.
  • Method Details

    • getIndex

      public int getIndex()
      Gets the starting index.
      Returns:
      The starting index.
    • getCount

      public int getCount()
      Gets the count.
      Returns:
      The count.