J avolution v5.2 (J2SE 1.5+)

javolution.io
Class Struct.Bool

java.lang.Object
  extended by javolution.io.Struct.Member
      extended by javolution.io.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)
           
 
Methods inherited from class javolution.io.Struct.Member
offset, position, struct
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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)

J avolution v5.2 (J2SE 1.5+)

Copyright © 2005 - 2007 Javolution.