org.apache.solr.search

## Class DocListAndSet

- java.lang.Object
- - org.apache.solr.search.DocListAndSet

-     public final class DocListAndSet
      extends 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

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `DocList` | `docList`
    `DocSet` | `docSet`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `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 © 2000-2016 Apache Software Foundation. All Rights Reserved.