Class ScriptDocValues.Doubles

  • All Implemented Interfaces:
    java.lang.Iterable<java.lang.Double>, java.util.Collection<java.lang.Double>, java.util.List<java.lang.Double>
    Enclosing class:
    ScriptDocValues<T>

    public static final class ScriptDocValues.Doubles
    extends ScriptDocValues<java.lang.Double>
    • Method Detail

      • setNextDocId

        public void setNextDocId​(int docId)
                          throws java.io.IOException
        Description copied from class: ScriptDocValues
        Set the current doc ID.
        Specified by:
        setNextDocId in class ScriptDocValues<java.lang.Double>
        Throws:
        java.io.IOException
      • resize

        protected void resize​(int newSize)
        Set the size() and ensure that the values array can store at least that many entries.
      • getValue

        public double getValue()
      • get

        public java.lang.Double get​(int index)
        Specified by:
        get in interface java.util.List<java.lang.Double>
        Specified by:
        get in class java.util.AbstractList<java.lang.Double>
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<java.lang.Double>
        Specified by:
        size in interface java.util.List<java.lang.Double>
        Specified by:
        size in class java.util.AbstractCollection<java.lang.Double>