org.intermine.sql.writebatch
Class Row

java.lang.Object
  extended by org.intermine.sql.writebatch.Row
All Implemented Interfaces:
java.lang.Comparable<Row>

public class Row
extends java.lang.Object
implements java.lang.Comparable<Row>

Stores two ints.


Constructor Summary
Row(int left, int right)
          Constructor.
 
Method Summary
 int compareTo(Row o)
          
 boolean equals(java.lang.Object o)
          
 int getLeft()
          Returns left.
 int getRight()
          Returns right.
 int hashCode()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Row

public Row(int left,
           int right)
Constructor.

Parameters:
left - the left integer
right - the right integer
Method Detail

getLeft

public int getLeft()
Returns left.

Returns:
left

getRight

public int getRight()
Returns right.

Returns:
right

equals

public boolean equals(java.lang.Object o)

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(Row o)

Specified by:
compareTo in interface java.lang.Comparable<Row>