Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for v2 (0.18 sec)

  1. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  2. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Nov 16 17:41:24 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       *
       * @throws IllegalArgumentException if duplicate keys or values are added
       */
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2) {
        checkEntryNotNull(k1, v1);
        checkEntryNotNull(k2, v2);
        return new RegularImmutableBiMap<K, V>(new Object[] {k1, v1, k2, v2}, 2);
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 08 18:58:42 GMT 2023
    - 22K bytes
    - Viewed (0)
  4. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  5. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            assertEquals(c2, c1, "expected " + v2 + ".equals( " + v1 + " )");
        }
    
        private void checkVersionsHaveSameOrder(String v1, String v2) {
            ComparableVersion c1 = new ComparableVersion(v1);
            ComparableVersion c2 = new ComparableVersion(v2);
            assertEquals(0, c1.compareTo(c2), "expected " + v1 + " == " + v2);
            assertEquals(0, c2.compareTo(c1), "expected " + v2 + " == " + v1);
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

            graph.setEntry(v1);
            v2 = graph.addVertex(new ArtifactMetadata("g", "a2", "1.0"));
            v3 = graph.addVertex(new ArtifactMetadata("g", "a3", "1.0"));
            v4 = graph.addVertex(new ArtifactMetadata("g", "a4", "1.0"));
    
            // v1-->v2
            graph.addEdge(v1, v2, new MetadataGraphEdge("1.1", true, null, null, 2, 1));
            graph.addEdge(v1, v2, new MetadataGraphEdge("1.2", true, null, null, 2, 2));
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimaps.java

       * @since 7.0
       */
      public static <
              K extends @Nullable Object, V1 extends @Nullable Object, V2 extends @Nullable Object>
          Multimap<K, V2> transformValues(
              Multimap<K, V1> fromMultimap, final Function<? super V1, V2> function) {
        checkNotNull(function);
        EntryTransformer<K, V1, V2> transformer = Maps.asEntryTransformer(function);
        return transformEntries(fromMultimap, transformer);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 86.1K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2) {
        return new RegularImmutableBiMap<K, V>(ImmutableMap.of(k1, v1, k2, v2));
      }
    
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3) {
        return new RegularImmutableBiMap<K, V>(ImmutableMap.of(k1, v1, k2, v2, k3, v3));
      }
    
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMap.java

      public static <K, V> ImmutableMap<K, V> of(K k1, V v1, K k2, V v2) {
        return RegularImmutableMap.fromEntries(entryOf(k1, v1), entryOf(k2, v2));
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
       * @throws IllegalArgumentException if duplicate keys are provided
       */
      public static <K, V> ImmutableMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java

            graph.setEntry(v1);
            v2 = graph.addVertex(new ArtifactMetadata("g", "a2", "1.0"));
            v3 = graph.addVertex(new ArtifactMetadata("g", "a3", "1.0"));
            v4 = graph.addVertex(new ArtifactMetadata("g", "a4", "1.0"));
    
            // v1-->v2
            graph.addEdge(v1, v2, new MetadataGraphEdge("1.1", true, null, null, 2, 1));
            graph.addEdge(v1, v2, new MetadataGraphEdge("1.2", true, null, null, 2, 2));
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 8.1K bytes
    - Viewed (0)
Back to top