Class Index

java.lang.Object
org.fest.assertions.Index

public final class Index extends Object
Understands an index.
  • Field Details

    • value

      private final int value
  • Constructor Details

    • Index

      private Index(int value)
  • Method Details

    • atIndex

      public static Index atIndex(int index)
      Creates a new Index.
      Parameters:
      index - the value of the index.
      Returns:
      the created Index.
    • value

      public int value()
      Returns the value of this index.
      Returns:
      the value of this index.