Interface DataOutputStreamXY<T extends MguiNumber>

Type Parameters:
T - Number type for this stream
All Superinterfaces:
DataOutputStream<T>, DataSourceListener
All Known Subinterfaces:
DataOutputStreamNamedXY<T>
All Known Implementing Classes:
DataBridgeNamedXY, DataBridgeXY

public interface DataOutputStreamXY<T extends MguiNumber>
extends DataOutputStream<T>
Represents an XY output stream with one X and multiple Y channels.
Since:
1.0
Version:
1.0
Author:
Andrew Reid
  • Method Summary

    Modifier and Type Method Description
    int getChannelCount()
    Returns the number of Y channels in this stream.
    void setXData​(java.util.List<T> x)
    Sets the X value for this output stream
    void setYData​(int i, java.util.List<T> data)
    Sets the Y data for the i'th channels of this output stream.
    void setYData​(java.util.List<java.util.List<T>> data)
    Sets the Y data for all channels of this output stream.

    Methods inherited from interface mgui.interfaces.io.DataOutputStream

    close, setData, setDataAsBytes

    Methods inherited from interface mgui.interfaces.io.DataSourceListener

    dataSourceEmission, dataSourceReset
  • Method Details

    • setYData

      void setYData​(java.util.List<java.util.List<T>> data) throws java.io.IOException
      Sets the Y data for all channels of this output stream.
      Parameters:
      data -
      Throws:
      java.io.IOException
    • setYData

      void setYData​(int i, java.util.List<T> data) throws java.io.IOException
      Sets the Y data for the i'th channels of this output stream.
      Parameters:
      i -
      data -
      Throws:
      java.io.IOException - if there is no i'th channel
    • setXData

      void setXData​(java.util.List<T> x) throws java.io.IOException
      Sets the X value for this output stream
      Parameters:
      data -
      Throws:
      java.io.IOException
    • getChannelCount

      int getChannelCount()
      Returns the number of Y channels in this stream.
      Returns: