Class StringResultNodeVector

java.lang.Object
com.yahoo.vespa.objects.Selectable
com.yahoo.vespa.objects.Identifiable
All Implemented Interfaces:
Cloneable, Comparable<ResultNode>

public class StringResultNodeVector extends ResultNodeVector
This result holds nothing.
Author:
baldersheim, Simon Thoresen Hult
  • Field Details

    • classId

      public static final int classId
  • Constructor Details

    • StringResultNodeVector

      public StringResultNodeVector()
  • Method Details

    • onGetClassId

      protected int onGetClassId()
      Overrides:
      onGetClassId in class ResultNodeVector
    • add

    • add

      public ResultNodeVector add(ResultNode r)
      Specified by:
      add in class ResultNodeVector
    • size

      public int size()
      Specified by:
      size in class ResultNodeVector
    • getVector

      public ArrayList<StringResultNode> getVector()
    • onSerialize

      protected void onSerialize(com.yahoo.vespa.objects.Serializer buf)
      Overrides:
      onSerialize in class com.yahoo.vespa.objects.Identifiable
    • onDeserialize

      protected void onDeserialize(com.yahoo.vespa.objects.Deserializer buf)
      Overrides:
      onDeserialize in class com.yahoo.vespa.objects.Identifiable
    • onCmp

      protected int onCmp(ResultNode rhs)
      Description copied from class: ResultNode
      This method must be implemented by all subclasses of this to allow ordering of results. This method is used by the Cloneable implementation.
      Specified by:
      onCmp in class ResultNode
      Parameters:
      rhs - The other node to compare with.
      Returns:
      Comparable result.