@Override
    public String toString() {
      final StringBuilder sb = new StringBuilder("Node{");
      sb.append("leaf=");
      if (leafObject == null) sb.append("null");
      else {
        sb.append('[');
        sb.append(leafObject.toHexString());
        sb.append(']');
      }
      sb.append(", children=");
      if (children == null) sb.append("null");
      else {
        sb.append('[');
        for (int i = 0; i < children.length; ++i) {
          if (children[i] == null) {
            continue;
          }
          sb.append(i == 0 ? "" : ", ").append(i).append("=").append(children[i]);
        }
        sb.append(']');
      }
      sb.append('}');
      return sb.toString();
    }
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