protected boolean equalElements(KTypeVTypeHashMap<?, ?> other) {
    if (other.size() != size()) {
      return false;
    }

    for (KTypeVTypeCursor<?, ?> c : other) {
      KType key = Intrinsics.<KType> cast(c.key);
      if (!containsKey(key) ||
          !Intrinsics.<VType> equals(c.value, get(key))) {
        return false;
      }
    }

    return true;
  }
protected boolean equalElements ( KTypeVTypeHashMap < ? , ? > other ) { if ( other . size ( ) != size ( ) ) { return false ; } for ( KTypeVTypeCursor < ? , ? > c : other ) { KType key = Intrinsics . < KType > cast ( c . key ) ; if ( ! containsKey ( key ) || ! Intrinsics . < VType > equals ( c . value , get ( key ) ) ) { return false ; } } return true ; }
Return true if all keys of some other container exist in this container.
#if ($TemplateOptions.KTypeGeneric)
Equality comparison is performed with this object's {@link #equals(Object, Object)}
method.
#end
#if ($TemplateOptions.VTypeGeneric)
Values are compared using {@link Objects#equals(Object)} method.
#end