Searched defs:values (Results 276 - 300 of 969) sorted by relevance

<<11121314151617181920>>

/external/guava/guava/src/com/google/common/collect/
H A DForwardingTable.java133 public Collection<V> values() { method in class:ForwardingTable
134 return delegate().values();
H A DImmutableBiMap.java25 * not permit null keys or values. An {@code ImmutableBiMap} and its inverse
63 * @throws IllegalArgumentException if duplicate keys or values are added
72 * @throws IllegalArgumentException if duplicate keys or values are added
82 * @throws IllegalArgumentException if duplicate keys or values are added
93 * @throws IllegalArgumentException if duplicate keys or values are added
141 * keys or values are not allowed, and will cause {@link #build} to fail.
149 * Associates all of the given map's keys and values in the built bimap.
150 * Duplicate keys or values are not allowed, and will cause {@link #build}
163 * @throws IllegalArgumentException if duplicate keys or values were added
228 * Returns an immutable set of the values i
231 @Override public ImmutableSet<V> values() { method in class:ImmutableBiMap
[all...]
H A DImmutableRangeMap.java35 * <p>Like all {@code RangeMap} implementations, this supports neither null keys nor null values.
155 private final ImmutableList<V> values; field in class:ImmutableRangeMap
157 ImmutableRangeMap(ImmutableList<Range<K>> ranges, ImmutableList<V> values) { argument
159 this.values = values;
171 return range.contains(key) ? values.get(index) : null;
184 return range.contains(key) ? Maps.immutableEntry(range, values.get(index)) : null;
225 return new RegularImmutableSortedMap<Range<K>, V>(rangeSet, values);
269 subRanges, values.subList(lowerIndex, upperIndex)) {
H A DMultimap.java29 * A collection that maps keys to values, similar to {@link Map}, but in which
30 * each key may be associated with <i>multiple</i> values. You can visualize the
32 * collections of values:
51 * #values} collection is {@code [1, 2, 3]}, not {@code [[1, 2], [3]]}. For
86 * <li>{@link #keys}, {@link #keySet}, {@link #values}, {@link #entries}, which
89 * active view of the values corresponding to {@code key}
93 * {@link #removeAll removeAll} methods, which contain values that have just
125 * values has the effect of <i>removing</i> that key from the multimap.
128 * Collections.min(multimap.values())} finds the smallest value across all
230 * Stores a key-value pair in this multimap for each of {@code values}, al
242 putAll(@ullable K key, Iterable<? extends V> values) argument
264 replaceValues(@ullable K key, Iterable<? extends V> values) argument
328 Collection<V> values(); method in interface:Multimap
[all...]
H A DTable.java54 * @param <V> the type of the mapped values
176 * @return the corresponding map from column keys to values
190 * @return the corresponding map from row keys to values
205 * Returns a set of row keys that have one or more values in the table.
213 * Returns a set of column keys that have one or more values in the table.
221 * Returns a collection of all values, which may contain duplicates. Changes
225 * @return collection of values
227 Collection<V> values(); method in interface:Table
231 * column keys to values. Changes to the returned map will update this table.
240 * values
[all...]
/external/guava/guava/src/com/google/common/math/
H A DDoubleMath.java299 // Multiplying the last (n & 0xf) values into their own accumulator gives a more accurate
339 * <li>With {@link Double#POSITIVE_INFINITY} tolerance, all non-NaN values are fuzzily equal.
361 * Compares {@code a} and {@code b} "fuzzily," with a tolerance for nearly-equal values.
365 * {@link Double#compare(double, double)}, it treats all NaN values as equal and greater than all
366 * other values (including {@link Double#POSITIVE_INFINITY}).
400 checkArgument(count > 0, "Cannot take mean of 0 values");
406 * Returns the arithmetic mean of the values. There must be at least one value, and they must all
410 public static double mean(double... values) { argument
412 for (double value : values) {
419 * Returns the arithmetic mean of the values
423 mean(int... values) argument
437 mean(long... values) argument
451 mean(Iterable<? extends Number> values) argument
465 mean(Iterator<? extends Number> values) argument
[all...]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DImmutableBiMap.java113 @Override public ImmutableSet<V> values() { method in class:ImmutableBiMap
H A DImmutableListMultimap.java29 * iteration order. Does not permit null keys or values.
177 @Override public Builder<K, V> putAll(K key, Iterable<? extends V> values) { argument
178 super.putAll(key, values);
182 @Override public Builder<K, V> putAll(K key, V... values) { argument
183 super.putAll(key, values);
273 * Returns an immutable list of the values for the given key. If no mappings
275 * returned. The values are in the same order as the parameters used to build
329 K key, Iterable<? extends V> values) {
328 replaceValues( K key, Iterable<? extends V> values) argument
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DSampleElements.java93 SampleElements<K> keys, SampleElements<V> values) {
95 Helpers.mapEntry(keys.e0, values.e0),
96 Helpers.mapEntry(keys.e1, values.e1),
97 Helpers.mapEntry(keys.e2, values.e2),
98 Helpers.mapEntry(keys.e3, values.e3),
99 Helpers.mapEntry(keys.e4, values.e4));
92 mapEntries( SampleElements<K> keys, SampleElements<V> values) argument
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
H A DNavigableSetNavigationTester.java46 private List<E> values; field in class:NavigableSetNavigationTester
54 values = Helpers.copyToList(getSubjectGenerator().getSampleElements(
56 Collections.sort(values, navigableSet.comparator());
59 if (values.size() >= 1) {
60 a = values.get(0);
61 if (values.size() >= 3) {
62 b = values.get(1);
63 c = values.get(2);
124 values.subList(1, values
[all...]
/external/guava/guava-tests/benchmark/com/google/common/collect/
H A DMapBenchmark.java176 private Collection<Element> values; field in class:MapBenchmark
186 values = valueList;
188 values = sampleData.getValuesInSet();
190 this.mapToTest = impl.create(values);
214 dummy += impl.create(values).size();
/external/guava/guava-tests/test/com/google/common/collect/
H A DForwardingSortedMapTest.java84 @Override public Collection<V> values() { method in class:ForwardingSortedMapTest.StandardImplForwardingSortedMap
H A DMapsTransformValuesUnmodifiableIteratorTest.java74 @Override public Collection<V> values() { method in class:MapsTransformValuesUnmodifiableIteratorTest.UnmodifiableIteratorMap
77 return delegate.values();
80 return Iterators.unmodifiableIterator(delegate.values().iterator());
83 return delegate.values().removeAll(c);
86 return delegate.values().retainAll(c);
142 Collection<?> expectedValues = expected.values();
143 Collection<?> mapValues = map.values();
269 Collection<String> values = map.values();
270 values
[all...]
H A DSynchronizedMultimapTest.java136 Iterable<? extends V> values) {
138 return super.putAll(key, values);
147 Iterable<? extends V> values) {
149 return super.replaceValues(key, values);
180 @Override public Collection<V> values() { method in class:SynchronizedMultimapTest.TestMultimap
183 return super.values();
135 putAll(@ullable K key, Iterable<? extends V> values) argument
146 replaceValues(@ullable K key, Iterable<? extends V> values) argument
/external/harfbuzz_ng/src/
H A Dgen-indic-table.py38 values = [{} for f in files] variable
61 values[i][t] = values[i].get (t, 0) + end - start + 1
66 values[i][v] = values[i].get (v, 0) + 1
106 # Shorten values
123 # Add some of the values, to make them more readable, and to avoid duplicates
134 vv = values[i].keys ()
149 values[i][v], v)
250 vv = values[
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
H A DSimpleFormatterImpl.java42 * Segment length char values are from ARG_NUM_LIMIT+1 to this value here.
185 * Formats the given values.
189 public static String formatCompiledPattern(String compiledPattern, CharSequence... values) { argument
190 return formatAndAppend(compiledPattern, new StringBuilder(), null, values).toString();
194 * Formats the not-compiled pattern with the given values.
205 public static String formatRawPattern(String pattern, int min, int max, CharSequence... values) { argument
209 return formatAndAppend(compiledPattern, sb, null, values).toString();
213 * Formats the given values, appending to the appendTo builder.
216 * @param appendTo Gets the formatted pattern and values appended.
218 * values[
227 formatAndAppend( String compiledPattern, StringBuilder appendTo, int[] offsets, CharSequence... values) argument
252 formatAndReplace( String compiledPattern, StringBuilder result, int[] offsets, CharSequence... values) argument
308 format( String compiledPattern, CharSequence[] values, StringBuilder result, String resultCopy, boolean forbidResultAsValue, int[] offsets) argument
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/
H A DXMLRecordWriter.java65 public void boolArray(String name, boolean[] values) { argument
66 if (values != null) {
67 String[] stringValues = new String[values.length];
68 for (int i = 0; i < values.length; ++i) {
69 stringValues[i] = String.valueOf(values[i]);
93 public void characterArray(String name, char[] values) { argument
94 if (values != null) {
95 String[] stringValues = new String[values.length];
96 for (int i = 0; i < values.length; ++i) {
97 char value = values[
116 namedIndexArray(String name, String[] names, byte[] values) argument
203 stringArray(String name, String[] values) argument
218 stringTable(String name, String[][] values) argument
[all...]
/external/icu/icu4c/source/layoutex/
H A DRunArrays.cpp215 le_int32 *values = (le_int32 *) fValues; local
217 values[index] = value;
/external/icu/icu4c/source/test/intltest/
H A Dsimpleformattertest.cpp140 UnicodeString *values[] = { local
146 assertEquals("{20}=b", "abc", fmt.formatAndAppend(values, 21, result, NULL, 0, status));
159 UnicodeString values[] = { local
162 &values[0], &values[1], &values[2], &values[3], &values[4], &values[5]};
292 errln("Expected U_ILLEGAL_ARGUMENT_ERROR: formatAndAppend() values
510 Formattable values[] = { x, y }; local
[all...]
/external/icu/icu4c/source/test/perf/unisetperf/draft/
H A Dbitset.cpp37 uint16_t values[0x800]; member in struct:BMPBitHash
43 // Fill values[] with 0xffff.
44 uprv_memset(values, 0xff, sizeof(values));
59 if(values[hash]==0xffff) {
63 return values[hash]=count++;
66 return values[hash];
78 * indexed by their mapped values.
/external/icu/icu4c/source/tools/toolutil/
H A Ddenseranges.cpp91 * @param values Sorted array of signed-integer values.
92 * @param length Number of values.
101 uprv_makeDenseRanges(const int32_t values[], int32_t length, argument
107 int32_t minValue=values[0];
108 int32_t maxValue=values[length-1]; // Assume minValue<=maxValue.
128 int32_t actualValue=values[i];
134 // We know gaps.count()>=1 because we have fewer values (length) than
140 // The values are too sparse for capacity or fewer ranges
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DSimpleFormatterImpl.java40 * Segment length char values are from ARG_NUM_LIMIT+1 to this value here.
183 * Formats the given values.
187 public static String formatCompiledPattern(String compiledPattern, CharSequence... values) { argument
188 return formatAndAppend(compiledPattern, new StringBuilder(), null, values).toString();
192 * Formats the not-compiled pattern with the given values.
203 public static String formatRawPattern(String pattern, int min, int max, CharSequence... values) { argument
207 return formatAndAppend(compiledPattern, sb, null, values).toString();
211 * Formats the given values, appending to the appendTo builder.
214 * @param appendTo Gets the formatted pattern and values appended.
216 * values[
225 formatAndAppend( String compiledPattern, StringBuilder appendTo, int[] offsets, CharSequence... values) argument
250 formatAndReplace( String compiledPattern, StringBuilder result, int[] offsets, CharSequence... values) argument
306 format( String compiledPattern, CharSequence[] values, StringBuilder result, String resultCopy, boolean forbidResultAsValue, int[] offsets) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
H A DXMLRecordWriter.java61 public void boolArray(String name, boolean[] values) { argument
62 if (values != null) {
63 String[] stringValues = new String[values.length];
64 for (int i = 0; i < values.length; ++i) {
65 stringValues[i] = String.valueOf(values[i]);
89 public void characterArray(String name, char[] values) { argument
90 if (values != null) {
91 String[] stringValues = new String[values.length];
92 for (int i = 0; i < values.length; ++i) {
93 char value = values[
112 namedIndexArray(String name, String[] names, byte[] values) argument
199 stringArray(String name, String[] values) argument
214 stringTable(String name, String[][] values) argument
[all...]
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
H A DNGramList.java125 public Collection values() method in class:NGramList
127 return ngrams.values();
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
H A DEABProvider.java233 protected Uri insertInternal(SQLiteDatabase db, Uri uri, ContentValues values) { argument
247 values = verifyIfMdnExists(values);
249 logger.debug("Inserting to the table" + table + " values=" + values.toString());
251 final long id = db.insert(table, nullColumnHack, values);
253 String contactNumber = values.getAsString(EABContract.EABColumns.CONTACT_NUMBER);
325 protected int updateInternal(SQLiteDatabase db, Uri uri, ContentValues values, argument
355 if (table != null && values != null) {
356 logger.debug("Updating the table " + table + " values
[all...]

Completed in 480 milliseconds

<<11121314151617181920>>