-
Core Java
Using JDK 8 Streams to Convert Between Collections of Wrapped Objects and Collections of Wrapper Objects
I have found Decorators and Adapters to be useful from time to time as I have worked with Java-based applications.…
Read More » -
Enterprise Java
A JAXB Nuance: String Versus Enum from Enumerated Restricted XSD String
Although Java Architecture for XML Binding (JAXB) is fairly easy to use in nominal cases (especially since Java SE 6),…
Read More » -
Groovy
Writing Groovy’s groovy.util.slurpersupport.GPathResult (XmlSlurper) Content as XML
In a previous blog post, I described using XmlNodePrinter to present XML parsed with XmlParser in a nice format to…
Read More » -
Groovy
Writing Groovy’s groovy.util.Node (XmlParser) Content as XML
Groovy‘s XmlParser makes it easy to parse an XML file, XML input stream, or XML string using one its overloaded…
Read More » -
Core Java
Programmatically Determining Java Class’s JDK Compilation Version
When it is necessary to determine which JDK version was used to compile a particular Java .class file, an approach…
Read More » -
Core Java
Reason for Slower Reading of Large Lines in JDK 7 and JDK 8
I earlier posted the blog post Reading Large Lines Slower in JDK 7 and JDK 8 and there were some…
Read More » -
Groovy
Total Bummer: Pivotal Drops Groovy
Pivotal announced today that Groovy 2.4 And Grails 3.0 will be the last major releases under Pivotal sponsorship. This is…
Read More » -
Core Java
2015 Starts Off Strong for Java 8
JDK 8 is starting 2015 with a surge in popularity in terms of blog posts and articles. This is coinciding…
Read More » -
Core Java
Stream-Powered Collections Functionality in JDK 8
This post presents application of JDK 8 – introduced Streams with Collections to more concisely accomplish commonly desired Collections-related functionality.…
Read More »