« first day (3004 days earlier)      last day (2161 days later) » 

00:00
"Meaning is something you build into your life. You build it out of your own past, out of your affections and loyalties, out of the experience of humankind as it is passed on to you. ... You are the only one who can put them together into that unique pattern that will be your life." -John Gardner (source)
00:24
/javadoc Version
5
 
6 hours later…
06:24
picks nose
06:40
@OakBot that was deep
@WeirdElfB0y Welcome to the Java Chat, the room for Java enthusiasts! Please use a code snippet tool when posting code snippets. If you have an Android question, you're in the wrong place! And remember: this is not tech support! Thanks for visiting and have fun! :D
@WeirdElfB0y Type /help to see all my commands.
> My commands are also listed here: github.com/JavaChat/OakBot/wiki/Commands
/8ball
@WeirdElfB0y Yes
06:43
/facepalm
06:58
214
A: How do I create a Linked List Data Structure in Java?

AaronThe obvious solution to developers familiar to Java is to use the LinkedList class already provided in java.util. Say, however, you wanted to make your own implementation for some reason. Here is a quick example of a linked list that inserts a new link at the beginning of the list, deletes from t...

 public void insert(int d1, double d2) {
        Link link = new Link(d1, d2);
        link.nextLink = first;
        first = link;
    }
Can someone please help me understand link.nextLink = first ?
I can't understand how that works. What exactly is nextLink? And how can it be referenced using link?
 
5 hours later…
12:00
One of Malaysia's oldest names, Aurea Chersonesus, means "peninsula of gold." It was given by Greco-Roman geographer Ptolemy in his book Geographia, written about A.D. 150. Malaysia is actually more famous as the world's second largest producer of refined tin. (source)
12:59
reads a book
Zoe
Zoe
13:43
Those should've been posted in the opposite order though xD
 
1 hour later…
14:50
@Abcd Imagine the above structure. Each Link object contains it's value and a reference to another Link which is the following piece in your chain/list. That reference is your nextLink in the code.
 
2 hours later…
Zoe
Zoe
16:22
-1, no free-hand red circles
16:54
pfff, add them yourself if you are desperately looking for more reputation then
 
5 hours later…
21:34
Is it possible to mock a variable that is created locally and not injected? e.g.g ObjectMapper mapper = new ObjectMapper()
 
2 hours later…
23:34
you dont mock variables, you mock object's behavior

« first day (3004 days earlier)      last day (2161 days later) »