/** * Two ALS are equal if they contain the same indices * * @param o * @return */ @Override public boolean equals(Object o) { if (o == null) { return false; } if (!(o instanceof Als)) { return false; } Als a = (Als) o; return indices.equals(a.indices); }