<xml> </xml>

db4o |

# ExtObjectContainer.getByID Method

returns the stored object for an internal ID.

object getByID(
long ID
);

#### Parameters

ID
  the internal ID

#### Return Value

the object associated with the passed ID or

    null

, if no object is associated with this ID in this

    ObjectContainer

.

#### Remarks

returns the stored object for an internal ID.
This is the fastest method for direct access to objects. Internal IDs can be obtained with getID . Objects will not be activated by this method. They will be returned in the activation state they are currently in, in the local cache.

#### See Also

ExtObjectContainer Interface | com.db4o.ext Namespace | activationDepth