Interface TripleBunch

All Superinterfaces:
org.apache.jena.atlas.lib.Copyable<TripleBunch>, JenaMapSetCommon<Triple>, JenaSet<Triple>
All Known Implementing Classes:
ArrayBunch, HashedTripleBunch

public interface TripleBunch extends JenaSet<Triple>, org.apache.jena.atlas.lib.Copyable<TripleBunch>
A bunch of triples - a stripped-down set with specialized methods. A bunch is expected to store triples that share some useful property (such as having the same subject or predicate).
  • Method Details

    • isArray

      boolean isArray()
      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.
      Returns:
      true iff this bunch is implemented as an arrays