com.sentilla.system
Class Binary

java.lang.Object
  extended by com.sentilla.system.Binary

public class Binary
extends Object

Private: For Sentilla internal use only.


Constructor Summary
Binary()
          Allocating a new Binary reserves a binary slot and a unique Binary ID.
 
Method Summary
 short getBinID()
          Get the unique identifier for this Binary.
 int getFileNum()
           
 int hashCode()
          Returns a hash code value for the object.
 void install(int filename)
          Install this binary with the system based on the given file number.
static void systemReady()
           
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Binary

public Binary()
Allocating a new Binary reserves a binary slot and a unique Binary ID. If the system resources are exhaused such that no binary slot can be reserved, an error is thrown.

Method Detail

install

public void install(int filename)
Install this binary with the system based on the given file number.


getBinID

public short getBinID()
Get the unique identifier for this Binary.


hashCode

public int hashCode()
Description copied from class: Object
Returns a hash code value for the object. This method is supported for the benefit of hashtables such as those provided by java.util.Hashtable.

The general contract of hashCode is:

As much as is reasonably practical, the hashCode method defined by class Object does return distinct integers for distinct objects. (This is typically implemented by converting the internal address of the object into an integer, but this implementation technique is not required by the JavaTM programming language.)

Overrides:
hashCode in class Object
Returns:
a hash code value for this object.
See Also:
Object.equals(java.lang.Object), Hashtable

systemReady

public static void systemReady()

getFileNum

public int getFileNum()


Copyright © 2007 Sentilla Corporation. All Rights Reserved.