public static int Compare(CByte Left, CByte Right) { if (ReferenceEquals(Right, null)) { return(-1); } else if (ReferenceEquals(Left, null)) { return(1); } return(Compare(Left.Bytes, Right.Bytes)); }
public static int Compare(CByte Left, byte[] Right) { return(Compare(Left.Bytes, Right)); }
public static int Compare(byte[] Left, CByte Right) { return(Compare(Left, Right.Bytes)); }
public int CompareTo(CByte HashObject) { return(Compare(this.Bytes, HashObject.Bytes)); }
public abstract bool Remove(CByte Key);
public abstract CacheItem Get(CByte Key);
public abstract T Get <T>(CByte Key) where T : Hashable;
public abstract bool Exists(CByte Key);
public abstract bool AddOrUpdate <T>(CByte Key, T Value, TimeSpan ExpireSpan) where T : Hashable;