Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for _values (0.23 sec)

  1. guava-tests/test/com/google/common/collect/SetsTest.java

                        return Sets.union(set1, set2);
                      }
                    })
                .named("Sets.union")
                .withFeatures(CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/IteratorsTest.java

                    };
                  }
                })
            .named("ArrayList with Iterators.removeAll and retainAll")
            .withFeatures(
                ListFeature.GENERAL_PURPOSE, CollectionFeature.ALLOWS_NULL_VALUES, CollectionSize.ANY)
            .createTestSuite();
      }
    
      public void testConsumingIterator() {
        // Test data
        List<String> list = Lists.newArrayList("a", "b");
    
        // Test & Verify
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

         * comparator (which might be the keys' natural order), are not allowed, and will cause {@link
         * #build} to fail.
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> put(K key, V value) {
          ensureCapacity(size + 1);
          checkEntryNotNull(key, value);
          keys[size] = key;
          values[size] = value;
          size++;
    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)
  4. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        for (Entry<Object, Object> entry : result.entrySet()) {
          Object key = entry.getKey();
          Object value = entry.getValue();
          assertSame(value, result.get(key));
          assertNull(result.get(value));
          assertSame(value, cache.asMap().get(key));
          assertSame(key, cache.asMap().get(value));
        }
      }
    
      public void testBulkLoad_clobber() throws ExecutionException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Preconditions.java

     *
     * <pre>{@code
     * public static double sqrt(double value) {
     *   if (value < 0) {
     *     throw new IllegalArgumentException("input is negative: " + value);
     *   }
     *   // calculate square root
     * }
     * }</pre>
     *
     * <p>to be replaced with the more compact
     *
     * <pre>{@code
     * public static double sqrt(double value) {
     *   checkArgument(value >= 0, "input is negative: %s", value);
     *   // calculate square root
     * }
     * }</pre>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                    ClosingFuture.from(immediateFuture("value2")),
                    ClosingFuture.from(immediateFuture("value3")),
                    ClosingFuture.from(immediateFuture("value4")),
                    ClosingFuture.from(immediateFuture("value5")))
                .call(
                    new ClosingFunction5<
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

                    };
                  }
                })
            .named("ArrayList with Iterators.removeAll and retainAll")
            .withFeatures(
                ListFeature.GENERAL_PURPOSE, CollectionFeature.ALLOWS_NULL_VALUES, CollectionSize.ANY)
            .createTestSuite();
      }
    
      public void testConsumingIterator() {
        // Test data
        List<String> list = Lists.newArrayList("a", "b");
    
        // Test & Verify
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().size();
          }
        }
    
        @Override
        public Collection<V> values() {
          synchronized (mutex) {
            if (values == null) {
              values = collection(delegate().values(), mutex);
            }
            return values;
          }
        }
    
        @Override
        public boolean equals(@CheckForNull Object o) {
          if (o == this) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapsTest.java

        ensureNotDirectlyModifiable(unmod.tailMap(2, true));
    
        Collection<String> values = unmod.values();
        try {
          values.add("4");
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          values.remove("four");
          fail("UnsupportedOperationException expected");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MapsTest.java

        ensureNotDirectlyModifiable(unmod.tailMap(2, true));
    
        Collection<String> values = unmod.values();
        try {
          values.add("4");
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          values.remove("four");
          fail("UnsupportedOperationException expected");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
Back to top