class StoredObjectMetadata {

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (!(o instanceof StoredObjectMetadata)) {
      return false;
    }
    StoredObjectMetadata other = (StoredObjectMetadata) o;
    return _key.equals(other._key) && _size == other._size;
  }

  public  StoredObjectMetadata(String key, long size);

}