Пример #1
0
        public override bool Equals(VirtualValue other)
        {
            if (!(other is VirtualRelationshipValue))
            {
                return(false);
            }
            VirtualRelationshipValue that = ( VirtualRelationshipValue )other;

            return(Id() == that.Id());
        }
Пример #2
0
        public override int CompareTo(VirtualValue other, IComparer <AnyValue> comparator)
        {
            if (!(other is VirtualRelationshipValue))
            {
                throw new System.ArgumentException("Cannot compare different virtual values");
            }

            VirtualRelationshipValue otherNode = ( VirtualRelationshipValue )other;

            return(Long.compare(Id(), otherNode.Id()));
        }
Пример #3
0
 public abstract Base MapRelationship(@virtual.VirtualRelationshipValue value);