public boolean getBoolean ( int index ) { LazyNode token = getValueToken ( index ) ; if ( token . type == LazyNode . VALUE_TRUE ) return true ; if ( token . type == LazyNode . VALUE_FALSE ) return false ; throw new LazyException ( "Requested value is not a boolean" , token ) ; }
Returns the boolean value stored at the given index .