org.apache.solr.search
Class DocListAndSet

java.lang.Object
  extended by org.apache.solr.search.DocListAndSet

public final class DocListAndSet
extends java.lang.Object

A struct whose only purpose is to hold both a DocList and a DocSet so that both may be returned from a single method.

The DocList and DocSet returned should not be modified as they may have been retrieved or inserted into a cache and should be considered shared.

Oh, if only java had "out" parameters or multiple return args...

Since:
solr 0.9
Version:
$Id: DocListAndSet.java 539098 2007-05-17 20:01:40Z otis $
Author:
yonik

Field Summary
 DocList docList
           
 DocSet docSet
           
 
Constructor Summary
DocListAndSet()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

docList

public DocList docList

docSet

public DocSet docSet
Constructor Detail

DocListAndSet

public DocListAndSet()


Copyright © 2006 - 2008 The Apache Software Foundation