com.datamessenger.util
Class BitSwitch


java.lang.Object

  |

  +--com.datamessenger.util.BitSwitch


public class BitSwitch
extends java.lang.Object
implements java.lang.Cloneable


Field Summary
static int ALLBITS
           
 
Constructor Summary
BitSwitch()
           
 
Method Summary
 void clear(int bits)
           
 java.lang.Object clone()
           
 boolean get(int bits)
           
 void mask(int bits)
           
 void set(int bits)
           
 void unmask(int bits)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALLBITS


public static final int ALLBITS
Constructor Detail

BitSwitch


public BitSwitch()
Method Detail

set


public void set(int bits)

get


public boolean get(int bits)

clear


public void clear(int bits)

mask


public void mask(int bits)

unmask


public void unmask(int bits)

clone


public java.lang.Object clone()
Overrides:
clone in class java.lang.Object


Comments, suggestions, and bug reports are welcomed and encouraged.
Please refer them to our support page. Thank you.

Copyright © 1999-2001 Produx House, Corp. All rights reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc.