Class Index

java.lang.Object
net.imglib2.type.Index

public final class Index extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    dec()
    Decrement the index.
    void
    dec(int decrement)
    Decrease the index by decrement steps.
    int
    get()
    Get the index.
    void
    inc()
    Increment the index.
    void
    inc(int increment)
    Increase the index by decrement steps.
    void
    set(int index)
    Set the index to index.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • i

      private int i
  • Constructor Details

    • Index

      public Index()
  • Method Details

    • get

      public int get()
      Get the index.

      This is used by accessors (e.g., a Cursor) to position NativeTypes in the container, and by NativeTypes to determine the offset into the underlying primitive array, where the value of the type is stored.

    • set

      public void set(int index)
      Set the index to index.

      This is used by accessors (e.g., a Cursor) to position NativeTypes in the container.

    • inc

      public void inc()
      Increment the index.

      This is used by accessors (e.g., a Cursor) to position NativeTypes in the container.

    • inc

      public void inc(int increment)
      Increase the index by decrement steps.

      This is used by accessors (e.g., a Cursor) to position NativeTypes in the container.

    • dec

      public void dec()
      Decrement the index.

      This is used by accessors (e.g., a Cursor) to position NativeTypes in the container.

    • dec

      public void dec(int decrement)
      Decrease the index by decrement steps.

      This is used by accessors (e.g., a Cursor) to position NativeTypes in the container.