Trying to figure out how Autocomplete works in Flow TextField

Hello
I’m trying but I can’t figure out how Autocomplete works in Flow TextField
is there any java example I could see?

best regards
Yorgos