public void Get(KeyType key, out ValueType value, out int rank) { long rankLong; inner.Get(key, out value, out rankLong); rank = IntLong.ToInt(rankLong); }
public void Get(int start, out int xLength, out ValueType value) { long xLengthLong; inner.Get(IntLong.ToLong(start), out xLengthLong, out value); xLength = IntLong.ToInt(xLengthLong); }
public void Get(KeyType key, out KeyType keyOut, out int rank) { long rankLong; inner.Get(key, out keyOut, out rankLong); rank = IntLong.ToInt(rankLong); }
public bool NearestGreater(KeyType key, out KeyType nearestKey, out int rank) { long rankLong; bool f = inner.NearestGreater(key, out nearestKey, out rankLong); rank = IntLong.ToInt(rankLong); return(f); }
public bool TryGet(KeyType key, out ValueType value, out int rank) { long rankLong; bool f = inner.TryGet(key, out value, out rankLong); rank = IntLong.ToInt(rankLong); return(f); }
public bool NearestGreaterOrEqual(int position, Side side, out int nearestStart) { long nearestStartLong; bool f = inner.NearestGreaterOrEqual(IntLong.ToLong(position), side, out nearestStartLong); nearestStart = IntLong.ToInt(nearestStartLong); return(f); }
public bool NearestGreaterOrEqual(KeyType key, out KeyType nearestKey, out ValueType value, out int rank) { long rankLong; bool f = inner.NearestGreaterOrEqual(key, out nearestKey, out value, out rankLong); rank = IntLong.ToInt(rankLong); return(f); }
public bool TryGet(KeyType key, out KeyType keyOut, out int rank) { long rankLong; bool f = inner.TryGet(key, out keyOut, out rankLong); rank = IntLong.ToInt(rankLong); return(f); }
public bool NearestGreaterByRank(int position, out int nearestStart) { long nearestStartLong; bool f = inner.NearestGreaterByRank(IntLong.ToLong(position), out nearestStartLong); nearestStart = IntLong.ToInt(nearestStartLong); return(f); }
public void InsertRange(int index, IHugeList <T> items, int offset, int count) { inner.InsertRange( IntLong.ToLong(index), items != null ? new AdaptHugeListLongToHugeList <T>(items) : null, IntLong.ToLong(offset), IntLong.ToLong(count)); }
public bool NearestLessOrEqual(int position, out int nearestStart) { long nearestStartLong; bool f = inner.NearestLessOrEqual(IntLong.ToLong(position), out nearestStartLong); nearestStart = IntLong.ToInt(nearestStartLong); return(f); }
public bool TryGetLength(int start, Side side, out int length) { long lengthLong; bool f = inner.TryGetLength(IntLong.ToLong(start), side, out lengthLong); length = IntLong.ToInt(lengthLong); return(f); }
public bool TryGet(int start, out int xLength, out ValueType value) { long xLengthLong; bool f = inner.TryGet(IntLong.ToLong(start), out xLengthLong, out value); xLength = IntLong.ToInt(xLengthLong); return(f); }
// // IEnumerable // private EntryRankMap <KeyType, ValueType> Convert(EntryRankMapLong <KeyType, ValueType> entry) { return(new EntryRankMap <KeyType, ValueType>( entry.Key, entry.Value, new SetValueWrapper <ValueType>(entry), ((IGetEnumeratorSetValueInfo <ValueType>)entry).Version, IntLong.ToInt(entry.Rank))); }
public bool NearestGreaterOrEqual(int position, out int nearestStart, out int length, out ValueType value) { long nearestStartLong, lengthLong; bool f = inner.NearestGreaterOrEqual(IntLong.ToLong(position), out nearestStartLong, out lengthLong, out value); nearestStart = IntLong.ToInt(nearestStartLong); length = IntLong.ToInt(lengthLong); return(f); }
private static EntryRangeMapLong <T[]> Convert(EntryRangeMap <T[]> entry) { return(new EntryRangeMapLong <T[]>( entry.Value, ((IGetEnumeratorSetValueInfo <T[]>)entry).SetValueCallack, ((IGetEnumeratorSetValueInfo <T[]>)entry).Version, IntLong.ToLong(entry.Start), IntLong.ToLong(entry.Length))); }
// // IEnumerable // private EntryRangeMap <ValueType> Convert(EntryRangeMapLong <ValueType> entry) { return(new EntryRangeMap <ValueType>( entry.Value, new SetValueWrapper <ValueType>(entry), ((IGetEnumeratorSetValueInfo <ValueType>)entry).Version, IntLong.ToInt(entry.Start), IntLong.ToInt(entry.Length))); }
public bool NearestLess(KeyType key, out KeyType nearestKey, out int rank, out int count) { long rankLong, countLong; bool f = inner.NearestLess(key, out nearestKey, out rankLong, out countLong); rank = IntLong.ToInt(rankLong); count = IntLong.ToInt(countLong); return(f); }
public bool NearestGreater(int position, out int nearestStart, out int length) { long nearestStartLong, lengthLong; bool f = inner.NearestGreater(IntLong.ToLong(position), out nearestStartLong, out lengthLong); nearestStart = IntLong.ToInt(nearestStartLong); length = IntLong.ToInt(lengthLong); return(f); }
public bool NearestGreaterByRank(int position, out KeyType nearestKey, out int nearestStart, out int count, out ValueType value) { long nearestStartLong, countLong; bool f = inner.NearestGreaterByRank(IntLong.ToLong(position), out nearestKey, out nearestStartLong, out countLong, out value); nearestStart = IntLong.ToInt(nearestStartLong); count = IntLong.ToInt(countLong); return(f); }
public bool NearestLessOrEqualByRank(int position, out KeyType nearestKey, out int nearestStart, out int count) { long nearestStartLong, countLong; bool f = inner.NearestLessOrEqualByRank(IntLong.ToLong(position), out nearestKey, out nearestStartLong, out countLong); nearestStart = IntLong.ToInt(nearestStartLong); count = IntLong.ToInt(countLong); return(f); }
public bool NearestGreater(KeyType key, out KeyType nearestKey, out ValueType value, out int rank, out int count) { long rankLong, countLong; bool f = inner.NearestGreater(key, out nearestKey, out value, out rankLong, out countLong); rank = IntLong.ToInt(rankLong); count = IntLong.ToInt(countLong); return(f); }
public void Get(KeyType key, out ValueType value, out int rank, out int count) { long rankLong; long countLong; inner.Get(key, out value, out rankLong, out countLong); rank = IntLong.ToInt(rankLong); count = IntLong.ToInt(countLong); }
public bool NearestLessOrEqual(int position, Side side, out int nearestStart, out int otherStart, out int xLength, out int yLength, out ValueType value) { long nearestStartLong, otherStartLong, xLengthLong, yLengthLong; bool f = inner.NearestLessOrEqual(IntLong.ToLong(position), side, out nearestStartLong, out otherStartLong, out xLengthLong, out yLengthLong, out value); nearestStart = IntLong.ToInt(nearestStartLong); otherStart = IntLong.ToInt(otherStartLong); xLength = IntLong.ToInt(xLengthLong); yLength = IntLong.ToInt(yLengthLong); return(f); }
public void Get(int start, Side side, out int otherStart, out int xLength, out int yLength) { long otherStartLong; long xLengthLong; long yLengthLong; inner.Get(IntLong.ToLong(start), side, out otherStartLong, out xLengthLong, out yLengthLong); otherStart = IntLong.ToInt(otherStartLong); xLength = IntLong.ToInt(xLengthLong); yLength = IntLong.ToInt(yLengthLong); }
public bool NearestGreater(int position, Side side, out int nearestStart, out int otherStart, out int xLength, out int yLength) { long nearestStartLong, otherStartLong, xLengthLong, yLengthLong; bool f = inner.NearestGreater(IntLong.ToLong(position), side, out nearestStartLong, out otherStartLong, out xLengthLong, out yLengthLong); nearestStart = IntLong.ToInt(nearestStartLong); otherStart = IntLong.ToInt(otherStartLong); xLength = IntLong.ToInt(xLengthLong); yLength = IntLong.ToInt(yLengthLong); return(f); }
public void IterateRangeBatch(int index, T[] external, int externalOffset, int count, IterateOperatorBatch <T> op) { inner.IterateRangeBatch( IntLong.ToLong(index), external, IntLong.ToLong(externalOffset), IntLong.ToLong(count), delegate(T[] v, long vOffset, T[] x, long xOffset, long count2) { op(v, IntLong.ToInt(vOffset), x, IntLong.ToInt(xOffset), IntLong.ToInt(count2)); }); }
public T this[int index] { get { return(inner[IntLong.ToLong(index)]); } set { inner[IntLong.ToLong(index)] = value; } }
public T this[long index] { get { return(inner[IntLong.ToInt(index)]); } set { inner[IntLong.ToInt(index)] = value; } }
public bool TryGet(int start, Side side, out int otherStart, out int xLength, out int yLength) { long otherStartLong; long xLengthLong; long yLengthLong; bool f = inner.TryGet(IntLong.ToLong(start), side, out otherStartLong, out xLengthLong, out yLengthLong); otherStart = IntLong.ToInt(otherStartLong); xLength = IntLong.ToInt(xLengthLong); yLength = IntLong.ToInt(yLengthLong); return(f); }