Class FastHashedTripleBunch

All Implemented Interfaces:
org.apache.jena.atlas.lib.Copyable<FastTripleBunch>, JenaMapSetCommon<Triple>, JenaSet<Triple>, JenaSetHashOptimized<Triple>, FastTripleBunch

public class FastHashedTripleBunch extends FastHashSet<Triple> implements FastTripleBunch
A set of triples - backed by FastHashSet.
  • Constructor Details

    • FastHashedTripleBunch

      public FastHashedTripleBunch(JenaSet<Triple> set)
      Create a new triple bunch from the given set of triples.
      Parameters:
      set - the set of triples
    • FastHashedTripleBunch

      public FastHashedTripleBunch()
  • Method Details

    • isArray

      public boolean isArray()
      Description copied from interface: FastTripleBunch
      Answer true iff this bunch is implemented as an array. This field is used to optimize some operations by avoiding the need for instanceOf tests.
      Specified by:
      isArray in interface FastTripleBunch
      Returns:
      true iff this bunch is implemented as an arrays
    • copy

      public FastHashedTripleBunch copy()
      Specified by:
      copy in interface org.apache.jena.atlas.lib.Copyable<FastTripleBunch>