org.fest.swing.data
Class Index

java.lang.Object
  extended by org.fest.swing.data.Index

public final class Index
extends Object

Understands an index.

Author:
Alex Ruiz

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

Field Detail

value

public final int value
The value of this index.

Method Detail

atIndex

public static Index atIndex(int value)
Creates a new Index.

Parameters:
value - the value of the index to create.
Returns:
the created index.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


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