Item newFloat ( final float value ) { key . set ( value ) ; Item result = get ( key ) ; if ( result == null ) { pool . putByte ( FLOAT ) . putInt ( key . intVal ) ; result = new Item ( index ++ , key ) ; put ( result ) ; } return result ; }
Adds a float to the constant pool of the class being build . Does nothing if the constant pool already contains a similar item .