john vandeven wrote:but what i want for now is to get the node class to run for now.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
john vandeven wrote:Okay I have to complete the whole thing in order to check if it runs right
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
… as I said yesterday. You obviously need to provide a toString method to get that output.class which has the insertion time and random number as two fields
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Campbell Ritchie wrote:What is the point of a Time class which consists entirely of a System.nanoTime call?
Aaaaaaaaaaaaaaaaaaaaaah. Yes, I see it now.Paul Clapham wrote: . . . Looks like the point is to satisfy requirement #2 . . .