@Override
        @SuppressWarnings("unchecked")
        public boolean equals(Object obj) {
            if (obj == null) {
                return false;
            }
            if (getClass() != obj.getClass()) {
                return false;
            }
            final ListMapEntry<K, V> other = (ListMapEntry<K, V>) obj;
            if (this.key != other.key && (this.key == null || !this.key.equals(other.key))) {
                return false;
            }
            if (this.value != other.value && (this.value == null || !this.value.equals(other.value))) {
                return false;
            }
            return true;
        }
Implementation of a Map that favors iteration speed rather than
get/put speed.

@author Kirill Vainer
jme3-core/src/main/java/com/jme3/util/ListMap.java