public KeyValuePair <TimestampLog, IEnumerable <ValueListImpl> > AtomicScan(KeyImpl begin, KeyImpl end, IPredicate <ValueListImpl> p) { CheckInitialized(); var a = index.AtomicScan(begin, end).Where(v => p.Evaluate(v)); lock (stamp) { return(new KeyValuePair <TimestampLog, IEnumerable <ValueListImpl> >(stamp, a)); } }
public IEnumerable <ValueListImpl> AtomicScan(KeyImpl begin, KeyImpl end, IPredicate <ValueListImpl> predicate) { CheckInitialized(); return(index.AtomicScan(begin, end).Where(v => predicate.Evaluate(v))); }