org.gnu.glib
Class Flags

java.lang.Object
  extended by org.gnu.glib.Flags
Direct Known Subclasses:
ParmFlags

Deprecated. This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may have an equivalent in java-gnome 4.0, see org.gnome.glib.Flags. You should be aware that there is a considerably different API in the new library: the architecture is completely different and most notably internals are no longer exposed to public view.

public class Flags
extends java.lang.Object

Base class for all classes resulting from a define-flags in a .defs file.


Field Summary
protected  int value_
          Deprecated. holder for the raw flags value
 
Constructor Summary
protected Flags()
          Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
 
Method Summary
 boolean equals(java.lang.Object other)
          Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
 int getValue()
          Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
 int hashCode()
          Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value_

protected int value_
Deprecated. 
holder for the raw flags value

Constructor Detail

Flags

protected Flags()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

This class is only instantiable via subclasses.

Method Detail

getValue

public final int getValue()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Get the raw value of the object.

Returns:
the raw value.

hashCode

public final int hashCode()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Get the hash code for this instance. It is the same as its value.

Overrides:
hashCode in class java.lang.Object
Returns:
the hash code

equals

public final boolean equals(java.lang.Object other)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Compare this to another object. The comparison is only true when the other object is also a Flags and when the values match.

Overrides:
equals in class java.lang.Object
Parameters:
other - the object to compare to
Returns:
the result of comparison