void () { if (myList.get(myFirst) == null) { throw new IllegalStateException(this + ": EqClass " + myFirst + " is missing"); } if (myList.get(mySecond) == null) { throw new IllegalStateException(this + ": EqClass " + mySecond + " is missing"); } }