HomeSort by relevance Sort by last modified time
    Searched defs:of (Results 251 - 275 of 910) sorted by null

<<11121314151617181920>>

  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
SdkSelectionPage.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
79 * Create contents of the wizard.
157 // We do if one of two conditions are met:
196 * Updates the list of all samples for the given target SDK.
201 // Keep the name of the old selection (if there were any samples)
208 // Get the sample root path and recompute the list of samples
226 // Case where the sample is at the root of the directory and not
245 // Compare the display name of the sample
336 samplesPaths.add(Pair.of(name, sampleDir))
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
MeasureUnitTest.java 58 public static <F extends Comparable, S extends Comparable> OrderedPair<F, S> of(F first, S second) { method in class:MeasureUnitTest.OrderedPair
60 throw new IllegalArgumentException("OrderedPair.of requires non null values.");
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
MeasureUnitTest.java 54 public static <F extends Comparable, S extends Comparable> OrderedPair<F, S> of(F first, S second) { method in class:MeasureUnitTest.OrderedPair
56 throw new IllegalArgumentException("OrderedPair.of requires non null values.");
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
BitSet.java 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
12 * notice, this list of conditions and the following disclaimer in the
14 * 3. The name of the author may not be used to endorse or promote products
19 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
325 public static BitSet of(int el) { method in class:BitSet
331 public static BitSet of(Collection elements) { method in class:BitSet
341 public static BitSet of(IntSet set) { method in class:BitSet
357 public static BitSet of(Map elements) { method in class:BitSet
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
ImmutableBiMapTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
42 // TODO: Reduce duplication of ImmutableMapTest code
82 return ImmutableBiMap.of();
86 return ImmutableBiMap.of("one", 1, "two", 2, "three", 3);
101 return ImmutableBiMap.of();
105 return ImmutableBiMap.of(1, "one", 2, "two", 3, "three").inverse();
123 assertSame(ImmutableBiMap.of(), map);
244 ImmutableBiMap.of("one", 1),
247 ImmutableBiMap.of("one", 1).inverse()
    [all...]
ImmutableListMultimapTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
357 Multimap<String, Integer> multimap = ImmutableListMultimap.of();
374 Multimap<String, Integer> multimap = ImmutableListMultimap.of();
427 ImmutableListMultimap.of("one", 1),
430 ImmutableListMultimap.of("one", 1, "two", 2),
433 ImmutableListMultimap.of("one", 1, "two", 2, "three", 3),
436 ImmutableListMultimap.of("one", 1, "two", 2, "three", 3, "four", 4),
439 ImmutableListMultimap.of(
446 ImmutableListMultimap.<Integer, String>of(), method
    [all...]
ImmutableListTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
46 List<String> list = ImmutableList.of();
51 List<String> list = ImmutableList.of("a");
56 List<String> list = ImmutableList.of("a", "b");
61 List<String> list = ImmutableList.of("a", "b", "c");
66 List<String> list = ImmutableList.of("a", "b", "c", "d");
71 List<String> list = ImmutableList.of("a", "b", "c", "d", "e");
76 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f");
81 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f", "g")
    [all...]
ImmutableMapTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
81 return ImmutableMap.of();
85 return ImmutableMap.of("one", 1, "two", 2, "three", 3);
100 return ImmutableMap.of("one", 1);
121 return ImmutableMap.of(
347 ImmutableMap.of("one", 1),
350 ImmutableMap.of("one", 1, "two", 2),
353 ImmutableMap.of("one", 1, "two", 2, "three", 3),
356 ImmutableMap.of("one", 1, "two", 2, "three", 3, "four", 4)
    [all...]
ImmutableSetMultimapTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
44 assertEquals(ImmutableSet.of(1), multimap.get("one"));
81 assertEquals(ImmutableSet.of(1), builder.build().get("one"));
91 assertEquals(ImmutableSet.of(1, 2, 3, 6, 7), multimap.get("foo"));
92 assertEquals(ImmutableSet.of(4, 5), multimap.get("bar"));
103 assertEquals(ImmutableSet.of(1, 2, 3, 6, 7), multimap.get("foo"));
104 assertEquals(ImmutableSet.of(4, 5), multimap.get("bar"));
123 assertEquals(ImmutableSet.of(1, 2, 3, 6, 7), multimap.get("foo"));
124 assertEquals(ImmutableSet.of(4, 5), multimap.get("bar"))
444 ImmutableSetMultimap.<Integer, String>of(), method
    [all...]
TreeBasedTableTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
81 assertEquals(table.row("b"), ImmutableMap.of("b", "x", "x", "n"));
83 assertEquals(table.row("b"), ImmutableMap.of());
223 assertEquals(ImmutableSet.of("bar", "foo"), sortedTable.rowKeySet());
250 assertEquals(ImmutableMap.of(1, 'b'), map.get("bar"));
261 assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), map.get("foo"));
272 assertEquals(ImmutableMap.of(2, 'd'), map.get("dog"));
275 assertEquals(ImmutableSet.of("bar", "foo"), sortedTable.rowKeySet());
391 assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), row)
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
AbstractImmutableSetTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
47 protected abstract Set<String> of(); method in class:AbstractImmutableSetTest
48 protected abstract Set<String> of(String e); method in class:AbstractImmutableSetTest
49 protected abstract Set<String> of(String e1, String e2); method in class:AbstractImmutableSetTest
50 protected abstract Set<String> of(String e1, String e2, String e3); method in class:AbstractImmutableSetTest
51 protected abstract Set<String> of(String e1, String e2, String e3, String e4); method in class:AbstractImmutableSetTest
52 protected abstract Set<String> of(String e1, String e2, String e3, String e4, method in class:AbstractImmutableSetTest
54 protected abstract Set<String> of(String e1, String e2, String e3, String e4, method in class:AbstractImmutableSetTest
62 Set<String> set = of();
64 assertSame(of(), set); method
111 assertSame(of(), set); method
142 assertSame(of(), set); method
178 assertSame(of(), set); method
    [all...]
ImmutableBiMapTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
53 // TODO: Reduce duplication of ImmutableMapTest code
123 return ImmutableBiMap.of();
127 return ImmutableBiMap.of("one", 1, "two", 2, "three", 3);
142 return ImmutableBiMap.of();
146 return ImmutableBiMap.of(1, "one", 2, "two", 3, "three").inverse();
164 assertSame(ImmutableBiMap.of(), map);
285 ImmutableBiMap.of("one", 1),
288 ImmutableBiMap.of("one", 1).inverse()
    [all...]
ImmutableListMultimapTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
381 Multimap<String, Integer> multimap = ImmutableListMultimap.of();
398 Multimap<String, Integer> multimap = ImmutableListMultimap.of();
451 ImmutableListMultimap.of("one", 1),
454 ImmutableListMultimap.of("one", 1, "two", 2),
457 ImmutableListMultimap.of("one", 1, "two", 2, "three", 3),
460 ImmutableListMultimap.of("one", 1, "two", 2, "three", 3, "four", 4),
463 ImmutableListMultimap.of(
470 ImmutableListMultimap.<Integer, String>of(), method
    [all...]
ImmutableListTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
129 List<String> list = ImmutableList.of();
134 List<String> list = ImmutableList.of("a");
139 List<String> list = ImmutableList.of("a", "b");
144 List<String> list = ImmutableList.of("a", "b", "c");
149 List<String> list = ImmutableList.of("a", "b", "c", "d");
154 List<String> list = ImmutableList.of("a", "b", "c", "d", "e");
159 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f");
164 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f", "g")
    [all...]
ImmutableRangeSetTest.java 5 * in compliance with the License. You may obtain a copy of the License at
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
42 private static final ImmutableSet<Range<Integer>> RANGES = ImmutableSet.of(
144 ImmutableRangeSet<Integer> rangeSet = ImmutableRangeSet.of();
161 assertEquals(ImmutableRangeSet.<Integer>of(), rangeSet.complement()); method
165 ImmutableRangeSet<Integer> rangeSet = ImmutableRangeSet.of(Range.closedOpen(1, 5));
186 ImmutableRangeSet<Integer> rangeSet = ImmutableRangeSet.of(Range.greaterThan(2));
199 assertEquals(ImmutableRangeSet.of(Range.atMost(2)), rangeSet.complement());
203 ImmutableRangeSet<Integer> rangeSet = ImmutableRangeSet.of(Range.atMost(3));
216 assertEquals(ImmutableRangeSet.of(Range.greaterThan(3)), rangeSet.complement())
297 rangeSet.addAll(ImmutableRangeSet.<Integer>of()); method
321 rangeSet.removeAll(ImmutableRangeSet.<Integer>of()); method
    [all...]
ImmutableSetMultimapTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
77 assertEquals(ImmutableSet.of(1), multimap.get("one"));
114 assertEquals(ImmutableSet.of(1), builder.build().get("one"));
124 assertEquals(ImmutableSet.of(1, 2, 3, 6, 7), multimap.get("foo"));
125 assertEquals(ImmutableSet.of(4, 5), multimap.get("bar"));
136 assertEquals(ImmutableSet.of(1, 2, 3, 6, 7), multimap.get("foo"));
137 assertEquals(ImmutableSet.of(4, 5), multimap.get("bar"));
156 assertEquals(ImmutableSet.of(1, 2, 3, 6, 7), multimap.get("foo"));
157 assertEquals(ImmutableSet.of(4, 5), multimap.get("bar"))
477 ImmutableSetMultimap.<Integer, String>of(), method
    [all...]
TreeBasedTableTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
118 assertEquals(table.row("b"), ImmutableMap.of("b", "x", "x", "n"));
120 assertEquals(table.row("b"), ImmutableMap.of());
266 assertEquals(ImmutableSet.of("bar", "foo"), sortedTable.rowKeySet());
293 assertEquals(ImmutableMap.of(1, 'b'), map.get("bar"));
304 assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), map.get("foo"));
315 assertEquals(ImmutableMap.of(2, 'd'), map.get("dog"));
318 assertEquals(ImmutableSet.of("bar", "foo"), sortedTable.rowKeySet());
434 assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), row)
    [all...]
  /external/guava/guava-tests/test/com/google/common/reflect/
TypeTokenTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
81 @SuppressWarnings("rawtypes") // Trying to test TypeToken.of(List.class)
83 TypeToken<List> token = TypeToken.of(List.class);
88 TypeToken<?> t = TypeToken.of(StringList.class.getGenericInterfaces()[0]);
137 TypeToken<?> f = TypeToken.of(new TypeCapture<F>() {}.capture());
148 TypeToken<?> e = TypeToken.of(new TypeCapture<E>() {}.capture());
156 TypeToken<?> wildcardType = TypeToken.of(withWildcardType.getActualTypeArguments()[0]);
163 assertThat(types).has().item(TypeToken.of(Object.class));
167 assertThat(types.classes()).has().item(TypeToken.of(Object.class))
322 assertSubtypeTokenBeforeSupertypeToken(ImmutableList.<TypeToken<?>>of()); method
355 assertSubtypeBeforeSupertype(ImmutableList.<Class<?>>of()); method
1603 static <From, To> Assignability<From, To> of() { method in class:TypeTokenTest.Assignability
    [all...]
  /external/guice/core/test/com/google/inject/
MethodInterceptionTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
165 assertEquals(ImmutableMap.<Method, List<MethodInterceptor>>of( method
166 fooMethod, ImmutableList.of(countingInterceptor, returnNullInterceptor),
167 barMethod, ImmutableList.of(returnNullInterceptor)),
172 assertEquals(ImmutableMap.<Method, List<MethodInterceptor>>of(), method
ParentInjectorTest.java 6 You may obtain a copy of the License at
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
162 assertEquals(ImmutableList.of(), child.getInstance(Key.get(List.class, Names.named("B"))));
290 return ImmutableList.of();
TypeLiteralTypeResolutionTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
101 assertEquals(ImmutableList.<TypeLiteral<?>>of(TypeLiteral.get(String.class)), method
208 + "supertype of java.util.ArrayList<java.lang.String>", e.getMessage());
215 + "supertype of java.util.ArrayList<java.lang.String>", e.getMessage());
222 + "supertype of java.util.ArrayList<java.lang.String>", e.getMessage());
228 assertEquals("class java.lang.String is not a supertype of "
236 + "a supertype of java.util.ArrayList<java.lang.String>", e.getMessage());
243 + "a supertype of java.util.ArrayList<java.lang.String>", e.getMessage());
  /external/guice/extensions/testlib/test/com/google/inject/testing/fieldbinder/
BoundFieldModuleTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
48 BoundFieldModule module = BoundFieldModule.of(instance);
60 BoundFieldModule module = BoundFieldModule.of(instance);
72 BoundFieldModule module = BoundFieldModule.of(instance);
95 BoundFieldModule module = BoundFieldModule.of(instance);
109 BoundFieldModule module = BoundFieldModule.of(instance);
122 BoundFieldModule module = BoundFieldModule.of(instance);
134 BoundFieldModule module = BoundFieldModule.of(instance);
156 BoundFieldModule module = BoundFieldModule.of(instance)
    [all...]
  /external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/
ThrowingProviderTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
456 assertEquals(ImmutableSet.<Key<?>>of(Key.get(String.class), Key.get(Integer.class), method
493 assertEquals(ImmutableSet.<Key<?>>of(Key.get(String.class), Key.get(Integer.class), method
774 + " does not properly extend CheckedProvider, the first type parameter of CheckedProvider "
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
TrieMapTest.java 144 assertEquals(style + "\tGet of '" + key + "' = {" + Utility.hex(key) + "}", value, foundValue);
253 Row.of(1,4,"first"),
254 Row.of(3,7,"fifth"),
255 Row.of(8,11,"first"),
256 Row.of(8,13,"second"),
257 Row.of(14,19,"third"),
272 actualList.add(Row.of(start,end,value));
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
TrieMapTest.java 140 assertEquals(style + "\tGet of '" + key + "' = {" + Utility.hex(key) + "}", value, foundValue);
249 Row.of(1,4,"first"),
250 Row.of(3,7,"fifth"),
251 Row.of(8,11,"first"),
252 Row.of(8,13,"second"),
253 Row.of(14,19,"third"),
268 actualList.add(Row.of(start,end,value));

Completed in 363 milliseconds

<<11121314151617181920>>