Class Buffer


  • public class Buffer
    extends Object
    Buffers multiple measurements waiting to be transferred to R later on.
    • Method Detail

      • put

        public <E> boolean put​(Measurement<?> m)
        Adds a measurement to this buffer.
        Parameters:
        m - the measurement to be added
        Returns:
      • shrinkToSize

        public void shrinkToSize()
      • shrinkArray

        protected static String[] shrinkArray​(String[] src,
                                              int size)
      • isFull

        public boolean isFull()
      • getWhereFirst

        public BufferPart getWhereFirst()
      • getWhereSecond

        public BufferPart getWhereSecond()
      • getWhereProperty

        public Column<String> getWhereProperty()
      • getValue

        public double[] getValue()
      • getWhen

        public double[] getWhen()
      • getSize

        public int getSize()