Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 135 for modifiable (0.19 sec)

  1. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      @Override
      public void adjacentEdges_checkReturnedSetMutability() {
        addEdge(N1, N2, E12);
        Set<String> adjacentEdges = network.adjacentEdges(E12);
        try {
          adjacentEdges.add(E23);
          fail(ERROR_MODIFIABLE_COLLECTION);
        } catch (UnsupportedOperationException e) {
          addEdge(N2, N3, E23);
          assertThat(network.adjacentEdges(E12)).containsExactlyElementsIn(adjacentEdges);
        }
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         */
        fun connectionPool(connectionPool: ConnectionPool) =
          apply {
            this.connectionPool = connectionPool
          }
    
        /**
         * Returns a modifiable list of interceptors that observe the full span of each call: from
         * before the connection is established (if any) until after the response source is selected
         * (either the origin server, cache, or both).
         */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

     * existing key-value pair has no effect.
     *
     * <p>Keys and values may be null. All optional multimap methods are supported, and all returned
     * views are modifiable.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent
     * read operations will work correctly. To allow concurrent update operations, wrap your multimap
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/LinkedListMultimap.java

     * through the iterator's methods, the results of the iteration are undefined.
     *
     * <p>Keys and values may be null. All optional multimap methods are supported, and all returned
     * views are modifiable.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent
     * read operations will work correctly. To allow concurrent update operations, wrap your multimap
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

        }
    
        /**
         * Scope the return type to {@link UnmodifiableIterator} to ensure this is an unmodifiable view.
         *
         * @since 20.0 (present with return type {@link Iterator} since 2.0)
         */
        @Override
        public abstract UnmodifiableIterator<E> iterator();
      }
    
      /**
       * Returns an unmodifiable <b>view</b> of the union of two sets. The returned set contains all
    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)
  6. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      private <T extends Comparable<T>> void runIterator(final List<T> values, int steps)
          throws Exception {
        IteratorTester<T> tester =
            new IteratorTester<T>(
                steps,
                IteratorFeature.MODIFIABLE,
                Lists.newLinkedList(values),
                IteratorTester.KnownOrder.UNKNOWN_ORDER) {
              private @Nullable MinMaxPriorityQueue<T> mmHeap;
    
              @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                setActiveProfiles((Collections.unmodifiableList(project.getActiveProfiles())));
            }
    
            if (project.getAttachedArtifacts() != null) {
                // clone properties modifiable by plugins in a forked lifecycle
                setAttachedArtifacts(new ArrayList<>(project.getAttachedArtifacts()));
            }
    
            if (project.getCompileSourceRoots() != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      private <T extends Comparable<T>> void runIterator(final List<T> values, int steps)
          throws Exception {
        IteratorTester<T> tester =
            new IteratorTester<T>(
                steps,
                IteratorFeature.MODIFIABLE,
                Lists.newLinkedList(values),
                IteratorTester.KnownOrder.UNKNOWN_ORDER) {
              private @Nullable MinMaxPriorityQueue<T> mmHeap;
    
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/InetAddresses.java

        long addressAsLong = 0;
        if (hasEmbeddedIPv4ClientAddress(ip6)) {
          addressAsLong = getEmbeddedIPv4ClientAddress(ip6).hashCode();
        } else {
          // Just extract the high 64 bits (assuming the rest is user-modifiable).
          addressAsLong = ByteBuffer.wrap(ip6.getAddress(), 0, 8).getLong();
        }
    
        // Many strategies for hashing are possible. This might suffice for now.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileActivationContext.java

            this.projectProperties = unmodifiable(projectProperties);
    
            return this;
        }
    
        private static List<String> unmodifiable(List<String> list) {
            return list != null ? Collections.unmodifiableList(list) : Collections.emptyList();
        }
    
        private static Map<String, String> unmodifiable(Map<String, String> map) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.9K bytes
    - Viewed (0)
Back to top