org.fest.assertions
Class Index

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

public final class Index
extends Object

Understands an index.

Author:
Alex Ruiz

Method Summary
static Index atIndex(int index)
          Creates a new Index.
 int value()
          Returns the value of this index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.


Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.