Searched defs:of (Results 1 - 25 of 169) sorted by relevance

1234567

/external/mockito/src/org/mockito/internal/util/
H A DRemoveFirstLine.java3 * This program is made available under the terms of the MIT License.
13 public String of(String text) { method in class:RemoveFirstLine
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DMinimalIterable.java6 * You may obtain a copy of the License at
26 * An implementation of {@code Iterable} which throws an exception on all
27 * invocations of the {@link #iterator()} method after the first, and whose
36 * <li>throwing an exception of some kind
38 * implementations have, of returning a new, independent iterator
41 * <p>Because of this situation, any public method accepting an iterable should
47 * ones of the robust variety.
58 public static <E> MinimalIterable<E> of(E... elements) { method in class:MinimalIterable
65 * The elements are copied out of the source collection at the time this
70 return (MinimalIterable) of(element
[all...]
H A DMinimalSet.java6 * You may obtain a copy of the License at
38 public static <E> MinimalSet<E> of(E... contents) { method in class:MinimalSet
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
H A DImmutableDexFile.java9 * * 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
54 public static ImmutableDexFile of(DexFile dexFile) { method in class:ImmutableDexFile
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/debug/
H A DImmutableEpilogueBegin.java9 * * 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
45 public static ImmutableEpilogueBegin of(@Nonnull EpilogueBegin epilogueBegin) { method in class:ImmutableEpilogueBegin
H A DImmutablePrologueEnd.java9 * * 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
45 public static ImmutablePrologueEnd of(@Nonnull PrologueEnd prologueEnd) { method in class:ImmutablePrologueEnd
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/reference/
H A DImmutableReferenceFactory.java9 * * 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
42 public static ImmutableReference of(Reference reference) { method in class:ImmutableReferenceFactory
44 return ImmutableStringReference.of((StringReference)reference);
47 return ImmutableTypeReference.of((TypeReference)reference);
50 return ImmutableFieldReference.of((FieldReference)reference);
53 return ImmutableMethodReference.of((MethodReferenc
59 public static ImmutableReference of(int referenceType, Reference reference) { method in class:ImmutableReferenceFactory
[all...]
H A DImmutableStringReference.java9 * * 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
47 public static ImmutableStringReference of(@Nonnull StringReference stringReference) { method in class:ImmutableStringReference
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/value/
H A DImmutableArrayEncodedValue.java9 * * 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
53 public static ImmutableArrayEncodedValue of(@Nonnull ArrayEncodedValue arrayEncodedValue) { method in class:ImmutableArrayEncodedValue
H A DImmutableByteEncodedValue.java9 * * 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
44 public static ImmutableByteEncodedValue of(ByteEncodedValue byteEncodedValue) { method in class:ImmutableByteEncodedValue
H A DImmutableCharEncodedValue.java9 * * 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
44 public static ImmutableCharEncodedValue of(CharEncodedValue charEncodedValue) { method in class:ImmutableCharEncodedValue
H A DImmutableDoubleEncodedValue.java9 * * 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
44 public static ImmutableDoubleEncodedValue of(DoubleEncodedValue doubleEncodedValue) { method in class:ImmutableDoubleEncodedValue
H A DImmutableEnumEncodedValue.java9 * * 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
47 public static ImmutableEnumEncodedValue of(EnumEncodedValue enumEncodedValue) { method in class:ImmutableEnumEncodedValue
H A DImmutableFieldEncodedValue.java9 * * 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
47 public static ImmutableFieldEncodedValue of(@Nonnull FieldEncodedValue fieldEncodedValue) { method in class:ImmutableFieldEncodedValue
H A DImmutableFloatEncodedValue.java9 * * 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
44 public static ImmutableFloatEncodedValue of(FloatEncodedValue floatEncodedValue) { method in class:ImmutableFloatEncodedValue
H A DImmutableIntEncodedValue.java9 * * 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
44 public static ImmutableIntEncodedValue of(IntEncodedValue intEncodedValue) { method in class:ImmutableIntEncodedValue
H A DImmutableLongEncodedValue.java9 * * 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
44 public static ImmutableLongEncodedValue of(LongEncodedValue longEncodedValue) { method in class:ImmutableLongEncodedValue
H A DImmutableMethodEncodedValue.java9 * * 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
47 public static ImmutableMethodEncodedValue of(@Nonnull MethodEncodedValue methodEncodedValue) { method in class:ImmutableMethodEncodedValue
H A DImmutableShortEncodedValue.java9 * * 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
44 public static ImmutableShortEncodedValue of(ShortEncodedValue shortEncodedValue) { method in class:ImmutableShortEncodedValue
H A DImmutableStringEncodedValue.java9 * * 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
46 public static ImmutableStringEncodedValue of(@Nonnull StringEncodedValue stringEncodedValue) { method in class:ImmutableStringEncodedValue
H A DImmutableTypeEncodedValue.java9 * * 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
46 public static ImmutableTypeEncodedValue of(@Nonnull TypeEncodedValue typeEncodedValue) { method in class:ImmutableTypeEncodedValue
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DBitSet.as9 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
30 /**A stripped-down version of org.antlr.misc.BitSet that is just
35 protected static const BITS:uint = 32; // number of bits / int
39 * turns out that, for powers of two, this mod operation is
48 /** Construction from a static array of longs */
61 public static function of(... args):BitSet { function
89 * Grows the set to a larger number of bit
[all...]
/external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/
H A DBitSet.pm42 sub of : Tests(2) { subroutine
44 my $bs = $self->class->of(0x10);
75 my $bs = $self->class->of(4);
76 $bs |= $self->class->of(5);
/external/guava/guava-testlib/src/com/google/common/testing/
H A DEquivalenceTester.java6 * You may obtain a copy of the License at
33 * Tester for {@link Equivalence} relationships between groups of objects.
38 * other. Objects of different groups are expected to be unequal. For example:
42 * EquivalenceTester.of(someStringEquivalence)
51 * the {@link EqualsTester}. It includes an extra test against an instance of an
74 public static <T> EquivalenceTester<T> of(Equivalence<? super T> equivalence) { method in class:EquivalenceTester
79 * Adds a group of objects that are supposed to be equivalent to each other
112 assertEquals("the hash of " + item + " must be consistent", equivalence.hash(item),
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DPair.java10 * A pair of objects: first and second.
30 public static <F, S> Pair<F, S> of(F first, S second) { method in class:Pair
32 throw new IllegalArgumentException("Pair.of requires non null values.");

Completed in 329 milliseconds

1234567