public abstract class Indexable extends Object implements AssociatedIndex, Comparable<AssociatedIndex>
Constructor and Description |
---|
Indexable(int index) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
int |
compareTo(AssociatedIndex other) |
boolean |
equals(Object o) |
int |
getIndex()
The associated index.
|
int |
hashCode() |
public int getIndex()
AssociatedIndex
getIndex
in interface AssociatedIndex
public int compareTo(AssociatedIndex other)
compareTo
in interface Comparable<AssociatedIndex>
protected boolean canEqual(Object other)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.