javolution.io
Class Struct.Bool

Object
  extended by Struct.Member
      extended by Struct.Bool
Enclosing class:
Struct

public class Struct.Bool
extends Struct.Member

This class represents a 8 bits boolean with true represented by 1 and false represented by 0.


Constructor Summary
Struct.Bool()
           
Struct.Bool(int nbrOfBits)
           
 
Method Summary
 boolean get()
           
 void set(boolean value)
           
 String toString()
           
 
Methods inherited from class Struct.Member
bitIndex, bitLength, offset, struct
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Struct.Bool

public Struct.Bool()

Struct.Bool

public Struct.Bool(int nbrOfBits)
Method Detail

get

public boolean get()

set

public void set(boolean value)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005-2012 Javolution. All Rights Reserved.