@Override
  public int hashCode() {
    int result = 1;

    for (int i = 0; i < currentCapacity; i++) {
      result = 31 * result + (entries[i] == null ? 0 : entries[i].hashCode());
    }

    return result;
  }
Size of entries.

@return the size
evm/src/main/java/org/hyperledger/besu/evm/internal/FlexStack.java