示例#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))
            {
                PrimitiveLongIntHashMap that     = ( PrimitiveLongIntHashMap )other;
                LongIntEquality         equality = new LongIntEquality(that);
                VisitEntries(equality);
                return(equality.Equal);
            }
            return(false);
        }
示例#2
0
 internal LongIntEquality(PrimitiveLongIntHashMap that)
 {
     this.Other = that;
 }