Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for VALUES (0.14 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> putAll(K key, Iterable<? extends V> values) {
          super.putAll(key, values);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> putAll(K key, V... values) {
          return putAll(key, Arrays.asList(values));
        }
    
        @CanIgnoreReturnValue
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Comparators.java

          int k, Comparator<? super T> comparator) {
        return least(k, comparator.reversed());
      }
    
      /**
       * Returns the minimum of the two values. If the values compare as 0, the first is returned.
       *
       * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableRangeMap.java

        }
      }
    
      private final transient ImmutableList<Range<K>> ranges;
      private final transient ImmutableList<V> values;
    
      ImmutableRangeMap(ImmutableList<Range<K>> ranges, ImmutableList<V> values) {
        this.ranges = ranges;
        this.values = values;
      }
    
      @Override
      @CheckForNull
      public V get(K key) {
        int index =
            SortedLists.binarySearch(
                ranges,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/BooleansTest.java

      }
    
      public void testToArray_threadSafe() {
        // Only for booleans, we lengthen VALUES
        boolean[] VALUES = BooleansTest.VALUES;
        VALUES = Booleans.concat(VALUES, VALUES);
    
        for (int delta : new int[] {+1, 0, -1}) {
          for (int i = 0; i < VALUES.length; i++) {
            List<Boolean> list = Booleans.asList(VALUES).subList(0, i);
            Collection<Boolean> misleadingSize = Helpers.misleadingSizeCollection(delta);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

      }
    
      public void testToArray_threadSafe() {
        // Only for booleans, we lengthen VALUES
        boolean[] VALUES = BooleansTest.VALUES;
        VALUES = Booleans.concat(VALUES, VALUES);
    
        for (int delta : new int[] {+1, 0, -1}) {
          for (int i = 0; i < VALUES.length; i++) {
            List<Boolean> list = Booleans.asList(VALUES).subList(0, i);
            Collection<Boolean> misleadingSize = Helpers.misleadingSizeCollection(delta);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          this.values = new @Nullable Object[initialCapacity];
        }
    
        private void ensureCapacity(int minCapacity) {
          if (minCapacity > keys.length) {
            int newCapacity = ImmutableCollection.Builder.expandedCapacity(keys.length, minCapacity);
            this.keys = Arrays.copyOf(keys, newCapacity);
            this.values = Arrays.copyOf(values, newCapacity);
          }
        }
    
        /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        SerializableTester.reserializeAndAssert(multimap.asMap());
        Collection<Integer> valuesCopy = SerializableTester.reserialize(multimap.values());
        assertEquals(HashMultiset.create(multimap.values()), HashMultiset.create(valuesCopy));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testEmptySerialization() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * buildOrThrow() will still throw as if the duplicates had not been eliminated. And the exception
       * message must mention two values that were associated with the duplicate key in two different
       * calls to Builder.put (though we don't really care *which* two values if there were more than
       * two). These considerations lead us to have a field of type DuplicateKey in the Builder, which
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        SerializableTester.reserializeAndAssert(multimap.asMap());
        Collection<Integer> valuesCopy = SerializableTester.reserialize(multimap.values());
        assertEquals(HashMultiset.create(multimap.values()), HashMultiset.create(valuesCopy));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testEmptySerialization() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapImplementsMapTest.java

        } catch (RuntimeException tolerated) {
          // GWT's TreeMap.values().removeAll(null) doesn't throws NPE.
        }
      }
    
      @Override
      public void testValuesRetainAllNullFromEmpty() {
        try {
          super.testValuesRemoveAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's TreeMap.values().retainAll(null) doesn't throws NPE.
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top