add convert class which change scala List to java ArrayList