HomeSort by relevance Sort by last modified time
    Searched defs:of (Results 326 - 350 of 1403) sorted by null

<<11121314151617181920>>

  /external/guava/guava-tests/test/com/google/common/io/
CloserTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
355 assertEquals(ImmutableSet.of(c1Exception, c2Exception), suppressed);
374 * Asserts that an exception was thrown when trying to close each of the given throwables and that
375 * each such exception was suppressed because of the given thrown exception.
395 * Record of a call to suppress.
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
WrappingExecutorServiceTest.java 5 * use this file except in compliance with the License. You may obtain a copy of
12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
60 assertEquals(ImmutableList.of(), list);
268 return ImmutableList.of();
  /external/guice/core/test/com/google/inject/
PrivateModuleTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
448 assertEquals(ImmutableSet.<Dependency<?>>of(Dependency.get(Key.get(Injector.class))), method
451 assertEquals(ImmutableSet.<Key<?>>of(Key.get(String.class, named("b"))), method
TypeLiteralTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
112 + "GenericArrayType, but <? extends java.lang.Runnable> is of type "
159 assertEquals(ImmutableList.<Type>of(Object.class), ImmutableList.copyOf(aTv.getBounds())); method
174 assertEquals(ImmutableList.<Type>of(Runnable.class), ImmutableList.copyOf(cTv.getBounds())); method
189 assertEquals(ImmutableList.<Type>of(Types.listOf(typeVariables[0]), Runnable.class), method
  /external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/
GraphvizGrapher.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
42 * file of the graph. Dependencies are bound in {@link GraphvizModule}.
119 // remove most of the margin because the table has internal padding
128 * Creates the "label" for a node. This is a string of HTML that defines a
129 * table with a heading at the top and (in the case of
130 * {@link ImplementationNode}s) rows for each of the member fields.
203 * Turns a {@link List} of {@link ArrowType}s into a {@link String} that
296 gedge.setArrowHead(ImmutableList.of(ArrowType.NORMAL));
307 gedge.setArrowHead(ImmutableList.of(ArrowType.NORMAL_OPEN))
    [all...]
  /external/guice/extensions/multibindings/src/com/google/inject/multibindings/
Multibinder.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
88 * bindings to the set of snacks. When that set is injected, it will contain
94 * iteration order of elements contributed by different modules, since there is
104 * <p>Annotations are be used to create different sets of the same element
105 * type. Each distinct annotation gets its own independent collection of
120 * Returns a new multibinder that collects instances of {@code type} in a {@link Set} that is
128 * Returns a new multibinder that collects instances of {@code type} in a {@link Set} that is
136 * Returns a new multibinder that collects instances of {@code type} in a {@link Set} that is
145 * Returns a new multibinder that collects instances of {@code type} in a {@link Set} that i
    [all...]
  /external/javassist/src/main/javassist/bytecode/
Descriptor.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
55 * Returns the internal representation of the class name in the
60 return of(clazz);
124 public static String of(String classname) { method in class:Descriptor
244 public static String of(CtClass type) { method in class:Descriptor
308 * Returns the descriptor representing a list of parameter types.
343 * Inserts a parameter type at the beginning of the paramete
    [all...]
  /external/okhttp/okio/okio/src/test/java/okio/
ByteStringTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
39 ByteString byteString = ByteString.of(bytes, 2, 9);
64 assertTrue(ByteString.of().equals(ByteString.EMPTY));
65 assertTrue(ByteString.EMPTY.equals(ByteString.of()));
75 assertTrue(byteString.equals(ByteString.of(bronzeHorseman.getBytes(Util.UTF_8))));
107 assertEquals(ByteString.of(), ByteString.read(in, 0));
184 ByteString.encodeUtf8("How many lines of code are there? 'bout 2 million.").base64());
193 ByteString.encodeUtf8("How many lines of code are there? 'bout 2 million.").base64Url());
230 assertEquals("000102", ByteString.of((byte) 0x0, (byte) 0x1, (byte) 0x2).hex())
    [all...]
  /libcore/ojluni/src/main/java/java/time/
OffsetTime.java 6 * under the terms of the GNU General Public License version 2 only, as
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * You should have received a copy of the GNU General Public License version
29 * However, the following notice accompanied the original version of this
39 * * Redistributions of source code must retain the above copyright notice,
40 * this list of conditions and the following disclaimer.
43 * this list of conditions and the following disclaimer in the documentation
46 * * Neither the name of JSR-310 nor the names of its contributors
52 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FO
206 public static OffsetTime of(LocalTime time, ZoneOffset offset) { method in class:OffsetTime
229 public static OffsetTime of(int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset) { method in class:OffsetTime
    [all...]
Period.java 6 * under the terms of the GNU General Public License version 2 only, as
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * You should have received a copy of the GNU General Public License version
29 * However, the following notice accompanied the original version of this
39 * * Redistributions of source code must retain the above copyright notice,
40 * this list of conditions and the following disclaimer.
43 * this list of conditions and the following disclaimer in the documentation
46 * * Neither the name of JSR-310 nor the names of its contributors
52 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FO
230 public static Period of(int years, int months, int days) { method in class:Period
    [all...]
  /libcore/ojluni/src/main/java/java/time/chrono/
AbstractChronology.java 6 * under the terms of the GNU General Public License version 2 only, as
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * You should have received a copy of the GNU General Public License version
29 * However, the following notice accompanied the original version of this
39 * * Redistributions of source code must retain the above copyright notice,
40 * this list of conditions and the following disclaimer.
43 * this list of conditions and the following disclaimer in the documentation
46 * * Neither the name of JSR-310 nor the names of its contributors
52 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FO
292 static Chronology of(String id) { method in class:AbstractChronology
    [all...]
HijrahDate.java 6 * under the terms of the GNU General Public License version 2 only, as
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * You should have received a copy of the GNU General Public License version
34 * * Redistributions of source code must retain the above copyright notice,
35 * this list of conditions and the following disclaimer.
38 * this list of conditions and the following disclaimer in the documentation
41 * * Neither the name of JSR-310 nor the names of its contributors
47 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
51 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, O
149 static HijrahDate of(HijrahChronology chrono, int prolepticYear, int monthOfYear, int dayOfMonth) { method in class:HijrahDate
227 public static HijrahDate of(int prolepticYear, int month, int dayOfMonth) { method in class:HijrahDate
    [all...]
  /libcore/ojluni/src/main/java/java/time/zone/
ZoneOffsetTransitionRule.java 6 * under the terms of the GNU General Public License version 2 only, as
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * You should have received a copy of the GNU General Public License version
29 * However, the following notice accompanied the original version of this
39 * * Redistributions of source code must retain the above copyright notice,
40 * this list of conditions and the following disclaimer.
43 * this list of conditions and the following disclaimer in the documentation
46 * * Neither the name of JSR-310 nor the names of its contributors
52 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FO
171 public static ZoneOffsetTransitionRule of( method in class:ZoneOffsetTransitionRule
    [all...]
  /libcore/ojluni/src/test/java/time/tck/java/time/zone/
TCKZoneOffsetTransition.java 6 * under the terms of the GNU General Public License version 2 only, as
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * You should have received a copy of the GNU General Public License version
27 * However, the following notice accompanied the original version of this
37 * * Redistributions of source code must retain the above copyright notice,
38 * this list of conditions and the following disclaimer.
41 * this list of conditions and the following disclaimer in the documentation
44 * * Neither the name of JSR-310 nor the names of its contributors
50 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FO
    [all...]
  /libcore/ojluni/src/test/java/time/test/java/time/temporal/
TestIsoWeekFields.java 6 * under the terms of the GNU General Public License version 2 only, as
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * You should have received a copy of the GNU General Public License version
73 assertEquals(weekField.isSupportedBy(MonthDay.of(2, 1)), false);
86 assertEquals(weekField.range(), ValueRange.of(1, 52, 53));
91 assertEquals(weekField.rangeRefinedBy(LocalDate.of(2012, 12, 31)), ValueRange.of(1, 52));
92 assertEquals(weekField.rangeRefinedBy(LocalDate.of(2013, 12, 29)), ValueRange.of(1, 52));
93 assertEquals(weekField.rangeRefinedBy(LocalDate.of(2013, 12, 30)), ValueRange.of(1, 52))
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/location/
LocationEnablerTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189 eq(UserHandle.of(ActivityManager.getCurrentUser())),
215 eq(UserHandle.of(ActivityManager.getCurrentUser())),
254 UserManager.DISALLOW_CONFIG_LOCATION, UserHandle.of(userId)))
  /prebuilts/jdk/jdk8/darwin-x86/sample/jmx/jmx-scandir/test/com/sun/jmx/examples/scandir/
ScanManagerTest.java 8 * - Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
12 * notice, this list of conditions and the following disclaimer in the
15 * - Neither the name of Oracle nor the names of its
21 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
25 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
26 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THI
    [all...]
  /prebuilts/jdk/jdk8/linux-x86/sample/jmx/jmx-scandir/test/com/sun/jmx/examples/scandir/
ScanManagerTest.java 8 * - Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
12 * notice, this list of conditions and the following disclaimer in the
15 * - Neither the name of Oracle nor the names of its
21 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
25 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
26 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THI
    [all...]
  /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 3 // License & terms of use: http://www.unicode.org/copyright.html#License
69 public static <F extends Comparable, S extends Comparable> OrderedPair<F, S> of(F first, S second) { method in class:MeasureUnitTest.OrderedPair
71 throw new IllegalArgumentException("OrderedPair.of requires non null values.");
256 // use this test to run each of the ollowing in succession
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
MeasureUnitTest.java 2 // License & terms of use: http://www.unicode.org/copyright.html#License
66 public static <F extends Comparable, S extends Comparable> OrderedPair<F, S> of(F first, S second) { method in class:MeasureUnitTest.OrderedPair
68 throw new IllegalArgumentException("OrderedPair.of requires non null values.");
253 // use this test to run each of the ollowing in succession
    [all...]
  /external/annotation-tools/annotation-file-utilities/
annotation-file-format.tex 53 \section{Purpose: External storage of annotations\label{purpose}}
57 Ordinarily, Java annotations are written in the source code of a
81 changing the main version of the source code. (The developer's private
82 version of the code could contain the annotations, but the developer
93 All of these uses require an external, textual file format for Java annotations.
97 An ``annotation file'' serves this purpose by specifying a set of
101 of tools that process annotation files.
105 The file format provides a simple syntax to represent the structure of a Java
106 program. For annotations in method bodies of \code{.class} files the annotation
108 section ``Class File Format Extensions'' of the JSR 308 design document~\cite{JSR308-webpage-201310}
    [all...]
  /external/annotation-tools/annotation-file-utilities/src/annotator/scanner/
MethodOffsetClassVisitor.java 23 * offsets needed by all of the annotator.scanner classes. This visitor
80 Pair.of(methodName, Pair.of(index, start.getOffset())),
  /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...]

Completed in 912 milliseconds

<<11121314151617181920>>