public synchronized Object get ( int id ) throws IllegalArgumentException { if ( tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "get" , "" + id ) ; if ( ( id < 1 ) || ( id > maxSize ) ) throw new SIErrorException ( nls . getFormattedMessage ( "IDTABLE_INTERNAL_SICJ0050" , null , "IDTABLE_INTERNAL_SICJ0050" ) ) ; // D226232 Object returnValue = null ; if ( id < table . length ) returnValue = table [ id ] ; if ( tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "get" , "" + returnValue ) ; return returnValue ; }
Gets an object from the table by ID . Returns the object associated with the specified ID . It is valid to specify an ID which does not have an object associated with it . In this case a value of null is returned .