Beispiel #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))
            {
                PrimitiveIntHashSet that     = ( PrimitiveIntHashSet )other;
                IntKeyEquality      equality = new IntKeyEquality(that);
                VisitKeys(equality);
                return(equality.Equal);
            }
            return(false);
        }
Beispiel #2
0
 internal IntKeyEquality(PrimitiveIntHashSet that)
 {
     this.Other = that;
 }
Beispiel #3
0
 public PrimitiveIntVisitorAnonymousInnerClass(PrimitiveIntHashSet outerInstance, StringBuilder builder)
 {
     this.outerInstance = outerInstance;
     this._builder      = builder;
 }