Java impl