com.sun.electric.database
Class ImmutableNodeInst.Flag

java.lang.Object
  extended by com.sun.electric.database.ImmutableNodeInst.Flag
Enclosing class:
ImmutableNodeInst

public static class ImmutableNodeInst.Flag
extends java.lang.Object

Class to access user bits of ImmutableNodeInst.


Method Summary
 boolean is(int userBits)
          Returns true if this Flag is set in userBits.
 int set(int userBits, boolean value)
          Updates this flag in userBits.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

is

public boolean is(int userBits)
Returns true if this Flag is set in userBits.

Parameters:
userBits - user bits.
Returns:
true if this Flag is set in userBits;

set

public int set(int userBits,
               boolean value)
Updates this flag in userBits.

Parameters:
userBits - old user bits.
value - new value of flag.
Returns:
updates userBits.