Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for collections (0.31 sec)

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

      public void testToArrayEmpty() {
        Iterator<String> iterator = Collections.<String>emptyList().iterator();
        String[] array = Iterators.toArray(iterator, String.class);
        assertTrue(Arrays.equals(new String[0], array));
      }
    
      @GwtIncompatible // Iterators.toArray(Iterator, Class)
      public void testToArraySingleton() {
        Iterator<String> iterator = Collections.singletonList("a").iterator();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

          Collection<V> collection) {
        if (collection instanceof SortedSet) {
          return Collections.unmodifiableSortedSet((SortedSet<V>) collection);
        } else if (collection instanceof Set) {
          return Collections.unmodifiableSet((Set<V>) collection);
        } else if (collection instanceof List) {
          return Collections.unmodifiableList((List<V>) collection);
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                setPluginArtifacts(Collections.unmodifiableSet(project.getPluginArtifacts()));
            }
    
            if (project.getReportArtifacts() != null) {
                setReportArtifacts(Collections.unmodifiableSet(project.getReportArtifacts()));
            }
    
            if (project.getExtensionArtifacts() != null) {
                setExtensionArtifacts(Collections.unmodifiableSet(project.getExtensionArtifacts()));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IteratorsTest.java

      public void testToArrayEmpty() {
        Iterator<String> iterator = Collections.<String>emptyList().iterator();
        String[] array = Iterators.toArray(iterator, String.class);
        assertTrue(Arrays.equals(new String[0], array));
      }
    
      @GwtIncompatible // Iterators.toArray(Iterator, Class)
      public void testToArraySingleton() {
        Iterator<String> iterator = Collections.singletonList("a").iterator();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals(Collections.emptyMap(), map);
      }
    
      public void testConcurrentMap() {
        ConcurrentMap<Integer, Integer> map = Maps.newConcurrentMap();
        assertEquals(Collections.emptyMap(), map);
      }
    
      public void testTreeMap() {
        TreeMap<Integer, Integer> map = Maps.newTreeMap();
        assertEquals(Collections.emptyMap(), map);
        assertNull(map.comparator());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals(Collections.emptyMap(), map);
      }
    
      public void testConcurrentMap() {
        ConcurrentMap<Integer, Integer> map = Maps.newConcurrentMap();
        assertEquals(Collections.emptyMap(), map);
      }
    
      public void testTreeMap() {
        TreeMap<Integer, Integer> map = Maps.newTreeMap();
        assertEquals(Collections.emptyMap(), map);
        assertNull(map.comparator());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SetsTest.java

      private static final Collection<Integer> EMPTY_COLLECTION = Arrays.<Integer>asList();
    
      private static final Collection<Integer> SOME_COLLECTION = Arrays.asList(0, 1, 1);
    
      private static final Iterable<Integer> SOME_ITERABLE =
          new Iterable<Integer>() {
            @Override
            public Iterator<Integer> iterator() {
              return SOME_COLLECTION.iterator();
            }
          };
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

        checkNotNull(collection);
        return (collection instanceof EnumSet)
            ? EnumSet.complementOf((EnumSet<E>) collection)
            : makeComplementByHand(collection, type);
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      private static <E extends Enum<E>> EnumSet<E> makeComplementByHand(
          Collection<E> collection, Class<E> type) {
        EnumSet<E> result = EnumSet.allOf(type);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

            File pomFile;
    
            ModelBuilderRequest request;
    
            ModelBuilderResult result;
    
            MavenProject project;
    
            boolean root;
    
            List<InterimResult> modules = Collections.emptyList();
    
            ProjectBuildingResult projectBuildingResult;
    
            InterimResult(
                    File pomFile,
                    ModelBuilderRequest request,
                    ModelBuilderResult result,
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  10. .teamcity/test-buckets.json

    					"code-quality",
    					"signing",
    					"ide-native",
    					"plugins-java-library",
    					"antlr",
    					"ide-plugins",
    					"platform-base",
    					"test-kit",
    					"ide",
    					"file-collections",
    					"persistent-cache"
    				]
    			},
    			{
    				"parallelizationMethod":{
    					"name":"TestDistribution"
    				},
    				"subprojects":[
    					"kotlin-dsl-tooling-builders",
    Json
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed May 01 00:36:47 GMT 2024
    - 50.1K bytes
    - Viewed (0)
Back to top