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

1 2 3 4 5 67 8 91011>>

  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ImmutableListMultimap.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32 * a <i>view</i> of a separate multimap which can still change, an instance of
36 * you easily make a "defensive copy" of a multimap provided to your class by
40 * it has no public or protected constructors. Thus, instances of this class
58 public static <K, V> ImmutableListMultimap<K, V> of() { method in class:ImmutableListMultimap
65 public static <K, V> ImmutableListMultimap<K, V> of(K k1, V v1) { method in class:ImmutableListMultimap
75 public static <K, V> ImmutableListMultimap<K, V> of(K k1, V v1, K k2, V v2) { method in class:ImmutableListMultimap
86 public static <K, V> ImmutableListMultimap<K, V> of( method in class:ImmutableListMultimap
99 public static <K, V> ImmutableListMultimap<K, V> of( method in class:ImmutableListMultimap
113 public static <K, V> ImmutableListMultimap<K, V> of( method in class:ImmutableListMultimap
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
EnumsTest.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(Optional.of(TestEnum.CHEETO), Enums.getIfPresent(TestEnum.class, "CHEETO"));
45 assertEquals(Optional.of(TestEnum.HONDA), Enums.getIfPresent(TestEnum.class, "HONDA"));
46 assertEquals(Optional.of(TestEnum.POODLE), Enums.getIfPresent(TestEnum.class, "POODLE"));
67 // Create a second ClassLoader and use it to get a second version of the TestEnum class.
  /external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/
CollectionAddAllTester.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
86 collection.addAll(MinimalCollection.of(samples.e3, samples.e0)));
95 collection.addAll(MinimalCollection.of(samples.e3, samples.e0));
108 assertTrue(collection.addAll(MinimalCollection.of(samples.e3, samples.e0)));
121 collection.addAll(MinimalCollection.of(samples.e0)));
134 * We need (E) to force interpretation of null as the single element of a
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
MultimapRemoveEntryTester.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
60 assertGet(sampleKeys().e0, ImmutableList.<V>of()); method
71 assertGet(getKeyForNullValue(), ImmutableList.<V>of()); method
82 assertGet(getKeyForNullValue(), ImmutableList.<V>of()); method
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
CollectionAddAllTester.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
89 collection.addAll(MinimalCollection.of(samples.e3, samples.e0)));
98 collection.addAll(MinimalCollection.of(samples.e3, samples.e0));
111 assertTrue(collection.addAll(MinimalCollection.of(samples.e3, samples.e0)));
124 collection.addAll(MinimalCollection.of(samples.e0)));
137 * We need (E) to force interpretation of null as the single element of a
CollectionRemoveAllTester.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
51 collection.removeAll(MinimalCollection.of()));
58 collection.removeAll(MinimalCollection.of(samples.e3)));
66 collection.removeAll(MinimalCollection.of(samples.e0)));
74 collection.removeAll(MinimalCollection.of(samples.e0, samples.e3)));
84 assertTrue(collection.removeAll(MinimalCollection.of(samples.e0, samples.e3)));
99 collection.removeAll(MinimalCollection.of(
110 collection.removeAll(MinimalCollection.of()));
121 collection.removeAll(MinimalCollection.of(samples.e3)))
    [all...]
ListAddAllAtIndexTester.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
47 getList().addAll(0, MinimalCollection.of(samples.e0)));
55 getList().addAll(0, MinimalCollection.of(samples.e0));
66 getList().addAll(0, MinimalCollection.of(samples.e0, samples.e3)));
74 getList().addAll(0, MinimalCollection.of(samples.e0, samples.e3));
102 = MinimalCollection.of(samples.e0, samples.e1, samples.e0, samples.e1);
115 * We need (E) to force interpretation of null as the single element of a
164 getList().addAll(-1, MinimalCollection.of(samples.e3))
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
AbstractTableTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
159 assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), row);
161 assertEquals(ImmutableMap.of(1, 'a'), row);
163 assertEquals(ImmutableMap.of(), row);
165 assertEquals(ImmutableMap.of(2, 'b'), row);
167 assertEquals(ImmutableMap.of(), row);
169 assertEquals(ImmutableMap.of(5, 'x'), row);
ImmutableSetTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
90 @Override protected Set<String> of() { method in class:ImmutableSetTest
91 return ImmutableSet.of();
94 @Override protected Set<String> of(String e) { method in class:ImmutableSetTest
95 return ImmutableSet.of(e);
98 @Override protected Set<String> of(String e1, String e2) { method in class:ImmutableSetTest
99 return ImmutableSet.of(e1, e2);
102 @Override protected Set<String> of(String e1, String e2, String e3) { method in class:ImmutableSetTest
103 return ImmutableSet.of(e1, e2, e3)
106 @Override protected Set<String> of( method in class:ImmutableSetTest
111 @Override protected Set<String> of( method in class:ImmutableSetTest
116 @Override protected Set<String> of(String e1, String e2, String e3, method in class:ImmutableSetTest
    [all...]
WellBehavedMapTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
36 map.putAll(ImmutableMap.of(Foo.X, 1, Foo.Y, 2, Foo.Z, 3));
52 map.putAll(ImmutableMap.of(Foo.X, 1, Foo.Y, 2, Foo.Z, 3));
58 assertEquals(ImmutableMap.of(Foo.X, 6, Foo.Y, 7, Foo.Z, 8), map);
64 map.putAll(ImmutableMap.of(Foo.X, 1));
91 map.putAll(ImmutableMap.of(Foo.X, 1, Foo.Y, 2, Foo.Z, 3));
RangeTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
290 Helpers.testCompareToAndEquals(ImmutableList.of(a, b, c, d, e, f));
300 assertTrue(range.containsAll(ImmutableSortedSet.of(3, 3, 4, 5)));
301 assertTrue(range.containsAll(ImmutableSortedSet.of(3)));
302 assertTrue(range.containsAll(ImmutableSortedSet.<Integer>of()));
303 assertFalse(range.containsAll(ImmutableSortedSet.of(3, 3, 4, 5, 6)));
594 Range.encloseAll(ImmutableSet.<Integer>of()); method
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
Row.java 16 * @hide Only a subset of ICU is exposed in Android
27 public static <C0, C1> R2<C0,C1> of(C0 p0, C1 p1) { method in class:Row
30 public static <C0, C1, C2> R3<C0,C1,C2> of(C0 p0, C1 p1, C2 p2) { method in class:Row
33 public static <C0, C1, C2, C3> R4<C0,C1,C2,C3> of(C0 p0, C1 p1, C2 p2, C3 p3) { method in class:Row
36 public static <C0, C1, C2, C3, C4> R5<C0,C1,C2,C3,C4> of(C0 p0, C1 p1, C2 p2, C3 p3, C4 p4) { method in class:Row
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
Row.java 23 public static <C0, C1> R2<C0,C1> of(C0 p0, C1 p1) { method in class:Row
26 public static <C0, C1, C2> R3<C0,C1,C2> of(C0 p0, C1 p1, C2 p2) { method in class:Row
29 public static <C0, C1, C2, C3> R4<C0,C1,C2,C3> of(C0 p0, C1 p1, C2 p2, C3 p3) { method in class:Row
32 public static <C0, C1, C2, C3, C4> R5<C0,C1,C2,C3,C4> of(C0 p0, C1 p1, C2 p2, C3 p3, C4 p4) { method in class:Row
  /external/javassist/src/main/javassist/bytecode/
AccessFlag.java 5 * The contents of this file are subject to the Mozilla Public License Version
7 * the License. Alternatively, the contents of this file may be used under
8 * the terms of the GNU Lesser General Public License Version 2.1 or later.
11 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
119 public static int of(int modifier) { method in class:AccessFlag
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Headers.java 7 * the License. You may obtain a copy of the License at
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31 * The header fields of a single HTTP message. Values are uninterpreted strings;
33 * maintains the order of the header fields within the HTTP message.
38 * on commas if their field permits multiple values. This simplifies use of
45 * <p>Instances of this class are immutable. Use {@link Builder} to create
74 /** Returns the number of field values. */
79 /** Returns the field at {@code position} or null if that is out of range. */
88 /** Returns the value at {@code index} or null if that is out of range. */
97 /** Returns an immutable case-insensitive set of header names. *
162 public static Headers of(String... namesAndValues) { method in class:Headers
189 public static Headers of(Map<String, String> headers) { method in class:Headers
    [all...]
  /external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/instruction/
SmalideaInstruction.java 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
12 * copyright notice, this list of conditions and the following disclaimer
15 * * Neither the name of Google Inc. nor the names of its
21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE US
61 public static SmalideaInstruction of(SmaliInstruction instruction) { method in class:SmalideaInstruction
    [all...]
  /external/smali/util/src/main/java/org/jf/util/
ArraySortedSet.java 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
12 * copyright notice, this list of conditions and the following disclaimer
15 * * Neither the name of Google Inc. nor the names of its
21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE US
49 public static <T> ArraySortedSet<T> of(@Nonnull Comparator<? super T> comparator, @Nonnull T[] arr) { method in class:ArraySortedSet
    [all...]
  /libcore/ojluni/src/main/java/java/util/
EnumSet.java 7 * under the terms of the GNU General Public License version 2 only, as
13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18 * You should have received a copy of the GNU General Public License version
30 * A specialized {@link Set} implementation for use with enum types. All of
34 * extremely compact and efficient. The space and time performance of this
44 * and it may or may not show the effects of any modifications to the set that
49 * presence of a null element or to remove one will, however, function
54 * least one of the threads modifies the set, it should be synchronized
70 * <p>This class is a member of the
83 * The class of all the elements of this set
202 public static <E extends Enum<E>> EnumSet<E> of(E e) { method in class:EnumSet
222 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2) { method in class:EnumSet
244 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3) { method in class:EnumSet
268 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3, E e4) { method in class:EnumSet
294 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3, E e4, method in class:EnumSet
320 public static <E extends Enum<E>> EnumSet<E> of(E first, E... rest) { method in class:EnumSet
    [all...]
  /packages/apps/Camera2/src/com/android/camera/util/
AspectRatio.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
33 private static final AspectRatio ASPECT_RATIO_4x3 = AspectRatio.of(4, 3);
34 private static final AspectRatio ASPECT_RATIO_16x9 = AspectRatio.of(16, 9);
40 * @param width The width of the aspect ratio, after simplification.
41 * @param height The height of the aspect ratio, after simplification.
48 public static AspectRatio of(int width, int height) { method in class:AspectRatio
55 public static AspectRatio of(Size size) { method in class:AspectRatio
56 return of(size.width(), size.height());
107 * @return The transpose of this aspect ratio
    [all...]
Size.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
56 public static Size of(Rect rectangle) { method in class:Size
101 * @return The landscape version of this size.
112 * @return The portrait version of this size.
168 * Encode List of this class as comma-separated list of integers.
170 * @param sizes List of this class to encode.
183 * Decode comma-separated even-length list of integers into a List of this class
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/
AnimationContentAssist.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
153 pairs.add(Pair.of(d.getXmlLocalName(), d.getAttributeInfo().getJavaDoc()));
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
RuleLoader.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
105 // Ensure we have the latest & greatest version of the properties.
134 mUserJarTimeStamps.add(Pair.of(pathFile, pathFile.lastModified()));
  /external/guava/guava/src/com/google/common/reflect/
ClassPath.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
53 * Scans the source of a {@link ClassLoader} and finds all loadable classes and resources.
98 * Returns all resources loadable from the current class path, including the class files of all
158 static ResourceInfo of(String resourceName, ClassLoader loader) { method in class:ClassPath.ResourceInfo
177 /** Returns the fully qualified name of the resource. Such as "com/mycomp/foo/bar.txt". */
216 * Returns the package name of the class, without attempting to load the class.
226 * Returns the simple name of the underlying class as given in the source code.
249 * Returns the fully qualified name of the class.
332 scanDirectory(directory, classloader, "", ImmutableSet.<File>of());
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/net/super/com/google/common/net/
MediaTypeTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
115 ImmutableListMultimap.of("a", "1", "a", "2", "b", "3");
118 assertEquals(ImmutableListMultimap.of(), MediaType.parse("text/plain").parameters());
119 assertEquals(ImmutableListMultimap.of("charset", "utf-8"),
142 ImmutableListMultimap.of("a", "1", "@", "2", "b", "3");
277 assertEquals(Optional.of(UTF_8),
318 ImmutableMultimap.of("charset", "utf-8")),
335 .withParameters(ImmutableListMultimap.of("a", "1", "a", "2")),
337 .withParameters(ImmutableListMultimap.of("a", "2", "a", "1"))
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
WrapInWizard.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
89 typeLabel.setText("Type of Container:");
174 classNames.add(Pair.of(RADIO_GROUP, (ViewElementDescriptor) null));
177 classNames.add(Pair.<String,ViewElementDescriptor>of(null, null)); method
186 classNames.add(Pair.of(view, (ViewElementDescriptor) null));
189 classNames.add(Pair.<String,ViewElementDescriptor>of(null, null)); method
220 classNames.add(Pair.of(className, d));
231 classNames.add(Pair.of(view, (ViewElementDescriptor) null));
239 classNames.add(Pair.<String, ViewElementDescriptor> of( method
243 classNames.add(Pair.<String,ViewElementDescriptor>of(null, null)); method
263 classNames.add(Pair.<String,ViewElementDescriptor>of(null, null)); method
    [all...]

Completed in 612 milliseconds

1 2 3 4 5 67 8 91011>>