Interface HashedItem

All Superinterfaces:
ItemBase
All Known Implementing Classes:
HashedStructuredItem

public interface HashedItem extends ItemBase
Item that does not hold any real data outside of its id and amount. Instead, it holds hashes of added data and a set of keys of removed data.

This stores the raw int identifiers instead of data keys to simplify handling across protocols under the assumption that the keys are almost never needed beyond automated id updating.

See Also:
  • Method Details

    • dataHashesById

      it.unimi.dsi.fastutil.ints.Int2IntMap dataHashesById()
    • removedDataIds

      it.unimi.dsi.fastutil.ints.IntSet removedDataIds()