Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 54 for V2 (0.12 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        return e1().getKey();
      }
    
      protected final V v1() {
        return e1().getValue();
      }
    
      protected final K k2() {
        return e2().getKey();
      }
    
      protected final V v2() {
        return e2().getValue();
      }
    
      protected final K k3() {
        return e3().getKey();
      }
    
      protected final V v3() {
        return e3().getValue();
      }
    
      protected final K k4() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

        Collector<Cell<String, String, Integer>, ?, ImmutableTable<String, String, Integer>> collector =
            TableCollectors.toImmutableTable(
                Cell::getRowKey, Cell::getColumnKey, Cell::getValue, (v1, v2) -> null);
        try {
          Stream.of(immutableCell("one", "uno", 1), immutableCell("one", "uno", 2)).collect(collector);
          fail("Expected NullPointerException");
        } catch (NullPointerException expected) {
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .addValue(Arrays.asList("C"))
                .addValue(Arrays.asList())
                .add(SHORT_NAME, Collections.singletonMap("k1", "v1"))
                .add(LONG_NAME, Collections.singletonMap("k2", "v2"))
                .addValue(Collections.singletonMap("k3", "v3"))
                .addValue(Collections.emptyMap())
                .addValue(null)
                .add(SHORT_NAME, java.util.Optional.of("1"))
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 14 22:05:11 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        <V1, V2, U> ClosingFunction2<V1, V2, U> waitFor(ClosingFunction2<V1, V2, U> closingFunction2) {
          return waitFor(closingFunction2, ClosingFunction2.class);
        }
    
        @SuppressWarnings("unchecked") // proxy for a generic class
        <V1, V2, U> AsyncClosingFunction2<V1, V2, U> waitFor(
            AsyncClosingFunction2<V1, V2, U> asyncClosingFunction2) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CollectCollectors.java

        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        return Collector.of(
            () ->
                new EnumMapAccumulator<K, V>(
                    (v1, v2) -> {
                      throw new IllegalArgumentException("Multiple values for key: " + v1 + ", " + v2);
                    }),
            (accum, t) -> {
              /*
               * We assign these to variables before calling checkNotNull to work around a bug in our
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(SEVERAL)
      public void testForcePutKeyAndValuePresent() {
        getMap().forcePut(k0(), v1());
        expectContents(Helpers.mapEntry(k0(), v1()), Helpers.mapEntry(k2(), v2()));
        assertEquals(2, getMap().size());
        assertFalse(getMap().containsKey(k1()));
        assertFalse(getMap().containsValue(v0()));
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java

        assertEmpty(result);
    
        assertTrue(result.add(v1()));
        assertTrue(result.add(v2()));
    
        assertContentsAnyOrder(result, v1(), v2());
        assertContentsAnyOrder(multimap().get(k0()), v1(), v2());
        assertTrue(multimap().containsKey(k0()));
        assertFalse(multimap().containsEntry(k0(), v0()));
        assertTrue(multimap().containsEntry(k0(), v2()));
        assertEquals(oldSize + 1, multimap().size());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Nov 16 17:41:24 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Tables.java

        }
    
        @Override
        Collection<V2> createValues() {
          return Collections2.transform(fromTable.values(), function);
        }
    
        @Override
        public Map<R, Map<C, V2>> rowMap() {
          Function<Map<C, V1>, Map<C, V2>> rowFunction =
              new Function<Map<C, V1>, Map<C, V2>>() {
                @Override
                public Map<C, V2> apply(Map<C, V1> row) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 22:45:41 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *     the arguments, or if any has already been {@linkplain #finishToFuture() finished}
       */
      public static <V1 extends @Nullable Object, V2 extends @Nullable Object>
          Combiner2<V1, V2> whenAllSucceed(ClosingFuture<V1> future1, ClosingFuture<V2> future2) {
        return new Combiner2<>(future1, future2);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        return e1().getKey();
      }
    
      protected final V v1() {
        return e1().getValue();
      }
    
      protected final K k2() {
        return e2().getKey();
      }
    
      protected final V v2() {
        return e2().getValue();
      }
    
      protected final K k3() {
        return e3().getKey();
      }
    
      protected final V v3() {
        return e3().getValue();
      }
    
      protected final K k4() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
Back to top