org.knime.base.node.io.tablecreator.table
Class SpreadsheetTableModel.IntPair

java.lang.Object
  extended by org.knime.base.node.io.tablecreator.table.SpreadsheetTableModel.IntPair
All Implemented Interfaces:
Comparable<SpreadsheetTableModel.IntPair>
Enclosing class:
SpreadsheetTableModel

static class SpreadsheetTableModel.IntPair
extends Object
implements Comparable<SpreadsheetTableModel.IntPair>

Class to encapsulate the row and column index of a cell in a table.

Author:
Heiko Hofer

Constructor Summary
SpreadsheetTableModel.IntPair(int row, int col)
          Create a new instance.
 
Method Summary
 int compareTo(SpreadsheetTableModel.IntPair that)
          
 boolean equals(Object obj)
          
(package private)  int getCol()
           
(package private)  int getRow()
           
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpreadsheetTableModel.IntPair

SpreadsheetTableModel.IntPair(int row,
                              int col)
Create a new instance.

Parameters:
row - the row index.
col - the column index.
Method Detail

getRow

final int getRow()
Returns:
the row

getCol

final int getCol()
Returns:
the col

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

compareTo

public int compareTo(SpreadsheetTableModel.IntPair that)

Specified by:
compareTo in interface Comparable<SpreadsheetTableModel.IntPair>

toString

public String toString()

Overrides:
toString in class Object


Copyright, 2003 - 2012. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.