Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 135 for modifiable (0.18 sec)

  1. guava/src/com/google/common/cache/LoadingCache.java

       * method may return before refresh completes.
       *
       * @since 11.0
       */
      void refresh(K key);
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Note that although the view <i>is</i> modifiable, no method on the returned map will ever
       * cause entries to be automatically loaded.</b>
       */
      @Override
      ConcurrentMap<K, V> asMap();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * suitable for testing that map entries cannot be modified via a nefarious implementation of
       * equals. This is used for testing unmodifiable collections of map entries; for example, it
       * should not be possible to access the raw (modifiable) map entry via a nefarious equals method.
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          Entry<K, V> nefariousMapEntry(K key, V value) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assume().that(graphIsMutable()).isTrue();
    
        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
    - 21.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testSkip_iterator() throws Exception {
        new IteratorTester<Integer>(
            5,
            IteratorFeature.MODIFIABLE,
            Lists.newArrayList(2, 3),
            IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<Integer> newTargetIterator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  5. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * suitable for testing that map entries cannot be modified via a nefarious implementation of
       * equals. This is used for testing unmodifiable collections of map entries; for example, it
       * should not be possible to access the raw (modifiable) map entry via a nefarious equals method.
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          Entry<K, V> nefariousMapEntry(K key, V value) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

      // here too.
      static final String ERROR_PARALLEL_EDGE = "connected by a different edge";
      static final String ERROR_REUSE_EDGE = "it cannot be reused to connect";
      static final String ERROR_MODIFIABLE_COLLECTION =
          "Collection returned is unexpectedly modifiable";
      static final String ERROR_SELF_LOOP = "self-loops are not allowed";
      static final String ERROR_EDGE_NOT_IN_GRAPH =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 33K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

      // here too.
      static final String ERROR_PARALLEL_EDGE = "connected by a different edge";
      static final String ERROR_REUSE_EDGE = "it cannot be reused to connect";
      static final String ERROR_MODIFIABLE_COLLECTION =
          "Collection returned is unexpectedly modifiable";
      static final String ERROR_SELF_LOOP = "self-loops are not allowed";
      static final String ERROR_EDGE_NOT_IN_GRAPH =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assume().that(graphIsMutable()).isTrue();
    
        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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Table.java

     * will change the table.
     *
     * <p>All methods that modify the table are optional, and the views returned by the table may or may
     * not be modifiable. When modification isn't supported, those methods will throw an {@link
     * UnsupportedOperationException}.
     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableTable}
     *   <li>{@link HashBasedTable}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 10.7K bytes
    - Viewed (0)
Back to top