Win a copy of Event Streams in Action this week in the Java in General forum!

Duncan MacFarland

Greenhorn
+ Follow
since Apr 08, 2014
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Duncan MacFarland


Hi Richard,

Java 8 has a lot of new features that I don't know anything about, like Lambda expressions or functional programming. The latter of these two sound like Oracle has made Java non-OO if one wishes to code non-OO in Java. Is that a correct assessment?

My primary question is about what is in Java 8 for someone unfamiliar with the complex new things being added. What will I find most useful for basic "Model" programming, processing data on the back end that won't require a big learning curve just to understand them, let alone use them well?

I read your reply to another post related to what is happening to Java. I have been wondering since Java 5 if the JCP is essentially trying to make Java Java+every feature I ever liked in another language? Thanks.

Duncan


5 years ago
I want to be able to show a set of pictures that would result in a primitive sort of animation. I'd like to do something lighter than making my thread sleep. Is there a way to pause the code without pausing the thread, other than something like a for-next loop of 1 to 2000 just to take up time? Thanks.
5 years ago
I am trying to put a reference to a given subclass object into a linked list, and then come back later, and invoke a method of the subclass object that is in a given spot in the linked list. This produces an error because Object does not have that method. Is it necessary to cast the object to the correct subclass every time I want to use one of its methods, or is there a way to convince the JVM to treat it as always of type MySubclass? Thanks.

5 years ago