コード例 #1
0
ファイル: TrieFactory.cs プロジェクト: yonglehou/nepy
        public static TrieTree LoadFromDataProvider(IDataProvider provider)
        {
            TrieTree tt = TrieTree.GetInstance();

            tt.Load(provider);
            return(tt);
        }
コード例 #2
0
 public static TrieTree GetInstance()
 {
     if (_instance == null)
     {
         _instance = new TrieTree();
     }
     return(_instance);
 }
コード例 #3
0
ファイル: TrieTree.cs プロジェクト: ravindrapro/nepy
 public static TrieTree GetInstance()
 {
     if (_instance == null)
     {
         _instance = new TrieTree();
     }
     return _instance;
 }