Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 97 for unmodifiable (0.07 sec)

  1. android/guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Returns an unmodifiable view of the specified set of entries. The {@link Entry#setValue}
       * operation throws an {@link UnsupportedOperationException}, as do any operations that would
       * modify the returned set.
       *
       * @param entrySet the entries for which to return an unmodifiable view
       * @return an unmodifiable view of the entries
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Returns an unmodifiable view of the specified set of entries. The {@link Entry#setValue}
       * operation throws an {@link UnsupportedOperationException}, as do any operations that would
       * modify the returned set.
       *
       * @param entrySet the entries for which to return an unmodifiable view
       * @return an unmodifiable view of the entries
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/StandardNetwork.java

     * map of edges to reference nodes. The reference node is defined to be the edge's source node on
     * directed graphs, and an arbitrary endpoint of the edge on undirected graphs.
     *
     * <p>Collection-returning accessors return unmodifiable views: the view returned will reflect
     * changes to the graph (if the graph is mutable) but may not be modified by the user.
     *
     * <p>The time complexity of all collection-returning accessors is O(1), since views are returned.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/StandardNetwork.java

     * map of edges to reference nodes. The reference node is defined to be the edge's source node on
     * directed graphs, and an arbitrary endpoint of the edge on undirected graphs.
     *
     * <p>Collection-returning accessors return unmodifiable views: the view returned will reflect
     * changes to the graph (if the graph is mutable) but may not be modified by the user.
     *
     * <p>The time complexity of all collection-returning accessors is O(1), since views are returned.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ArrayTable.java

      }
    
      // TODO(jlevy): Add eraseRow and eraseColumn methods?
    
      @Override
      public int size() {
        return rowList.size() * columnList.size();
      }
    
      /**
       * Returns an unmodifiable set of all row key / column key / value triplets. Changes to the table
       * will update the returned set.
       *
       * <p>The returned set's iterator traverses the mappings with the first row key, the mappings with
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IterablesTest.java

    import static com.google.common.collect.Sets.newHashSet;
    import static com.google.common.collect.Sets.newLinkedHashSet;
    import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE;
    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptyList;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

          @SuppressWarnings("rawtypes") // JDT-based J2KT Java frontend does not permit the direct cast
          Map rawMap = map;
          @SuppressWarnings("unchecked") // covariant casts safe (unmodifiable)
          ImmutableClassToInstanceMap<B> cast = (ImmutableClassToInstanceMap<B>) rawMap;
          return cast;
        }
        return new Builder<B>().putAll(map).build();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/NetworkBuilder.java

     *       elements were added (insertion order)
     * </ul>
     *
     * <p>{@code Network}s built by this class also guarantee that each collection-returning accessor
     * returns a <b>(live) unmodifiable view</b>; see <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#accessor-behavior">the external
     * documentation</a> for details.
     *
     * <p>Examples of use:
     *
     * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  9. 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) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

      }
    
      /** Returns an unmodifiable view of {@code iterator}. */
      public static <T extends @Nullable Object> UnmodifiableIterator<T> unmodifiableIterator(
          Iterator<? extends T> iterator) {
        checkNotNull(iterator);
        if (iterator instanceof UnmodifiableIterator) {
          @SuppressWarnings("unchecked") // Since it's unmodifiable, the covariant cast is safe
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top