示例#1
0
文件: Deletion.cs 项目: ste93/yarp
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if (__isset.timestamp)
                {
                    hashcode = (hashcode * 397) + Timestamp.GetHashCode();
                }
                if ((Super_column != null) && __isset.super_column)
                {
                    hashcode = (hashcode * 397) + Super_column.GetHashCode();
                }
                if ((Predicate != null) && __isset.predicate)
                {
                    hashcode = (hashcode * 397) + Predicate.GetHashCode();
                }
            }
            return(hashcode);
        }
示例#2
0
文件: ColumnPath.cs 项目: ste93/yarp
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if ((Column_family != null))
                {
                    hashcode = (hashcode * 397) + Column_family.GetHashCode();
                }
                if ((Super_column != null) && __isset.super_column)
                {
                    hashcode = (hashcode * 397) + Super_column.GetHashCode();
                }
                if ((Column != null) && __isset.column)
                {
                    hashcode = (hashcode * 397) + Column.GetHashCode();
                }
            }
            return(hashcode);
        }