Interface JenaSetHashOptimized<E>

All Superinterfaces:
JenaMapSetCommon<E>, JenaSet<E>
All Known Subinterfaces:
FastTripleBunch
All Known Implementing Classes:
FastArrayBunch, FastHashedTripleBunch, FastHashSet

public interface JenaSetHashOptimized<E> extends JenaSet<E>
Extension of JenaSet that allows to add and remove elements with a given hash code. This is useful if the hash code is already known. Attention: The hash code must be consistent with E::hashCode().
  • Method Details

    • tryAdd

      boolean tryAdd(E key, int hashCode)
    • addUnchecked

      void addUnchecked(E key, int hashCode)
    • tryRemove

      boolean tryRemove(E key, int hashCode)
    • removeUnchecked

      void removeUnchecked(E key, int hashCode)