示例#1
0
文件: OurSet.cs 项目: lulzzz/CRDT
 public void Remove(ElementState <TKey, TElement> elementState)
 {
     Add(new ElementState <TKey, TElement>(elementState.Element, elementState.Id, elementState.Timestamp, true));
 }
示例#2
0
文件: OurSet.cs 项目: lulzzz/CRDT
 public bool Call(ElementState <TKey, TElement> first, ElementState <TKey, TElement> second)
 {
     return(first.CompareTo(second) < 0);
 }