Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 243 for immutable (0.26 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         */
        @Nonnull
        Optional<Path> getPath(Project project);
    
        /**
         * Returns an immutable collection of attached artifacts for given project.
         */
        @Nonnull
        Collection<Artifact> getAttachedArtifacts(Project project);
    
        /**
         * Returns project's all artifacts as immutable collection. The list contains all artifacts, even the attached ones,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Feb 09 17:13:31 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/PackageSanityTests.java

          ValueGraphBuilder.directed().allowsSelfLoops(true).expectedNodeCount(16);
    
      private static final ImmutableGraph<String> IMMUTABLE_GRAPH_A =
          GraphBuilder.directed().<String>immutable().addNode("A").build();
      private static final ImmutableGraph<String> IMMUTABLE_GRAPH_B =
          GraphBuilder.directed().<String>immutable().addNode("B").build();
    
      private static final NetworkBuilder<?, ?> NETWORK_BUILDER_A =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 19:24:25 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java

        // If add is supported, verify that IMMUTABLE is not reported.
        synchronized (collection) { // for Collections.synchronized
          assertFalse(collection.spliterator().hasCharacteristics(Spliterator.IMMUTABLE));
        }
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testSpliteratorNotImmutable_CollectionAllowsRemove() {
        // If remove is supported, verify that IMMUTABLE is not reported.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/PackageSanityTests.java

          ValueGraphBuilder.directed().allowsSelfLoops(true).expectedNodeCount(16);
    
      private static final ImmutableGraph<String> IMMUTABLE_GRAPH_A =
          GraphBuilder.directed().<String>immutable().addNode("A").build();
      private static final ImmutableGraph<String> IMMUTABLE_GRAPH_B =
          GraphBuilder.directed().<String>immutable().addNode("B").build();
    
      private static final NetworkBuilder<?, ?> NETWORK_BUILDER_A =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 19:24:25 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      }
    
      /**
       * Returns the empty immutable sorted multiset.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <E> ImmutableSortedMultiset<E> of() {
        return (ImmutableSortedMultiset) RegularImmutableSortedMultiset.NATURAL_EMPTY_MULTISET;
      }
    
      /** Returns an immutable sorted multiset containing a single element. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CacheControlTest.kt

            .maxStale(2.seconds)
            .minFresh(3.seconds)
            .onlyIfCached()
            .noTransform()
            .immutable()
            .build()
        assertThat(cacheControl.toString()).isEqualTo(
          "no-cache, no-store, max-age=1, max-stale=2, min-fresh=3, only-if-cached, no-transform, immutable",
        )
        assertThat(cacheControl.noCache).isTrue()
        assertThat(cacheControl.noStore).isTrue()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

            if (minFreshSeconds != -1) append("min-fresh=").append(minFreshSeconds).append(", ")
            if (onlyIfCached) append("only-if-cached, ")
            if (noTransform) append("no-transform, ")
            if (immutable) append("immutable, ")
            if (isEmpty()) return ""
            deleteRange(length - 2, length)
          }
        headerValue = result
      }
      return result
    }
    
    internal fun Long.commonClampToInt(): Int {
      return when {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableTable.java

      }
    
      /**
       * Returns an empty immutable table.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <R, C, V> ImmutableTable<R, C, V> of() {
        return (ImmutableTable<R, C, V>) SparseImmutableTable.EMPTY;
      }
    
      /** Returns an immutable table containing a single cell. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 17.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        if (actualIterator.hasNext()) {
          fail("index " + i + ", expected is exhausted, actual <" + actualIterator.next() + ">");
        }
      }
    
      /**
       * Verifies that a collection is immutable.
       *
       * <p>A collection is considered immutable if:
       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 15K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CollectCollectors.java

      private static final Collector<Object, ?, ImmutableList<Object>> TO_IMMUTABLE_LIST =
          Collector.of(
              ImmutableList::builder,
              ImmutableList.Builder::add,
              ImmutableList.Builder::combine,
              ImmutableList.Builder::build);
    
      private static final Collector<Object, ?, ImmutableSet<Object>> TO_IMMUTABLE_SET =
          Collector.of(
              ImmutableSet::builder,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 17.2K bytes
    - Viewed (0)
Back to top