Java version of kul(ish)