org.cb.cardboard
Class CardBoardEvent.IndexInterval

java.lang.Object
  extended byorg.cb.cardboard.CardBoardEvent.IndexInterval
All Implemented Interfaces:
CardBoardEvent.BoardIndexes, java.io.Serializable
Enclosing class:
CardBoardEvent

public static final class CardBoardEvent.IndexInterval
extends java.lang.Object
implements CardBoardEvent.BoardIndexes

A class that allows to specify BoardIndexes as an interval between two indexes.

See Also:
Serialized Form

Method Summary
 int getIndex0()
           
 int getIndex1()
           
 java.lang.String toString()
          Returns a string representation of this IndexInterval.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getIndex0

public int getIndex0()
Returns:
the lower bound of the index interval

getIndex1

public int getIndex1()
Returns:
the higher bound of the index interval

toString

public java.lang.String toString()
Returns a string representation of this IndexInterval. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not be null.

Returns:
a string representation of this IndexInterval.


Copyright © 2004 CoffeeBreaks. All Rights Reserved.