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 final boolean equals(Object other)
        public override sealed bool Equals(object other)
        {
            // equals() and hashcode() are only used for testing so we don't care that they are a bit slow.
            return(EqualsBuilder.reflectionEquals(this, other));
        }
Example #2
0
 public override bool Equals(object o)
 {
     return(EqualsBuilder.reflectionEquals(this, o));
 }