Interface ItemSet

All Superinterfaces:
Iterable<Item>
All Known Implementing Classes:
CollationItemSet, HashItemSet

public interface ItemSet extends Iterable<Item>
This is an interface for indexing and retrieving items in a set.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    add(Item key, InputInfo ii)
    Stores the specified key if it has not been stored before.

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator
  • Method Details

    • add

      boolean add(Item key, InputInfo ii) throws QueryException
      Stores the specified key if it has not been stored before.
      Parameters:
      key - key to be added
      ii - input info (can be null)
      Returns:
      true if the key did not exist yet and was stored
      Throws:
      QueryException - query exception