Example #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @SuppressWarnings("EqualsWhichDoesntCheckParameterClass") @Override public boolean equals(Object other)
        public override bool Equals(object other)
        {
            if (TypeAndSizeEqual(other))
            {
//JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET:
//ORIGINAL LINE: PrimitiveIntObjectHashMap<?> that = (PrimitiveIntObjectHashMap<?>) other;
                PrimitiveIntObjectHashMap <object> that     = (PrimitiveIntObjectHashMap <object>)other;
                IntObjEquality <VALUE>             equality = new IntObjEquality <VALUE>(that);
                VisitEntries(equality);
                return(equality.Equal);
            }
            return(false);
        }
Example #2
0
 internal IntObjEquality(PrimitiveIntObjectHashMap that)
 {
     this.Other = that;
 }