Class AbstractList

java.lang.Object
com.yahoo.component.provider.FreezableClass
com.yahoo.component.provider.ListenableFreezableClass
com.yahoo.search.result.Hit
com.yahoo.search.result.HitGroup
com.yahoo.search.grouping.result.AbstractList
All Implemented Interfaces:
com.yahoo.component.provider.Freezable, com.yahoo.component.provider.ListenableFreezable, com.yahoo.processing.response.Data, com.yahoo.processing.response.DataList<Hit>, Cloneable, Comparable<Hit>, Iterable<Hit>
Direct Known Subclasses:
GroupList, HitList

public abstract class AbstractList extends HitGroup
Author:
Simon Thoresen Hult
  • Constructor Details

    • AbstractList

      public AbstractList(String type, String label)

      Constructs a new instance of this class.

      Parameters:
      type - The type of this list.
      label - The label of this list.
  • Method Details

    • getLabel

      public String getLabel()

      Returns the label of this list.

      Returns:
      The label.
    • continuations

      public Map<String,Continuation> continuations()

      Returns the map of all possible Continuations of this list.

      Returns:
      The list of Continuations.
    • close

      public void close()
      Description copied from class: Hit
      Releases the resources held by this, making it irreversibly unusable
      Specified by:
      close in interface com.yahoo.processing.response.DataList<Hit>
      Overrides:
      close in class HitGroup