# 062: Effective Java for Android Developers – Item #12: Consider Implementing Comparable

> Episode of [Fragmented - AI Developer Podcast](https://podistic.com/podcast/fragmented-ai-developer-podcast.md) · Published November 7, 2016 · Duration 16:39 · Episode 62, season 1

- **Listen on Podistic:** https://podistic.com/episode/062-effective-java-for-android-developers-item-12-consider-implementing-comparable
- **Audio:** https://cdn.simplecast.com/audio/20f350/20f35050-e836-44cd-8f7f-fd13e8cb2e44/ea2d364f-a55a-4578-942d-d57e261f0123/062_tc.mp3?aid=rss_feed&feed=LpAGSLnY (audio/mpeg)

## About this episode

In this mini-Fragment episode, Donn talks about Item #12 of the Effective Java series - Consider Implementing Comparable. You'll learn about how you can use the Comparable interface to give your code the extra sorting boost it needs. Work with Arrays.sort(), Collections utilities and even sorted data structures. Donn breaks down what it takes to implement the compareTo method of the Comparable interface.
