boolean (final Object that) { if (this == that) { return true; } if (!(that instanceof SerializedStubTree thatTree)) { return false; } final int length = myTreeByteLength; if (length != thatTree.myTreeByteLength) { return false; } for (int i = 0; i < length; i++) { if (myTreeBytes[i] != thatTree.myTreeBytes[i]) { return false; } } return true; }