private TYPE_1 METHOD_1 ( TYPE_2 p ) { for ( TYPE_1 n : nodes ) { if ( ( n . METHOD_2 ( ) ) == p ) { return n ; } } nodes . add ( new TYPE_1 ( p ) ) ; return nodes . get ( ( ( nodes . size ( ) ) - 1 ) ) ; }

private TYPE_1 METHOD_1 ( TYPE_2 p ) { for ( TYPE_1 n : nodes ) { if ( n . METHOD_2 ( ) . equals ( p ) ) { return n ; } } nodes . add ( new TYPE_1 ( p ) ) ; return nodes . get ( ( ( nodes . size ( ) ) - 1 ) ) ; }
