using System; using System.Collections.Generic; using System.Text; namespace ln.objects.index { public abstract class Index { public Index() { } public abstract void Reindex(Guid uid, object value); public abstract void Remove(Guid uid); public abstract void Match(Func criterion, ISet matches); public abstract void Clear(); // Reset this Index as it was newly created public abstract bool TrySerializeIndex(out byte[] serializedIndex); // Serialize current state of index to public abstract bool TryDeserializeIndex(byte[] serializedIndex); // Deserialize current state from } }