org.openanzo.glitter.query
Interface SolutionSet

All Superinterfaces:
java.util.Collection<PatternSolution>, java.lang.Iterable<PatternSolution>, java.util.List<PatternSolution>
All Known Implementing Classes:
SolutionList

public interface SolutionSet
extends java.util.List<PatternSolution>

A SolutionSet is a query result set; it is an ordered sequence of solutions.

Author:
lee

Method Summary
 SolutionSet slice(int startInclusive, int endExclusive)
          Returns a selected range of solutions from the SolutionSet
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

slice

SolutionSet slice(int startInclusive,
                  int endExclusive)
Returns a selected range of solutions from the SolutionSet

Parameters:
startInclusive - The returned range starts at the given index (zero-indexed).
endExclusive - The returned range contains all of the solutions before endExclusive
Returns:
A sliced solution set


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.