Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.hp.hpl.jena.graph.query
Interface TripleSorter

All Known Implementing Classes:
  SimpleTripleSorter

    public interface TripleSorter

Interface for things that can sort triples (for optimising queries).

Author:
  kers

Field Summary
`static TripleSorter` | `dontSort` A TripleSorter that does not alter the triple array at all.

Method Summary
`Triple[]` | `sort(Triple[] triples)` Sort the array triples and return the reorganised array.

Field Detail

### dontSort

    static final TripleSorter dontSort

  A TripleSorter that does not alter the triple array at all.

Method Detail

### sort

    Triple[] sort(Triple[] triples)

  Sort the array triples and return the reorganised array. A new array may be returned or the existing array reorganised in-place. The result array may have a different size from the original; the requirement is just that a query using the result must deliver the same results as one using the original. We hope, of course, that the performance of the query is improved ...

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP