Does Java Have Sets In Python Methods Vs Functions