org.elasticsearch.common.io
Class BooleanStreamable

java.lang.Object
  extended by org.elasticsearch.common.io.BooleanStreamable
All Implemented Interfaces:
Streamable

public class BooleanStreamable
extends Object
implements Streamable


Constructor Summary
BooleanStreamable()
           
BooleanStreamable(boolean value)
           
 
Method Summary
 boolean get()
           
 void readFrom(StreamInput in)
           
 void set(boolean newValue)
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanStreamable

public BooleanStreamable()

BooleanStreamable

public BooleanStreamable(boolean value)
Method Detail

set

public void set(boolean newValue)

get

public boolean get()

readFrom

public void readFrom(StreamInput in)
              throws IOException
Specified by:
readFrom in interface Streamable
Throws:
IOException

writeTo

public void writeTo(StreamOutput out)
             throws IOException
Specified by:
writeTo in interface Streamable
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.