StreamState (gCube Species Discovery 3.3.0-SNAPSHOT API)
Date: 2013-07-19

org.gcube.portlets.user.speciesdiscovery.client.util.stream

## Class StreamState

- java.lang.Object
- - org.gcube.portlets.user.speciesdiscovery.client.util.stream.StreamState

-     public class StreamState
      extends Object

  Author:
    "Federico De Faveri defaveri@isti.cnr.it"

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected boolean` | `complete`
    `protected int` | `size`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `StreamState(int size, boolean complete, boolean isBufferFull)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getSize()`
    `boolean` | `isBufferFull()`
    `boolean` | `isComplete()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### size

          protected int size

    - #### complete

          protected boolean complete

  - ### Constructor Detail

    - #### StreamState

          public StreamState(int size,
                     boolean complete,
                     boolean isBufferFull)

      Parameters:
        `size` -
        `complete` -
        `isMaxSize` -

  - ### Method Detail

    - #### getSize

          public int getSize()

      Returns:
        the size

    - #### isComplete

          public boolean isComplete()

      Returns:
        the complete

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### isBufferFull

          public boolean isBufferFull()

Copyright © 2013. All Rights Reserved.