263264265266267268269270271272273
BooleanStack stack = (BooleanStack) otherStack; if (stack.size() != 1) { return false; } return this.element1 == stack.peek(); } @Override public int hashCode() {