Exemplo n.º 1
0
        public SortedSetHelper()
        {
            LambdaFind = CreateFindMethod();
            find       = LambdaFind.Compile();

            LambdaConstructFromSortedArray = CreateConstructFromSortedArrayMethod();
            constructFromSortedArray       = LambdaConstructFromSortedArray.Compile();

            LambdaReplace = CreateReplaceMethod();
            replace       = LambdaReplace.Compile();

            LambdaGetViewBetween = CreateGetViewBetweenMethod();
            getViewBetween       = LambdaGetViewBetween.Compile();
        }
Exemplo n.º 2
0
        public SortedSetHelper()
        {
            LambdaFind = RunningOnMono ? CreateMonoFindMethod() : CreateFindMethod();
            find       = LambdaFind.Compile();

            internalMonoConstructFromSortedArray = RunningOnMono ? CreateInternalConstructFromSortedArray().Compile() : null;
            LambdaConstructFromSortedArray       = RunningOnMono ? CreateMonoConstructFromSortedArray() : CreateConstructFromSortedArrayMethod();
            constructFromSortedArray             = LambdaConstructFromSortedArray.Compile();

            LambdaReplace = RunningOnMono ? CreateMonoReplaceMethod() : CreateReplaceMethod();
            replace       = LambdaReplace.Compile();

            LambdaGetViewBetween = RunningOnMono ? CreateMonoGetViewBetweenMethod() : CreateGetViewBetweenMethod();
            getViewBetween       = LambdaGetViewBetween.Compile();
        }