Python How To Use Queue In Java