Home
last modified time | relevance | path

Searched full:linkedhashmap (Results 1 – 25 of 332) sorted by relevance

12345678910>>...14

/external/antlr/runtime/ObjC/Framework/
DLinkedHashMap.h21 * Map copy = new LinkedHashMap(m);
30 * <p>A special {@link #LinkedHashMap(NSInteger,float,boolean) constructor} is
54 * of a <tt>LinkedHashMap</tt> requires time proportional to the <i>size</i>
76 * Map m = Collections.synchronizedMap(new LinkedHashMap(...));</pre>
119 @class LinkedHashMap;
122 * LinkedHashMap entry.
139 - (void) recordAccess:(LinkedHashMap *)m;
140 - (void) recordRemoval:(LinkedHashMap *)m;
152 LinkedHashMap *lhm;
157 @property (retain) LinkedHashMap *lhm;
[all …]
DLinkedHashMap.m3 #import "LinkedHashMap.h"
64 - (void) recordAccess:(LinkedHashMap *)m
66 LinkedHashMap *lhm = (LinkedHashMap *)m;
74 - (void) recordRemoval:(LinkedHashMap *)m
87 + (LinkedHashIterator *) newIterator:(LinkedHashMap *)aLHM
92 - (id) init:(LinkedHashMap *)aLHM
150 + (LHMKeyIterator *)newIterator:(LinkedHashMap *)aLHM
155 - (id) init:(LinkedHashMap *)aLHM
171 + (LHMValueIterator *)newIterator:(LinkedHashMap *)aLHM
176 - (id) init:(LinkedHashMap *)aLHM
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue56/
DPerlTest.java19 import java.util.LinkedHashMap;
46 LinkedHashMap b = (LinkedHashMap) a.get(0); in testMaps()
47 LinkedHashMap c = (LinkedHashMap) b.get("atc"); in testMaps()
48 LinkedHashMap d = (LinkedHashMap) c.get("name"); in testMaps()
49 LinkedHashMap e = (LinkedHashMap) d.get("canonical"); in testMaps()
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DParamsParser.java5 import java.util.LinkedHashMap;
25 return new LinkedHashMap<>(); in parseParams()
30 LinkedHashMap<String, String> map = new LinkedHashMap<>(); in parseParamsForRequestWithEntity()
48 LinkedHashMap<String, String> map = new LinkedHashMap<>(); in parseParamsForGet()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DEnumBean.java18 import java.util.LinkedHashMap;
23 private LinkedHashMap<Suit, Integer> map = new LinkedHashMap<Suit, Integer>();
25 public LinkedHashMap<Suit, Integer> getMap() { in getMap()
29 public void setMap(LinkedHashMap<Suit, Integer> map) { in setMap()
DEnumTest.java21 import java.util.LinkedHashMap;
83 Map<String, Suit> map = new LinkedHashMap<String, Suit>(); in testDumpEnumMap()
112 LinkedHashMap<Suit, Integer> map = new LinkedHashMap<Suit, Integer>(); in testDumpEnumBean()
162 LinkedHashMap<Suit, Integer> map = new LinkedHashMap<Suit, Integer>(); in testLoadEnumBean()
180 LinkedHashMap<Suit, Integer> map = new LinkedHashMap<Suit, Integer>(); in testLoadEnumBean2()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue176/
DSingleQuoteTest.java18 import java.util.LinkedHashMap;
49 LinkedHashMap<String, Object> lvl1 = new LinkedHashMap<String, Object>(); in checkQuotes()
51 LinkedHashMap<String, Object> root = new LinkedHashMap<String, Object>(); in checkQuotes()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DDnsNameResolverTest.java53 import java.util.LinkedHashMap;
85 private final Map<String, Object> serviceConfig = new LinkedHashMap<String, Object>();
526 Map<String, Object> bad = new LinkedHashMap<String, Object>(); in maybeChooseServiceConfig_failsOnMisspelling()
535 Map<String, Object> choice = new LinkedHashMap<String, Object>(); in maybeChooseServiceConfig_clientLanguageMatchesJava()
546 Map<String, Object> choice = new LinkedHashMap<String, Object>(); in maybeChooseServiceConfig_clientLanguageDoesntMatchGo()
557 Map<String, Object> choice = new LinkedHashMap<String, Object>(); in maybeChooseServiceConfig_clientLanguageCaseInsensitive()
568 Map<String, Object> choice = new LinkedHashMap<String, Object>(); in maybeChooseServiceConfig_clientLanguageMatchesEmtpy()
578 Map<String, Object> choice = new LinkedHashMap<String, Object>(); in maybeChooseServiceConfig_clientLanguageMatchesMulti()
590 Map<String, Object> choice = new LinkedHashMap<String, Object>(); in maybeChooseServiceConfig_percentageZeroAlwaysFails()
599 Map<String, Object> choice = new LinkedHashMap<String, Object>(); in maybeChooseServiceConfig_percentageHundredAlwaysSucceeds()
[all …]
DJsonParserTest.java25 import java.util.LinkedHashMap;
43 assertEquals(new LinkedHashMap<String, Object>(), JsonParser.parse("{}")); in emptyObject()
120 LinkedHashMap<String, Object> expected = new LinkedHashMap<String, Object>(); in objectStringName()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/
DShadowWranglerUnitTest.java5 import java.util.LinkedHashMap;
38 …MethodSignature methodSignature = MethodSignature.parse("java/util/LinkedHashMap/eldest()Ljava/lan… in getInterceptionHandler_whenInterceptingElderOnLinkedHashMap_shouldReturnNonDoNothingHandler()
46 LinkedHashMap<Integer, String> map = new LinkedHashMap<>(2); in intercept_elderOnLinkedHashMapHandler_shouldReturnEldestMemberOfLinkedHashMap()
51 …shadowWrangler.intercept("java/util/LinkedHashMap/eldest()Ljava/lang/Object;", map, null, getClass… in intercept_elderOnLinkedHashMapHandler_shouldReturnEldestMemberOfLinkedHashMap()
61 LinkedHashMap<Integer, String> map = new LinkedHashMap<>(); in intercept_elderOnLinkedHashMapHandler_shouldReturnNullForEmptyMap()
64 …shadowWrangler.intercept("java/util/LinkedHashMap/eldest()Ljava/lang/Object;", map, null, getClass… in intercept_elderOnLinkedHashMapHandler_shouldReturnNullForEmptyMap()
/external/antlr/tool/src/main/java/org/antlr/tool/
DRule.java88 public LinkedHashMap<String, Grammar.LabelElementPair> tokenLabels;
91 public LinkedHashMap<String, Grammar.LabelElementPair> wildcardTreeLabels;
94 public LinkedHashMap<String, Grammar.LabelElementPair> wildcardTreeListLabels;
97 public LinkedHashMap<String, Grammar.LabelElementPair> charLabels;
100 public LinkedHashMap<String, Grammar.LabelElementPair> ruleLabels;
103 public LinkedHashMap<String, Grammar.LabelElementPair> tokenListLabels;
106 public LinkedHashMap<String, Grammar.LabelElementPair> ruleListLabels;
196 … if ( tokenLabels==null ) tokenLabels = new LinkedHashMap<String, Grammar.LabelElementPair>(); in defineLabel()
200 …if ( wildcardTreeLabels==null ) wildcardTreeLabels = new LinkedHashMap<String, Grammar.LabelElemen… in defineLabel()
204 …if ( wildcardTreeListLabels==null ) wildcardTreeListLabels = new LinkedHashMap<String, Grammar.Lab… in defineLabel()
[all …]
DLeftRecursiveRuleAnalyzer.java20 public LinkedHashMap<Integer, String> binaryAlts = new LinkedHashMap<Integer, String>();
21 public LinkedHashMap<Integer, String> ternaryAlts = new LinkedHashMap<Integer, String>();
22 public LinkedHashMap<Integer, String> suffixAlts = new LinkedHashMap<Integer, String>();
221 LinkedHashMap<Integer, String> opPrecRuleAlts = new LinkedHashMap<Integer, String>(); in getArtificialOpPrecRule()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/internal/
DRegexCache.java19 import java.util.LinkedHashMap;
50 // LinkedHashMap offers a straightforward implementation of LRU cache.
51 private LinkedHashMap<K, V> map;
58 map = new LinkedHashMap<K, V>(size * 4 / 3 + 1, 0.75f, true) { in LRUCache()
/external/dagger2/core/src/main/java/dagger/internal/
DCollections.java18 import java.util.LinkedHashMap;
39 * Creates a {@link LinkedHashMap} instance, with a high enough "initial capacity" that it
42 static <K, V> LinkedHashMap<K, V> newLinkedHashMapWithExpectedSize(int expectedSize) { in newLinkedHashMapWithExpectedSize()
43 return new LinkedHashMap<K, V>(calculateInitialCapacity(expectedSize)); in newLinkedHashMapWithExpectedSize()
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/internal/
DRegexCache.java20 import java.util.LinkedHashMap;
52 // LinkedHashMap offers a straightforward implementation of LRU cache.
53 private LinkedHashMap<K, V> map;
60 map = new LinkedHashMap<K, V>(size * 4 / 3 + 1, 0.75f, true) { in LRUCache()
/external/javapoet/src/test/java/com/squareup/javapoet/
DCodeBlockTest.java19 import java.util.LinkedHashMap;
128 Map<String, Object> map = new LinkedHashMap<>(); in simpleNamedArgument()
135 Map<String, Object> map = new LinkedHashMap<>(); in repeatedNamedArgument()
145 Map<String, Object> map = new LinkedHashMap<>(); in namedAndNoArgFormat()
154 Map<String, Object> map = new LinkedHashMap<>(); in missingNamedArgument()
164 Map<String, Object> map = new LinkedHashMap<>(); in lowerCaseNamed()
174 Map<String, Object> map = new LinkedHashMap<>(); in multipleNamedArguments()
187 Map<String, Object> map = new LinkedHashMap<>(); in namedNewline()
194 Map<String, Object> map = new LinkedHashMap<>(); in danglingNamed()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/
DAndroidInterceptors.java13 import java.util.LinkedHashMap;
39 // @Intercept(value = LinkedHashMap.class, method = "eldest")
42 super(new MethodRef(LinkedHashMap.class, "eldest")); in LinkedHashMapEldestInterceptor()
46 static Object eldest(LinkedHashMap map) { in eldest()
55 return eldest((LinkedHashMap) value); in handle()
63 methodType(Object.class, LinkedHashMap.class)); in getMethodHandle()
/external/snakeyaml/src/test/resources/recursive/generics/
Dwith-children-as-map.yaml1 &id002 !!java.util.LinkedHashMap
22 children: !!java.util.LinkedHashMap {}
32 children: !!java.util.LinkedHashMap {}
/external/snakeyaml/src/test/resources/recursive/
Dwith-children-as-map.yaml1 &id002 !!java.util.LinkedHashMap
22 children: !!java.util.LinkedHashMap {}
32 children: !!java.util.LinkedHashMap {}
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/emitter/
DEmitterTest.java22 import java.util.LinkedHashMap;
44 Map<String, String> map = new LinkedHashMap<String, String>(); in testWriteFolded()
57 Map<String, String> map = new LinkedHashMap<String, String>(); in testWriteLiteral()
70 Map<String, String> map = new LinkedHashMap<String, String>(); in testWritePlain()
85 Map<String, String> map = new LinkedHashMap<String, String>(); in testWritePlainPretty()
99 Map<String, String> map = new LinkedHashMap<String, String>(); in testWriteSingleQuoted()
112 Map<String, String> map = new LinkedHashMap<String, String>(); in testWriteDoubleQuoted()
/external/guava/guava/src/com/google/common/collect/
DLinkedHashMultiset.java25 import java.util.LinkedHashMap;
83 super(new LinkedHashMap<E, Count>()); in LinkedHashMultiset()
88 super(new LinkedHashMap<E, Count>(Maps.capacity(distinctElements))); in LinkedHashMultiset()
106 setBackingMap(new LinkedHashMap<E, Count>( in readObject()
/external/snakeyaml/src/test/java/examples/collections/
DTypeSafeMapTest.java18 import java.util.LinkedHashMap;
33 Map<String, Integer> data = new LinkedHashMap<String, Integer>(); in testDumpMap()
38 Map<String, Developer2> developers = new LinkedHashMap<String, Developer2>(); in testDumpMap()
51 Map<String, Integer> data = new LinkedHashMap<String, Integer>(); in testDumpMap2()
55 Map<String, Developer2> developers = new LinkedHashMap<String, Developer2>(); in testDumpMap2()
DTypeSafeMap2Test.java19 import java.util.LinkedHashMap;
34 Map<Developer2, Color> data = new LinkedHashMap<Developer2, Color>(); in testDumpMap()
38 Map<Color, Developer2> developers = new LinkedHashMap<Color, Developer2>(); in testDumpMap()
51 Map<Developer2, Color> data = new LinkedHashMap<Developer2, Color>(); in testMap2()
56 Map<Color, Developer2> developers = new LinkedHashMap<Color, Developer2>(); in testMap2()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCameraManager.java9 import java.util.LinkedHashMap;
18 // LinkedHashMap used to ensure getCameraIdList returns ids in the order in which they were added
20 new LinkedHashMap<>();
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/
DPlotTest.java42 import java.util.LinkedHashMap;
195LinkedHashMap<Class<SeriesRenderer>, SeriesAndFormatterList<MockSeries,MockFormatter1>> registry =… in testAddSeries()
227LinkedHashMap<Class<SeriesRenderer>, SeriesAndFormatterList<MockSeries,MockFormatter1>> registry =… in testRemoveSeries()
297LinkedHashMap<Class<SeriesRenderer>, SeriesAndFormatterList<MockSeries,MockFormatter1>> registry =… in testGetFormatter()
328 …//LinkedHashMap<Class<SeriesRenderer>, SeriesAndFormatterList<MockSeries,MockFormatter1>> registry… in testGetSeriesListForRenderer()
355 …//LinkedHashMap<Class<SeriesRenderer>, SeriesAndFormatterList<MockSeries,MockFormatter1>> registry… in testGetRendererList()
381 …//LinkedHashMap<Class<SeriesRenderer>, SeriesAndFormatterList<MockSeries,MockFormatter1>> registry… in testAddListener()
409 …//LinkedHashMap<Class<SeriesRenderer>, SeriesAndFormatterList<MockSeries,MockFormatter1>> registry… in testRemoveListener()

12345678910>>...14