Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for hasSize (0.04 sec)

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

          String value = String.valueOf(i);
          builder.put(key, value);
          expected.put(key, value);
        }
        ImmutableMap<Integer, String> map = builder.buildKeepingLast();
        assertThat(map).hasSize(500);
        assertThat(map).containsExactlyEntriesIn(expected).inOrder();
      }
    
      // This method tests the int case.
      public void testBuildKeepingLast_bigTable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

          String value = String.valueOf(i);
          builder.put(key, value);
          expected.put(key, value);
        }
        ImmutableMap<Integer, String> map = builder.buildKeepingLast();
        assertThat(map).hasSize(500);
        assertThat(map).containsExactlyEntriesIn(expected).inOrder();
      }
    
      // This method tests the int case.
      public void testBuildKeepingLast_bigTable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        HashHostileComparable v2 = new HashHostileComparable("value2");
        builder.put("key", v1);
        builder.put("key", v2);
        assertThat(builder.build().entries()).hasSize(2);
      }
    
      public void testBuilder_withImmutableEntry() {
        ImmutableSetMultimap<String, Integer> multimap =
            new Builder<String, Integer>().put(Maps.immutableEntry("one", 1)).build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            if (cached != null
                    // if the POM has no file, we cached a missing artifact, only return the cached data if no update forced
                    && (!request.isForceUpdate() || hasFile(cached.getPomArtifact()))) {
                return cached;
            }
    
            List<Dependency> dependencies;
    
            List<Dependency> managedDependencies = null;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top