/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
SourceFileGenerator.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 67 throw new SourceFileGenerationException(ImmutableList.<ClassName>of(), e, method
|
/external/guava/guava/src/com/google/common/base/ |
Optional.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 32 * instance of this type either contains a non-null reference, or contains nothing (in 41 * <p>Some uses of this class include 58 * <p>This class is not intended as a direct analogue of any existing "option" or "maybe" 65 * @param <T> the type of instance that can be contained. {@code Optional} is naturally 67 * Optional<S>} for any supertype {@code S} of {@code T}. 84 public static <T> Optional<T> of(T reference) { method in class:Optional 117 * {@link #get()} instead. For a default value of {@code null}, use {@link #orNull}. 132 * Optional<T>}. Casting either of the above example {@code Optional} instances to {@cod [all...] |
/external/guava/guava/src/com/google/common/collect/ |
ImmutableList.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 41 * <p>Unlike {@link Collections#unmodifiableList}, which is a <i>view</i> of a 42 * separate collection that can still change, an instance of {@code 45 * ("constant lists") and also lets you easily make a "defensive copy" of a list 49 * it has no public or protected constructors. Thus, instances of this type are 72 * and maintainability of your code. 76 public static <E> ImmutableList<E> of() { method in class:ImmutableList 84 * maintainability of your code. 88 public static <E> ImmutableList<E> of(E element) method in class:ImmutableList 97 public static <E> ImmutableList<E> of(E e1, E e2) { method in class:ImmutableList 106 public static <E> ImmutableList<E> of(E e1, E e2, E e3) { method in class:ImmutableList 115 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4) { method in class:ImmutableList 124 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5) { method in class:ImmutableList 133 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5, E e6) { method in class:ImmutableList 142 public static <E> ImmutableList<E> of( method in class:ImmutableList 152 public static <E> ImmutableList<E> of( method in class:ImmutableList 162 public static <E> ImmutableList<E> of( method in class:ImmutableList 172 public static <E> ImmutableList<E> of( method in class:ImmutableList 182 public static <E> ImmutableList<E> of( method in class:ImmutableList 196 public static <E> ImmutableList<E> of( method in class:ImmutableList [all...] |
ImmutableBiMap.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 28 * <p>An instance of {@code ImmutableBiMap} contains its own data and will 31 * make a "defensive copy" of a bimap provided to your class by a caller. 34 * it has no public or protected constructors. Thus, instances of this class are 49 public static <K, V> ImmutableBiMap<K, V> of() { method in class:ImmutableBiMap 56 public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1) { method in class:ImmutableBiMap 65 public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2) { method in class:ImmutableBiMap 74 public static <K, V> ImmutableBiMap<K, V> of( method in class:ImmutableBiMap 84 public static <K, V> ImmutableBiMap<K, V> of( method in class:ImmutableBiMap 95 public static <K, V> ImmutableBiMap<K, V> of( method in class:ImmutableBiMap [all...] |
ImmutableSet.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 41 * <p>Unlike {@link Collections#unmodifiableSet}, which is a <i>view</i> of a 42 * separate collection that can still change, an instance of this class contains 45 * easily make a "defensive copy" of a set provided to your class by a caller. 60 * instances of this type are guaranteed to be immutable. 79 * and maintainability of your code. 83 public static <E> ImmutableSet<E> of() { method in class:ImmutableSet 91 * maintainability of your code. 93 public static <E> ImmutableSet<E> of(E element) method in class:ImmutableSet 104 public static <E> ImmutableSet<E> of(E e1, E e2) { method in class:ImmutableSet 115 public static <E> ImmutableSet<E> of(E e1, E e2, E e3) { method in class:ImmutableSet 126 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4) { method in class:ImmutableSet 137 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5) { method in class:ImmutableSet 149 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5, E e6, method in class:ImmutableSet [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableEnumMapTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 50 ImmutableMap<AnEnum, String> map = Maps.immutableEnumMap(ImmutableMap.<AnEnum, String>of()); 51 assertEquals(ImmutableMap.of(), map); 56 ImmutableMap.of(AnEnum.C, "c", AnEnum.A, "a", AnEnum.E, "e"));
|
ImmutableSetTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 40 @Override protected Set<String> of() { method in class:ImmutableSetTest 41 return ImmutableSet.of(); 44 @Override protected Set<String> of(String e) { method in class:ImmutableSetTest 45 return ImmutableSet.of(e); 48 @Override protected Set<String> of(String e1, String e2) { method in class:ImmutableSetTest 49 return ImmutableSet.of(e1, e2); 52 @Override protected Set<String> of(String e1, String e2, String e3) { method in class:ImmutableSetTest 53 return ImmutableSet.of(e1, e2, e3) 56 @Override protected Set<String> of( method in class:ImmutableSetTest 61 @Override protected Set<String> of( method in class:ImmutableSetTest 66 @Override protected Set<String> of(String e1, String e2, String e3, method in class:ImmutableSetTest [all...] |
/external/guava/guava-testlib/src/com/google/common/testing/ |
EquivalenceTester.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 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/guava/guava-tests/test/com/google/common/collect/ |
ImmutableEnumMapTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 69 ImmutableMap<AnEnum, String> map = Maps.immutableEnumMap(ImmutableMap.<AnEnum, String>of()); 70 assertEquals(ImmutableMap.of(), map); 75 ImmutableMap.of(AnEnum.C, "c", AnEnum.A, "a", AnEnum.E, "e"));
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
PrimitivesTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 52 ImmutableSet.<Object>of( method 67 ImmutableSet.<Object>of( method
|
/external/libpng/contrib/examples/ |
iccfrompng.c | 9 * example of a program that extracts information from the header of a PNG file 13 * information in the section of the file that preceeds the image data. 18 * To use supply a list of PNG files containing iCCP chunks, the chunks will be 119 FILE *of; local 124 of = fopen(output, "wb"); 125 if (of != NULL) 127 if (fwrite(profile, proflen, 1, of) == 1 && 128 fflush(of) == 0 && 129 fclose(of) == 0 [all...] |
/external/opencv3/samples/gpu/ |
super_resolution.cpp | 64 "{ t temporal | 4 | Radius of the temporal search area }" 95 Ptr<cv::superres::DenseOpticalFlowExt> of = createOptFlow(optFlow, useCuda); local 97 if (of.empty()) 99 superRes->setOpticalFlow(of);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/ |
ImmutableField.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 86 public static ImmutableField of(Field field) { method in class:ImmutableField [all...] |
/external/testng/src/main/java/org/testng/xml/dom/ |
Reflect.java | 18 result.add(Pair.of(m, new Wrapper(a, bean))); 46 return Pair.of(m, null);
|
/libcore/ojluni/src/main/java/java/util/ |
OptionalDouble.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 36 * <p>Additional methods that depend on the presence or absence of a contained 40 * of code if the value is present). 98 public static OptionalDouble of(double value) { method in class:OptionalDouble 152 * the result of that invocation. 156 * @return the value if present otherwise the result of {@code other.getAsDouble()} 172 * @param <X> Type of the exception to be thrown 218 * Returns the hash code value of the present value, if any, or 0 (zero) i [all...] |
OptionalInt.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 36 * <p>Additional methods that depend on the presence or absence of a contained 40 * of code if the value is present). 99 public static OptionalInt of(int value) { method in class:OptionalInt 153 * the result of that invocation. 157 * @return the value if present otherwise the result of {@code other.getAsInt()} 173 * @param <X> Type of the exception to be thrown 219 * Returns the hash code value of the present value, if any, or 0 (zero) i [all...] |
OptionalLong.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 36 * <p>Additional methods that depend on the presence or absence of a contained 40 * of code if the value is present). 98 public static OptionalLong of(long value) { method in class:OptionalLong 152 * the result of that invocation. 156 * @return the value if present otherwise the result of {@code other.getAsLong()} 172 * @param <X> Type of the exception to be thrown 218 * Returns the hash code value of the present value, if any, or 0 (zero) i [all...] |
/libcore/ojluni/src/main/java/java/util/stream/ |
Collector.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 43 * <p>Examples of mutable reduction operations include: 48 * provides implementations of many common mutable reductions. 53 * <li>creation of a new result container ({@link #supplier()})</li> 59 * <p>Collectors also have a set of characteristics, such as 63 * <p>A sequential implementation of a reduction using a collector would 67 * accumulate the contents of each partition into a subresult for that partition, 78 * result of any series of accumulator and combiner invocations, {@code a} mus 260 public static<T, R> Collector<T, R, R> of(Supplier<R> supplier, method in interface:Collector 291 public static<T, A, R> Collector<T, A, R> of(Supplier<A> supplier, method in interface:Collector [all...] |
/cts/hostsidetests/shortcuts/deviceside/multiuser/src/android/content/pm/cts/shortcut/multiuser/ |
ShortcutManagerSecondaryUserTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 91 Method of = UserHandle.class.getMethod("of", int.class); local 93 return (UserHandle) of.invoke(null, 0);
|
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
BitSet.pm | 14 # number of bits / long 23 # turns out that, for powers of two, this mod operation is 48 # Construct a bitset of size one word (64 bits) 58 # Construction from a static array of longs 72 # Construction from a list of integers 86 sub of { subroutine 266 A stripped-down version of org.antlr.misc.BitSet that is just good enough to 274 =item C<of> 288 Grows the set to a larger number of bits. 292 Sets the size of a set [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableBiMap.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 24 * GWT emulation of {@link ImmutableBiMap}. 33 public static <K, V> ImmutableBiMap<K, V> of() { method in class:ImmutableBiMap 37 public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1) { method in class:ImmutableBiMap 42 public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2) { method in class:ImmutableBiMap 43 return new RegularImmutableBiMap<K, V>(ImmutableMap.of(k1, v1, k2, v2)); 46 public static <K, V> ImmutableBiMap<K, V> of( method in class:ImmutableBiMap 48 return new RegularImmutableBiMap<K, V>(ImmutableMap.of( 52 public static <K, V> ImmutableBiMap<K, V> of( method in class:ImmutableBiMap 58 public static <K, V> ImmutableBiMap<K, V> of( method in class:ImmutableBiMap [all...] |
ImmutableSet.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 29 * GWT emulated version of {@link ImmutableSet}. For the unsorted sets, they 45 public static <E> ImmutableSet<E> of() { method in class:ImmutableSet 49 public static <E> ImmutableSet<E> of(E element) { method in class:ImmutableSet 54 public static <E> ImmutableSet<E> of(E e1, E e2) { method in class:ImmutableSet 59 public static <E> ImmutableSet<E> of(E e1, E e2, E e3) { method in class:ImmutableSet 64 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4) { method in class:ImmutableSet 69 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5) { method in class:ImmutableSet 74 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E... others) method in class:ImmutableSet [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
MinimalCollection.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 36 public static <E> MinimalCollection<E> of(E... contents) { method in class:MinimalCollection
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheLoaderTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 73 return ImmutableMap.of(); 83 baseLoader.loadAll(ImmutableList.of(new Object())); 94 asyncReloader.loadAll(ImmutableList.of(new Object()));
|
/external/guice/core/src/com/google/inject/spi/ |
Message.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 62 this(ImmutableList.of(), message, cause); 66 this(ImmutableList.of(source), message, null); 70 this(ImmutableList.of(), message, null);
|