Stuart Marks | Devoxx

Stuart Marks
Stuart Marks Twitter

From Oracle

Stuart Marks is a Principal Member of Technical Staff in the Java Platform Group at Oracle. He is currently working on a variety of JDK core libraries projects, including Collections, Lambda, and Streams, as well as improving test quality and performance. As his alter ego "Dr Deprecator" he also works on the Java SE deprecation mechanism. He has previously worked on JavaFX and Java ME at Sun Microsystems. He has over twenty years of software platform product development experience in the areas of window systems, interactive graphics, and mobile and embedded systems. Stuart holds a Master's degree in Computer Science and a Bachelor's degree in Electrical Engineering from Stanford University.

Blog: http://stuartmarks.wordpress.com/

track.2 Java Language

Ask the JDK Architects

Conference

Bring your favorite questions about Java SE and the Java Development Kit -- past, present, or future -- to this open Q&A session with key architects from Oracle's Java team.

track.2 Java Language

Collections Refueled

Conference

The Collections Framework was introduced in JDK 1.2 back in 1998 and is still in heavy use today. Although its fundamentals remain unchanged, it has evolved considerably since its introduction, and it continues to evolve. This session describes some of the recent enhancements made to Collections, with a focus on the enhancements added to Java 9. Of particular note is JEP 269, Convenience Factory Methods, a library-based API that serves the purpose of collection literals. The session also covers some minor streams enhancements in Java 9. Finally, the session provides a glimpse at some possible future enhancements for the Collections Framework and to the Streams API.

track.2 Java Language

Comparison Method Violates Its General Contract! - Part 2

Tools-in-Action

Why does sorting sometimes throw this exception? What does it mean? And why does it sometimes occur and sometimes work fine?

The answer is in the Comparator interface. A Comparator has one task: to compare two objects. What could be simpler? There are many ways to get it wrong. Writing a complex Comparator is tedious and error-prone. A single mistake can lead to the dreaded error.

In this talk, we take a detailed look at Comparators and examine how to write a correct Comparator. We cover several common pitfalls. We also cover some utility methods introduced in Java 8 that make it easy to compose complex Comparators from simpler ones. These enable you to write correct, sophisticated Comparators much more quickly and easily.

track.2 Java Language

Comparison Method Violates Its General Contract! - Part 1

Tools-in-Action

Why does sorting sometimes throw this exception? What does it mean? And why does it sometimes occur and sometimes work fine?

The answer is in the Comparator interface. A Comparator has one task: to compare two objects. What could be simpler? There are many ways to get it wrong. Writing a complex Comparator is tedious and error-prone. A single mistake can lead to the dreaded error.

In this talk, we take a detailed look at Comparators and examine how to write a correct Comparator. We cover several common pitfalls. We also cover some utility methods introduced in Java 8 that make it easy to compose complex Comparators from simpler ones. These enable you to write correct, sophisticated Comparators much more quickly and easily.

Floor plans