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

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

      • 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 Detail

      • getLabel

        public String getLabel()

        Returns the label of this list.

        Returns:
        The label.
      • 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