Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 225 for collections (0.16 sec)

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

        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForUnmodifiableMap() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForUnmodifiableSortedMap() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForEnumMap() {
        return Collections.emptySet();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 17K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForCheckedSet() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForCheckedSortedSet() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForAbstractSet() {
        return Collections.emptySet();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

      }
    
      private Collection<Method> suppressForEmptyNavigableMap() {
        return Collections.emptySet();
      }
    
      private Collection<Method> suppressForEmptySortedMap() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForSingletonMap() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForHashMap() {
        return Collections.emptySet();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Collections2.java

        StringBuilder sb = newStringBuilderForCollection(collection.size()).append('[');
        boolean first = true;
        for (Object o : collection) {
          if (!first) {
            sb.append(", ");
          }
          first = false;
          if (o == collection) {
            sb.append("(this Collection)");
          } else {
            sb.append(o);
          }
        }
        return sb.append(']').toString();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals(Collections.emptyList(), list);
      }
    
      public void testNewLinkedListFromCollection() {
        LinkedList<Integer> list = Lists.newLinkedList(SOME_COLLECTION);
        assertEquals(SOME_COLLECTION, list);
      }
    
      public void testNewLinkedListFromIterable() {
        LinkedList<Integer> list = Lists.newLinkedList(SOME_ITERABLE);
        assertEquals(SOME_COLLECTION, list);
      }
    
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

      }
    
      protected Collection<Method> suppressForSingletonSet() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForHashSet() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForLinkedHashSet() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForEnumSet() {
        return Collections.emptySet();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals(Collections.emptyList(), list);
      }
    
      public void testNewLinkedListFromCollection() {
        LinkedList<Integer> list = Lists.newLinkedList(SOME_COLLECTION);
        assertEquals(SOME_COLLECTION, list);
      }
    
      public void testNewLinkedListFromIterable() {
        LinkedList<Integer> list = Lists.newLinkedList(SOME_ITERABLE);
        assertEquals(SOME_COLLECTION, list);
      }
    
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterable<String> iterable = Collections.singletonList("foo");
        assertEquals("foo", Iterables.getLast(iterable, "bar"));
      }
    
      public void testGetLast_withDefault_empty() {
        Iterable<String> iterable = Collections.emptyList();
        assertEquals("bar", Iterables.getLast(iterable, "bar"));
      }
    
      public void testGetLast_withDefault_empty_null() {
        Iterable<String> iterable = Collections.emptyList();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    .getOrDefault(artifact.getGroupId(), Collections.emptyMap())
                    .getOrDefault(artifact.getArtifactId(), Collections.emptyMap())
                    .values()
                    .stream()
                    .map(MavenProject::getVersion)
                    .collect(Collectors.collectingAndThen(Collectors.toList(), Collections::unmodifiableList));
            if (!versions.isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

                Collections.synchronizedMap(new WeakHashMap<>());
        private final Map<org.eclipse.aether.artifact.Artifact, Artifact> allArtifacts =
                Collections.synchronizedMap(new WeakHashMap<>());
        private final Map<org.eclipse.aether.repository.RemoteRepository, RemoteRepository> allRepositories =
                Collections.synchronizedMap(new WeakHashMap<>());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 27.2K bytes
    - Viewed (0)
Back to top