Пример #1
0
        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
        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);
        }