Java ptr based LL