Package fr.neatmonster.nocheatplus.utilities.ds.prefixtree

Examples of fr.neatmonster.nocheatplus.utilities.ds.prefixtree.SimpleCharPrefixTree.feed()


     * @return
     */
  public static ConfigFile removePaths(final ConfigFile config, final Collection<String> removePaths) {
      final SimpleCharPrefixTree prefixes = new SimpleCharPrefixTree();
      for (final String path : removePaths){
        prefixes.feed(path);
      }
      final ConfigFile newConfig = new ConfigFile();
      for (final Entry<String, Object> entry : config.getValues(true).entrySet()){
        final String path = entry.getKey();
        final Object value = entry.getValue();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.