java.util.LinkedHashMap



Project JetBrains/intellij-community in file ...rc.com.intellij.codeInsight.lookup.Classifier.java (2011-02-14)
@@ -15,6 +15,7 @@
  */
 package com.intellij.codeInsight.lookup;
 
+import java.util.LinkedHashMap;
 import java.util.List;
 
 /**
@@ -24,4 +25,7 @@ public abstract class Classifier<T> {
   public abstract void addElement(T t);
 
   public abstract Iterable<List<T>> classify(List<T> source);
+
+  public abstract void describeItems(LinkedHashMap<T, StringBuilder> map);
+
 }
Project alibaba/mdrill in file ...apache.solr.handler.component.ResponseBuilder.java (2013-09-26)
@@ -38,6 +38,7 @@ import org.apache.solr.search.grouping.distributed.command.QueryCommandResult;
 
 import java.util.Collection;
 import java.util.HashMap;
+import java.util.LinkedHashMap;
 import java.util.List;
 import java.util.Map;
 
@@ -55,7 +56,8 @@ public class ResponseBuilder
   public boolean doFacets;
   public boolean doStats;
   public boolean doTerms;
-  
+  public Map<String,String> timetaken=new LinkedHashMap<String,String>();
+
 
   private boolean needDocList = false;
   private boolean needDocSet = false;
Project Bukkit/Bukkit in file ....java.org.bukkit.plugin.java.JavaPluginLoader.java (2012-05-25)
@@ -10,6 +10,7 @@ import java.lang.reflect.Method;
 import java.net.URL;
 import java.util.HashMap;
 import java.util.HashSet;
+import java.util.LinkedHashMap;
 import java.util.List;
 import java.util.Map;
 import java.util.Set;
@@ -49,7 +50,7 @@ public class JavaPluginLoader implements PluginLoader {
     private final Server server;
     protected final Pattern[] fileFilters = new Pattern[] { Pattern.compile("\\.jar$"), };
     protected final Map<String, Class<?>> classes = new HashMap<String, Class<?>>();
-    protected final Map<String, PluginClassLoader> loaders = new HashMap<String, PluginClassLoader>();
+    protected final Map<String, PluginClassLoader> loaders = new LinkedHashMap<String, PluginClassLoader>();
 
     public JavaPluginLoader(Server instance) {
         server = instance;
Project JetBrains/intellij-community in file ...refactoring.ReplaceConstructorWithBuilderTest.java (2009-02-05)
@@ -14,6 +14,7 @@ import com.intellij.refactoring.replaceConstructorWithBuilder.ParameterData;
 import com.intellij.refactoring.replaceConstructorWithBuilder.ReplaceConstructorWithBuilderProcessor;
 import com.intellij.util.containers.HashMap;
 
+import java.util.LinkedHashMap;
 import java.util.Map;
 
 public class ReplaceConstructorWithBuilderTest extends MultiFileTestCase {
@@ -62,7 +63,7 @@ public class ReplaceConstructorWithBuilderTest extends MultiFileTestCase {
         final PsiClass aClass = myJavaFacade.findClass("Test", GlobalSearchScope.projectScope(getProject()));
         assertNotNull("Class Test not found", aClass);
 
-        final HashMap<String, ParameterData> map = new HashMap<String, ParameterData>();
+        final LinkedHashMap<String, ParameterData> map = new LinkedHashMap<String, ParameterData>();
         final PsiMethod[] constructors = aClass.getConstructors();
         for (PsiMethod constructor : constructors) {
           ParameterData.createFromConstructor(constructor, map);
Project Netflix/servo in file ....main.java.com.netflix.servo.tag.BasicTagList.java (2012-08-15)
@@ -28,6 +28,7 @@ import com.google.common.collect.Maps;
 
 import java.util.Arrays;
 import java.util.Iterator;
+import java.util.LinkedHashMap;
 import java.util.Map;
 
 /**
@@ -50,7 +51,7 @@ public final class BasicTagList implements TagList {
         for (Tag tag : entries) {
             tags.put(tag.getKey(), tag);
         }
-        tagMap = ImmutableMap.copyOf(tags);
+        tagMap = new LinkedHashMap<String, Tag>(tags);
     }
 
     /** {@inheritDoc} */