Java Java Data Structures Getting There Type Casting