コード例 #1
0
        public override bool Equals(object obj)
        {
            if (this == obj)
            {
                return(true);
            }
            if (obj == null)
            {
                return(false);
            }
            if (Sharpen.Runtime.getClassForObject(this) != Sharpen.Runtime.getClassForObject(
                    obj))
            {
                return(false);
            }
            VPackSlice other = (VPackSlice)obj;

            if (this.start != other.start)
            {
                return(false);
            }
            if (!java.util.Arrays.equals(this.getRawVPack(), other.getRawVPack()))
            {
                return(false);
            }
            return(true);
        }