org.basex.query.util
Interface ItemSet

All Superinterfaces:
java.lang.Iterable<Item>
All Known Implementing Classes:
CollationItemSet, HashItemSet, ItemValueMap

public interface ItemSet
extends java.lang.Iterable<Item>

This is an interface for indexing and retrieving items in a set.

Author:
BaseX Team 2005-13, BSD License, Christian Gruen

Method Summary
 boolean add(Item key, InputInfo ii)
          Stores the specified key if it has not been stored before.
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

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
Returns:
if the key did not exist yet and was stored
Throws:
QueryException - query exception