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

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

public class StreamState
extends Object

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

Field Summary
protected  boolean complete
           
protected  int size
           
 
Constructor Summary
StreamState(int size, boolean complete, boolean isBufferFull)
           
 
Method Summary
 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.