static void insert ( int key ) {
  TrieNode temp = root ;
  for ( int i = INT_SIZE - 1 ;
  i >= 0 ;
  i -- ) {
    int current_bit = ( key & ( 1 << i ) ) >= 1 ? 1 : 0 ;
    if ( temp != null && temp . Child [ current_bit ] == null ) temp . Child [ current_bit ] = new TrieNode ( ) ;
    temp = temp . Child [ current_bit ] ;
  }
  temp . value = key ;
}

static void insert ( int key ) { TrieNode temp = root ; for ( int i = INT_SIZE - 1 ; i >= 0 ; i -- ) { int current_bit = ( key & ( 1 << i ) ) >= 1 ? 1 : 0 ; if ( temp != null && temp . Child [ current_bit ] == null ) temp . Child [ current_bit ] = new TrieNode ( ) ; temp = temp . Child [ current_bit ] ; } temp . value = key ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (identifier))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (decimal_integer_literal)))) condition: (binary_expression left: (identifier) right: (decimal_integer_literal)) update: (update_expression (identifier)) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (ternary_expression condition: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (decimal_integer_literal) right: (identifier))))) right: (decimal_integer_literal)) consequence: (decimal_integer_literal) alternative: (decimal_integer_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (null_literal)) right: (binary_expression left: (array_access array: (field_access object: (identifier) field: (identifier)) index: (identifier)) right: (null_literal)))) consequence: (expression_statement (assignment_expression left: (array_access array: (field_access object: (identifier) field: (identifier)) index: (identifier)) right: (object_creation_expression type: (type_identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (array_access array: (field_access object: (identifier) field: (identifier)) index: (identifier)))))) (expression_statement (assignment_expression left: (field_access object: (identifier) field: (identifier)) right: (identifier)))))