Searched defs:of (Results 101 - 125 of 164) sorted by relevance

1234567

/external/guava/guava/src/com/google/common/collect/
H A DImmutableTable.java6 * You may obtain a copy of the License at
35 * it has no public or protected constructors. Thus, instances of this class are
47 public static final <R, C, V> ImmutableTable<R, C, V> of() { method in class:ImmutableTable
52 public static final <R, C, V> ImmutableTable<R, C, V> of(R rowKey, method in class:ImmutableTable
58 * Returns an immutable copy of the provided table.
60 * <p>The {@link Table#cellSet()} iteration order of the provided table
61 * determines the iteration ordering of all views in the returned table. Note
62 * that some views of the original table and the copied table may have
82 return of();
86 return ImmutableTable.<R, C, V>of(onlyCel
[all...]
H A DImmutableBiMap.java6 * You may obtain a copy of the License at
30 * <p>An instance of {@code ImmutableBiMap} contains its own data and will
33 * make a "defensive copy" of a bimap provided to your class by a caller.
36 * it has no public or protected constructors. Thus, instances of this class are
54 public static <K, V> ImmutableBiMap<K, V> of() { method in class:ImmutableBiMap
61 public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1) { method in class:ImmutableBiMap
62 return new RegularImmutableBiMap<K, V>(ImmutableMap.of(k1, v1));
70 public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2) { method in class:ImmutableBiMap
71 return new RegularImmutableBiMap<K, V>(ImmutableMap.of(k1, v1, k2, v2));
79 public static <K, V> ImmutableBiMap<K, V> of( method in class:ImmutableBiMap
90 public static <K, V> ImmutableBiMap<K, V> of( method in class:ImmutableBiMap
101 public static <K, V> ImmutableBiMap<K, V> of( method in class:ImmutableBiMap
[all...]
H A DImmutableListMultimap.java6 * You may obtain a copy of the License at
38 * a <i>view</i> of a separate multimap which can still change, an instance of
42 * you easily make a "defensive copy" of a multimap provided to your class by
46 * it has no public or protected constructors. Thus, instances of this class
60 public static <K, V> ImmutableListMultimap<K, V> of() { method in class:ImmutableListMultimap
67 public static <K, V> ImmutableListMultimap<K, V> of(K k1, V v1) { method in class:ImmutableListMultimap
77 public static <K, V> ImmutableListMultimap<K, V> of(K k1, V v1, K k2, V v2) { method in class:ImmutableListMultimap
88 public static <K, V> ImmutableListMultimap<K, V> of( method in class:ImmutableListMultimap
101 public static <K, V> ImmutableListMultimap<K, V> of( method in class:ImmutableListMultimap
115 public static <K, V> ImmutableListMultimap<K, V> of( method in class:ImmutableListMultimap
[all...]
H A DImmutableMap.java6 * You may obtain a copy of the License at
37 * <p>Unlike {@link Collections#unmodifiableMap}, which is a <i>view</i> of a
38 * separate map which can still change, an instance of {@code ImmutableMap}
41 * lets you easily make a "defensive copy" of a map provided to your class by a
47 * having your element type cache its own hash codes, and by making use of the
60 * and maintainability of your code.
64 public static <K, V> ImmutableMap<K, V> of() { method in class:ImmutableMap
72 * maintainability of your code.
74 public static <K, V> ImmutableMap<K, V> of(K k1, V v1) { method in class:ImmutableMap
84 public static <K, V> ImmutableMap<K, V> of( method in class:ImmutableMap
93 public static <K, V> ImmutableMap<K, V> of( method in class:ImmutableMap
104 public static <K, V> ImmutableMap<K, V> of( method in class:ImmutableMap
115 public static <K, V> ImmutableMap<K, V> of( method in class:ImmutableMap
[all...]
H A DImmutableMultiset.java6 * You may obtain a copy of the License at
39 * <p>Its iterator orders elements according to the first appearance of the
41 * multiset contains multiple instances of an element, those instances are
58 public static <E> ImmutableMultiset<E> of() { method in class:ImmutableMultiset
69 public static <E> ImmutableMultiset<E> of(E element) { method in class:ImmutableMultiset
80 public static <E> ImmutableMultiset<E> of(E e1, E e2) { method in class:ImmutableMultiset
91 public static <E> ImmutableMultiset<E> of(E e1, E e2, E e3) { method in class:ImmutableMultiset
102 public static <E> ImmutableMultiset<E> of(E e1, E e2, E e3, E e4) { method in class:ImmutableMultiset
113 public static <E> ImmutableMultiset<E> of(E e1, E e2, E e3, E e4, E e5) { method in class:ImmutableMultiset
124 public static <E> ImmutableMultiset<E> of( method in class:ImmutableMultiset
146 public static <E> ImmutableMultiset<E> of(E[] elements) { method in class:ImmutableMultiset
[all...]
H A DImmutableSet.java6 * You may obtain a copy of the License at
39 * <p>Unlike {@link Collections#unmodifiableSet}, which is a <i>view</i> of a
40 * separate collection that can still change, an instance of this class contains
43 * easily make a "defensive copy" of a set provided to your class by a caller.
58 * instances of this type are guaranteed to be immutable.
73 * and maintainability of your code.
77 public static <E> ImmutableSet<E> of() { method in class:ImmutableSet
85 * maintainability of your code.
87 public static <E> ImmutableSet<E> of(E element) { method in class:ImmutableSet
93 * occurrences of a
98 public static <E> ImmutableSet<E> of(E e1, E e2) { method in class:ImmutableSet
109 public static <E> ImmutableSet<E> of(E e1, E e2, E e3) { method in class:ImmutableSet
120 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4) { method in class:ImmutableSet
131 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5) { method in class:ImmutableSet
143 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5, E e6, method in class:ImmutableSet
[all...]
H A DImmutableSetMultimap.java6 * You may obtain a copy of the License at
43 * a <i>view</i> of a separate multimap which can still change, an instance of
47 * you easily make a "defensive copy" of a multimap provided to your class by
51 * it has no public or protected constructors. Thus, instances of this class
65 public static <K, V> ImmutableSetMultimap<K, V> of() { method in class:ImmutableSetMultimap
72 public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1) { method in class:ImmutableSetMultimap
80 * Repeated occurrences of an entry (according to {@link Object#equals}) after
83 public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1, K k2, V v2) { method in class:ImmutableSetMultimap
92 * Repeated occurrences of a
95 public static <K, V> ImmutableSetMultimap<K, V> of( method in class:ImmutableSetMultimap
109 public static <K, V> ImmutableSetMultimap<K, V> of( method in class:ImmutableSetMultimap
124 public static <K, V> ImmutableSetMultimap<K, V> of( method in class:ImmutableSetMultimap
[all...]
H A DImmutableSortedMultiset.java5 * in compliance with the License. You may obtain a copy of the License at
32 * are ordered by an explicit comparator, while others follow the natural sort ordering of their
35 * <p>Unlike {@link Multisets#unmodifiableSortedMultiset}, which is a <i>view</i> of a separate
36 * collection that can still change, an instance of {@code ImmutableSortedMultiset} contains its
38 * final} multisets ("constant multisets") and also lets you easily make a "defensive copy" of a
57 * With natural ordering of elements, the following relation determines whether two elements are
70 * protected constructors. Thus, instances of this type are guaranteed to be immutable.
88 public static <E> ImmutableSortedMultiset<E> of() { method in class:ImmutableSortedMultiset
95 public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> of(E element) { method in class:ImmutableSortedMultiset
97 NATURAL_ORDER, ImmutableList.of(Multiset
107 public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> of(E e1, E e2) { method in class:ImmutableSortedMultiset
118 public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> of(E e1, E e2, E e3) { method in class:ImmutableSortedMultiset
129 public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> of( method in class:ImmutableSortedMultiset
141 public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> of( method in class:ImmutableSortedMultiset
153 public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> of( method in class:ImmutableSortedMultiset
[all...]
H A DImmutableSortedSet.java6 * You may obtain a copy of the License at
41 * natural sort ordering of their elements. Either way, null elements are not
45 * of a separate collection that can still change, an instance of {@code
48 * ("constant sets") and also lets you easily make a "defensive copy" of a set
67 * With natural ordering of elements, the following relation determines whether
78 * it has no public or protected constructors. Thus, instances of this type are
115 public static <E> ImmutableSortedSet<E> of() { method in class:ImmutableSortedSet
122 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( method in class:ImmutableSortedSet
125 ImmutableList.of(elemen
136 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( method in class:ImmutableSortedSet
149 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( method in class:ImmutableSortedSet
162 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( method in class:ImmutableSortedSet
175 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( method in class:ImmutableSortedSet
189 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( method in class:ImmutableSortedSet
[all...]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DImmutableBiMap.java6 * You may obtain a copy of the License at
23 * GWT emulation of {@link ImmutableBiMap}.
35 public static <K, V> ImmutableBiMap<K, V> of() { method in class:ImmutableBiMap
39 public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1) { method in class:ImmutableBiMap
40 return new RegularImmutableBiMap<K, V>(ImmutableMap.of(k1, v1));
43 public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2) { method in class:ImmutableBiMap
44 return new RegularImmutableBiMap<K, V>(ImmutableMap.of(k1, v1, k2, v2));
47 public static <K, V> ImmutableBiMap<K, V> of( method in class:ImmutableBiMap
49 return new RegularImmutableBiMap<K, V>(ImmutableMap.of(
53 public static <K, V> ImmutableBiMap<K, V> of( method in class:ImmutableBiMap
59 public static <K, V> ImmutableBiMap<K, V> of( method in class:ImmutableBiMap
[all...]
H A DImmutableListMultimap.java6 * You may obtain a copy of the License at
33 * a <i>view</i> of a separate multimap which can still change, an instance of
37 * you easily make a "defensive copy" of a multimap provided to your class by
41 * it has no public or protected constructors. Thus, instances of this class
55 public static <K, V> ImmutableListMultimap<K, V> of() { method in class:ImmutableListMultimap
62 public static <K, V> ImmutableListMultimap<K, V> of(K k1, V v1) { method in class:ImmutableListMultimap
72 public static <K, V> ImmutableListMultimap<K, V> of(K k1, V v1, K k2, V v2) { method in class:ImmutableListMultimap
83 public static <K, V> ImmutableListMultimap<K, V> of( method in class:ImmutableListMultimap
96 public static <K, V> ImmutableListMultimap<K, V> of( method in class:ImmutableListMultimap
110 public static <K, V> ImmutableListMultimap<K, V> of( method in class:ImmutableListMultimap
[all...]
H A DImmutableList.java6 * You may obtain a copy of the License at
35 * GWT emulated version of {@link ImmutableList}.
56 public static <E> ImmutableList<E> of() { method in class:ImmutableList
60 public static <E> ImmutableList<E> of(E element) { method in class:ImmutableList
64 public static <E> ImmutableList<E> of(E e1, E e2) { method in class:ImmutableList
69 public static <E> ImmutableList<E> of(E e1, E e2, E e3) { method in class:ImmutableList
74 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4) { method in class:ImmutableList
79 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5) { method in class:ImmutableList
84 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5, E e6) { method in class:ImmutableList
89 public static <E> ImmutableList<E> of( method in class:ImmutableList
95 public static <E> ImmutableList<E> of( method in class:ImmutableList
101 public static <E> ImmutableList<E> of( method in class:ImmutableList
107 public static <E> ImmutableList<E> of( method in class:ImmutableList
113 public static <E> ImmutableList<E> of( method in class:ImmutableList
119 public static <E> ImmutableList<E> of( method in class:ImmutableList
129 public static <E> ImmutableList<E> of(E[] elements) { method in class:ImmutableList
[all...]
H A DImmutableMap.java6 * You may obtain a copy of the License at
31 * GWT emulation of {@link ImmutableMap}. For non sorted maps, it is a thin
68 public static <K, V> ImmutableMap<K, V> of() { method in class:ImmutableMap
72 public static <K, V> ImmutableMap<K, V> of(K k1, V v1) { method in class:ImmutableMap
77 public static <K, V> ImmutableMap<K, V> of(K k1, V v1, K k2, V v2) { method in class:ImmutableMap
81 public static <K, V> ImmutableMap<K, V> of( method in class:ImmutableMap
87 public static <K, V> ImmutableMap<K, V> of( method in class:ImmutableMap
93 public static <K, V> ImmutableMap<K, V> of( method in class:ImmutableMap
99 // looking for of() with > 5 entries? Use the builder instead.
148 return of();
[all...]
H A DImmutableMultimap.java6 * You may obtain a copy of the License at
41 * a <i>view</i> of a separate multimap which can still change, an instance of
45 * you easily make a "defensive copy" of a multimap provided to your class by
49 * it has no public or protected constructors. Thus, instances of this class
64 public static <K, V> ImmutableMultimap<K, V> of() { method in class:ImmutableMultimap
65 return ImmutableListMultimap.of();
71 public static <K, V> ImmutableMultimap<K, V> of(K k1, V v1) { method in class:ImmutableMultimap
72 return ImmutableListMultimap.of(k1, v1);
78 public static <K, V> ImmutableMultimap<K, V> of( method in class:ImmutableMultimap
85 public static <K, V> ImmutableMultimap<K, V> of( method in class:ImmutableMultimap
93 public static <K, V> ImmutableMultimap<K, V> of( method in class:ImmutableMultimap
101 public static <K, V> ImmutableMultimap<K, V> of( method in class:ImmutableMultimap
[all...]
H A DImmutableSetMultimap.java6 * You may obtain a copy of the License at
38 * a <i>view</i> of a separate multimap which can still change, an instance of
42 * you easily make a "defensive copy" of a multimap provided to your class by
46 * it has no public or protected constructors. Thus, instances of this class
60 public static <K, V> ImmutableSetMultimap<K, V> of() { method in class:ImmutableSetMultimap
67 public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1) { method in class:ImmutableSetMultimap
75 * Repeated occurrences of an entry (according to {@link Object#equals}) after
78 public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1, K k2, V v2) { method in class:ImmutableSetMultimap
87 * Repeated occurrences of a
90 public static <K, V> ImmutableSetMultimap<K, V> of( method in class:ImmutableSetMultimap
104 public static <K, V> ImmutableSetMultimap<K, V> of( method in class:ImmutableSetMultimap
119 public static <K, V> ImmutableSetMultimap<K, V> of( method in class:ImmutableSetMultimap
[all...]
H A DImmutableSortedMap.java6 * You may obtain a copy of the License at
31 * GWT emulated version of {@link ImmutableSortedMap}. It's a thin wrapper
53 // of the map that needs to be serialized.
60 // The comparator used by this map. It's the same as that of sortedDelegate,
62 // non-null instance of Ordering.natural().
88 public static <K, V> ImmutableSortedMap<K, V> of() { method in class:ImmutableSortedMap
93 of(K k1, V v1) { method in class:ImmutableSortedMap
98 of(K k1, V v1, K k2, V v2) { method in class:ImmutableSortedMap
104 of(K k1, V v1, K k2, V v2, K k3, V v3) { method in class:ImmutableSortedMap
110 of( method in class:ImmutableSortedMap
116 of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5) { method in class:ImmutableSortedMap
[all...]
/external/guava/guava-tests/test/com/google/common/collect/
H A DImmutableSetTest.java6 * You may obtain a copy of the License at
42 @Override protected Set<String> of() { method in class:ImmutableSetTest
43 return ImmutableSet.of();
46 @Override protected Set<String> of(String e) { method in class:ImmutableSetTest
47 return ImmutableSet.of(e);
50 @Override protected Set<String> of(String e1, String e2) { method in class:ImmutableSetTest
51 return ImmutableSet.of(e1, e2);
54 @Override protected Set<String> of(String e1, String e2, String e3) { method in class:ImmutableSetTest
55 return ImmutableSet.of(e1, e2, e3);
58 @Override protected Set<String> of( method in class:ImmutableSetTest
63 @Override protected Set<String> of( method in class:ImmutableSetTest
68 @Override protected Set<String> of(String e1, String e2, String e3, method in class:ImmutableSetTest
[all...]
/external/javassist/src/main/javassist/bytecode/
H A DAccessFlag.java5 * 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.
119 public static int of(int modifier) { method in class:AccessFlag
/external/mockito/src/org/mockito/internal/util/collections/
H A DHashCodeAndEqualsSafeSet.java3 * This program is made available under the terms of the MIT License.
63 return backingHashSet.contains(HashCodeAndEqualsMockWrapper.of(mock));
67 return backingHashSet.add(HashCodeAndEqualsMockWrapper.of(mock));
71 return backingHashSet.remove(HashCodeAndEqualsMockWrapper.of(mock));
136 hashSet.add(HashCodeAndEqualsMockWrapper.of(mock));
145 public static HashCodeAndEqualsSafeSet of(Object... mocks) { method in class:HashCodeAndEqualsSafeSet
146 return of(Arrays.asList(mocks));
149 public static HashCodeAndEqualsSafeSet of(Iterable<Object> objects) { method in class:HashCodeAndEqualsSafeSet
/external/okhttp/okio/src/main/java/okio/
H A DByteString.java6 * You may obtain a copy of the License at
27 * An immutable sequence of bytes.
32 * violating the immutable guarantee of this class. For this reason a byte
42 public static final ByteString EMPTY = ByteString.of();
53 * Returns a new byte string containing a clone of the bytes of {@code data}.
55 public static ByteString of(byte... data) { method in class:ByteString
59 /** Returns a new byte string containing the {@code UTF-8} bytes of {@code s}. */
75 * href="http://www.ietf.org/rfc/rfc2045.txt">Base64</a>. In violation of the
84 * Returns null if {@code base64} is not a Base64-encoded sequence of byte
[all...]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
H A DImmutableClassDef.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
72 fields = ImmutableList.of();
75 methods = ImmutableList.of();
81 this.interfaces = interfaces==null ? ImmutableSet.<String>of() : ImmutableSet.copyOf(interfaces);
103 this.interfaces = interfaces==null ? ImmutableSet.<String>of() : ImmutableSet.copyOf(interfaces);
134 public static ImmutableClassDef of(ClassDe method in class:ImmutableClassDef
[all...]
/external/smali/util/src/main/java/org/jf/util/
H A DArraySortedSet.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
49 public static <T> ArraySortedSet<T> of(@Nonnull Comparator<? super T> comparator, @Nonnull T[] arr) { method in class:ArraySortedSet
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DBitSet.java9 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
32 /**A stripped-down version of org.antlr.misc.BitSet that is just
37 protected final static int BITS = 64; // number of bits / long
41 * turns out that, for powers of two, this mod operation is
50 /** Construct a bitset of size one word (64 bits) */
55 /** Construction from a static array of longs */
60 /** Construction from a list of integer
76 public static BitSet of(int el) { method in class:BitSet
82 public static BitSet of(int a, int b) { method in class:BitSet
89 public static BitSet of(int a, int b, int c) { method in class:BitSet
97 public static BitSet of(int a, int b, int c, int d) { method in class:BitSet
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
H A DBitSet.java9 * 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
41 * as opposed to oring and anding "in place". Further, a number of
48 * Also seems like or() from util is wrong when size of incoming set is bigger
54 protected final static int BITS = 64; // number of bits / long
58 * turns out that, for powers of two, this mod operation is
67 /** Construct a bitset of size one word (64 bits) */
72 /** Construction from a static array of long
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/chromium_org/third_party/cython/src/pyximport/
H A Dpyximport.py36 imports, including parts of the standard library and installed
37 packages. Cython will still fail to compile a lot of Python modules,
80 # mod time of the .pyx is newer than the mod time of the .so but
81 # the question is how to get distutils to tell me the name of the .so
137 # (it has a better idea of what the output file will be)
140 # some of the dependencies are newer than the pyxfile.
163 _debug("Rebuilding %s because of %s", pyxfilename, file)
309 # not found, normal package, not a .pyx file, none of our business
336 _debug("trying import of modul namespace
[all...]

Completed in 3394 milliseconds

1234567