Advertisement

Making a Comparable Object

Making a Comparable Object How to use the Comparable interface in Java including with String and custom class implementation (ZombieHead)

Table of Contents:

00:00 - Making a Class Comparable
00:12 - How to compare objects
00:43 - Comparable Interface
02:06 - String Comparison
03:26 - String compareTo Examples
03:52 - String Comparison Code
04:08 - String Comparison Code
06:05 - Comparable<Type>
07:29 - ZombieHead UML
08:02 - ZombieHead comparison
09:58 - ZombieHead equals implementation
10:42 - ZombieHead compareTo implementation
11:33 - ZombieHead Comparison Code
12:26 - Updated ZombieHead UML
12:45 - ZombieHead Class Structure

comparable,interface,java programming,sorting,

Post a Comment

0 Comments