Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

JDK 10: FutureTask Gets a toString()

I’ve felt for a long time that, for most Java classes that have distinguishing attributes, developers should take the time to override Object.toString(), even if it’s just with an IDE-generated implementation or using a library class such as Apache Commons Lang‘s ToStringBuilder. The overloaded Objects.toString() methods also make this easier than ever if one wants ...



This post first appeared on Java Code Geeks, please read the originial post: here

Share the post

JDK 10: FutureTask Gets a toString()

×

Subscribe to Java Code Geeks

Get updates delivered right to your inbox!

Thank you for your subscription

×