Пример #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))
            {
                PrimitiveIntLongHashMap that     = ( PrimitiveIntLongHashMap )other;
                IntLongEquality         equality = new IntLongEquality(that);
                VisitEntries(equality);
                return(equality.Equal);
            }
            return(false);
        }
Пример #2
0
 internal IntLongEquality(PrimitiveIntLongHashMap that)
 {
     this.Other = that;
 }