Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,561 for collections (0.22 sec)

  1. 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)
  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-tests/test/com/google/common/collect/Collections2Test.java

        assertPermutationsCount(1, Collections2.permutations(Collections.<Integer>emptyList()));
        assertPermutationsCount(1, Collections2.permutations(newArrayList(1)));
        assertPermutationsCount(2, Collections2.permutations(newArrayList(1, 2)));
        assertPermutationsCount(6, Collections2.permutations(newArrayList(1, 2, 3)));
        assertPermutationsCount(5040, Collections2.permutations(newArrayList(1, 2, 3, 4, 5, 6, 7)));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/Collections2Test.java

        assertPermutationsCount(1, Collections2.permutations(Collections.<Integer>emptyList()));
        assertPermutationsCount(1, Collections2.permutations(newArrayList(1)));
        assertPermutationsCount(2, Collections2.permutations(newArrayList(1, 2)));
        assertPermutationsCount(6, Collections2.permutations(newArrayList(1, 2, 3)));
        assertPermutationsCount(5040, Collections2.permutations(newArrayList(1, 2, 3, 4, 5, 6, 7)));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  5. 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)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/scopes/Maven4ScopeManagerConfiguration.java

                    Collections.emptySet(),
                    Collections.emptySet(),
                    allDependencyScopes));
            result.add(internalScopeManager.createResolutionScope(
                    RS_MAIN_COMPILE,
                    InternalScopeManager.Mode.ELIMINATE,
                    singleton(CommonBuilds.PROJECT_PATH_MAIN, CommonBuilds.BUILD_PATH_COMPILE),
                    Collections.singletonList(system),
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Collections2.java

        }
    
        @Override
        public boolean removeAll(final Collection<?> collection) {
          return removeIf(collection::contains);
        }
    
        @Override
        public boolean retainAll(final Collection<?> collection) {
          return removeIf(element -> !collection.contains(element));
        }
    
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

      }
    
      protected Collection<Method> suppressForConcurrentLinkedDeque() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForConcurrentLinkedQueue() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForLinkedBlockingDeque() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForLinkedBlockingQueue() {
        return Collections.emptySet();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 9.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

      /**
       * For documenting collections that support no optional features, such as {@link
       * java.util.Collections#emptySet}
       */
      NONE;
    
      private final Set<Feature<? super Collection>> implied;
    
      CollectionFeature(Feature<? super Collection>... implied) {
        this.implied = Helpers.copyToSet(implied);
      }
    
      @Override
      public Set<Feature<? super Collection>> getImpliedFeatures() {
        return implied;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

        SORTED {
          @Override
          void arrange(List<Integer> list) {
            Collections.sort(list);
          }
        },
        ALMOST_SORTED {
          @Override
          void arrange(List<Integer> list) {
            Collections.sort(list);
            if (list.size() > 1) {
              int i = (list.size() - 1) / 2;
              Collections.swap(list, i, i + 1);
            }
          }
        },
        RANDOM {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.5K bytes
    - Viewed (0)
Back to top