Class HashedTripleBunch

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

public class HashedTripleBunch extends HashCommonSet<Triple> implements TripleBunch
A bunch of triples, implemented as a set of triples.
  • Constructor Details

    • HashedTripleBunch

      public HashedTripleBunch()
  • Method Details

    • clear

      public void clear()
      Description copied from interface: JenaMapSetCommon
      Clear the collection.
      Specified by:
      clear in interface JenaMapSetCommon<Triple>
    • isArray

      public boolean isArray()
      Description copied from interface: TripleBunch
      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 TripleBunch
      Returns:
      true iff this bunch is implemented as an arrays
    • copy

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