a simply gbdt implement writting in java.