public Emoji getEmoji ( String unicode ) { Node tree = root ; for ( char c : unicode . toCharArray ( ) ) { if ( ! tree . hasChild ( c ) ) { return null ; } tree = tree . getChild ( c ) ; } return tree . getEmoji ( ) ; }
Finds Emoji instance from emoji unicode