Documentation of 'org.joone.edit.SharedBuffer' Java class
SharedBuffer
org.joone.edit

Class SharedBuffer



  • public class SharedBuffer
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      SharedBuffer()
      Creates new SharedBuffer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double[][] get()
      Returns the buffer and empty it.
      ChartingHandle getHandle()
      Getter for property handle.
      double[][] getNoWait()
      Returns the buffer and empty it.
      void put(double value, double cycle)
      Placees a pair of double in the next free place in the buffer.
      void setHandle(ChartingHandle handle)
      Setter for property handle.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SharedBuffer

        public SharedBuffer()
        Creates new SharedBuffer
    • Method Detail

      • get

        public double[][] get()
        Returns the buffer and empty it. The calling Thread falls in a wait state if the buffer is empty
      • getNoWait

        public double[][] getNoWait()
        Returns the buffer and empty it. The calling Thread doesn't fall in a wait state if the buffer is empty, but simply returns a null value.
      • put

        public void put(double value,
                        double cycle)
        Placees a pair of double in the next free place in the buffer.
      • getHandle

        public ChartingHandle getHandle()
        Getter for property handle.
        Returns:
        Value of property handle.
      • setHandle

        public void setHandle(ChartingHandle handle)
        Setter for property handle.
        Parameters:
        handle - New value of property handle.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.