Class 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>, java.lang.Cloneable, java.lang.Comparable<Hit>, java.lang.Iterable<Hit>
    Direct Known Subclasses:
    GroupList, HitList

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

      • AbstractList

        public AbstractList​(java.lang.String type,
                            java.lang.String label)

        Constructs a new instance of this class.

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

      • getLabel

        public java.lang.String getLabel()

        Returns the label of this list.

        Returns:
        The label.
      • continuations

        public java.util.Map<java.lang.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