public class WellIndex extends Object implements Comparable<WellIndex>
| Constructor and Description |
|---|
WellIndex(int row,
int column)
Creates a new well index object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
column()
Returns the column index.
|
int |
compareTo(WellIndex index)
Compares two well indices.
|
boolean |
equals(Object object)
Indicies with the same row and column are equivalent.
|
int |
hashCode()
Hash code uses the row and column.
|
int |
row()
Returns the row index.
|
String |
rowString()
Returns the row ID.
|
String |
toString()
Returns a string containing the well.
|
public WellIndex(int row,
int column)
int - the row indexint - the column indexpublic int row()
public int column()
public int compareTo(WellIndex index)
compareTo in interface Comparable<WellIndex>public String toString()
public String rowString()
public boolean equals(Object object)
Copyright © 2017. All rights reserved.