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