Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 248 for AsMap (0.05 sec)

  1. platforms/extensibility/plugin-development/src/test/groovy/org/gradle/plugin/devel/tasks/internal/ValidationProblemSerializationTest.groovy

            deserialized[0].definition.id.name == "id"
            deserialized[0].definition.id.displayName == "label"
            deserialized[0].additionalData instanceof GeneralData
            (deserialized[0].additionalData as GeneralData).asMap == ['foo' : 'bar']
        }
    
        def "can serialize deprecation additional data"() {
            given:
            def problem = problemReporter.create {
                it.id("id", "label")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 08:30:15 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/configurer/HierarchicalElementDeduplicator.java

            }
    
            private Set<String> getDuplicateNames() {
                Set<String> duplicates = new LinkedHashSet<>();
                for (Entry<String, Collection<T>> entry : elementsByName.asMap().entrySet()) {
                    if (entry.getValue().size() > 1) {
                        duplicates.add(entry.getKey());
                    }
                }
                return duplicates;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/ImmutableGraph.java

        return graph.isDirected()
            ? DirectedGraphConnections.ofImmutable(node, graph.incidentEdges(node), edgeValueFn)
            : UndirectedGraphConnections.ofImmutable(
                Maps.asMap(graph.adjacentNodes(node), edgeValueFn));
      }
    
      @Override
      BaseGraph<N> delegate() {
        return backingGraph;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/NamedDomainObjectContainerDelegate.kt

            delegate.isEmpty()
    
        override fun remove(element: T): Boolean =
            delegate.remove(element)
    
        override fun getAsMap(): SortedMap<String, T> =
            delegate.asMap
    
        override fun getNames(): SortedSet<String> =
            delegate.names
    
        override fun getByName(name: String): T =
            delegate.getByName(name)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:18:33 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/AbstractCache.java

        throw new UnsupportedOperationException();
      }
    
      @Override
      public CacheStats stats() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public ConcurrentMap<K, V> asMap() {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Accumulates statistics during the operation of a {@link Cache} for presentation by {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/service/scopes/ExecutionGlobalServices.java

                    DisableCachingByDefault.class,
                    UntrackedTask.class,
                    RegistersSoftwareTypes.class
                ),
                ModifierAnnotationCategory.asMap(builder.build()),
                ImmutableSet.of(
                    "java",
                    "groovy",
                    "kotlin"
                ),
                ImmutableSet.of(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/Cache.java

       * concurrent use, but if the cache is modified (including by eviction) after the iterator is
       * created, it is undefined which of the changes (if any) will be reflected in that iterator.
       */
      ConcurrentMap<K, V> asMap();
    
      /**
       * Performs any pending maintenance operations needed by the cache. Exactly which activities are
       * performed -- if any -- is implementation-dependent.
       */
      void cleanUp();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

                    });
        }
    
        @PreDestroy
        public void destroy() {
            if (logger.isDebugEnabled()) {
                logger.debug("cache stats: {}", statsCache.stats());
            }
            statsCache.asMap().entrySet().stream().forEach(e -> {
                final StatsObject data = e.getValue();
                final Long begin = data.remove(BEGIN_KEY);
                if (begin != null) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

        return graph.isDirected()
            ? DirectedGraphConnections.ofImmutable(
                node, graph.incidentEdges(node), successorNodeToValueFn)
            : UndirectedGraphConnections.ofImmutable(
                Maps.asMap(graph.adjacentNodes(node), successorNodeToValueFn));
      }
    
      /**
       * A builder for creating {@link ImmutableValueGraph} instances, especially {@code static final}
       * graphs. Example:
       *
       * <pre>{@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

      }
    
      public void testOrderedAsMapEntries() {
        TreeMultimap<@Nullable String, @Nullable Integer> multimap = createPopulate();
        Iterator<Entry<String, Collection<Integer>>> iterator = multimap.asMap().entrySet().iterator();
        Entry<String, Collection<Integer>> entry = iterator.next();
        assertEquals(null, entry.getKey());
        assertThat(entry.getValue()).containsExactly(7, 3, 1);
        entry = iterator.next();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top