@Override
    public boolean equals(final Object o) {
      if (this == o) return true;
      if (!(o instanceof Node<?> node)) return false;
      return Arrays.equals(leafArray, node.leafArray)
          && Objects.equals(leafObject, node.leafObject)
          && Arrays.equals(children, node.children);
    }
A Bytes optimized set that stores values in a trie by byte

@param <E> Type of trie
evm/src/main/java/org/hyperledger/besu/collections/trie/BytesTrieSet.java