IterateBackward() 공개 메소드

public IterateBackward ( bool useCache ) : IEnumerable
useCache bool
리턴 IEnumerable
예제 #1
0
        public IEnumerable<LTrieRow> IterateBackward(ITrieRootNode readRootNode)
        {
            this.CheckTableIsOperable();

            if (readRootNode==null)
            {
                //Flashing changes on the disk before commit. In case if the same thread uses the same root node
                this.SaveGenerationMap();

                Backward bw = new Backward(rn);
                return bw.IterateBackward(false);

            }
            else
            {
                Backward bw = new Backward((LTrieRootNode)readRootNode);
                return bw.IterateBackward(true);
            }
        }
예제 #2
0
        public IEnumerable<LTrieRow> IterateBackward()
        {
            this.CheckTableIsOperable();

            LTrieRootNode readRootNode = new LTrieRootNode(this);

            Backward bw = new Backward(readRootNode);
            return bw.IterateBackward(true);
        }