Used to compare Kits. @param other Object @return int
(final Object other)
| 113 | * @return int |
| 114 | */ |
| 115 | @Override |
| 116 | public int compareTo(final Object other) |
| 117 | { |
| 118 | final Kit oKit = (Kit) other; |
| 119 | return getKeyName().compareToIgnoreCase(oKit.getKeyName()); |
| 120 | } |
| 121 | |
| 122 | /** |
| 123 | * The method that actually adds the various items in this Kit to the PC. |