Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 97 for unmodifiable (0.09 sec)

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

       * equal.
       */
      boolean areEqual();
    
      /**
       * Returns an unmodifiable map containing the entries from the left map whose keys are not present
       * in the right map.
       */
      Map<K, V> entriesOnlyOnLeft();
    
      /**
       * Returns an unmodifiable map containing the entries from the right map whose keys are not
       * present in the left map.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 04 13:28:27 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE;
    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/MapDifference.java

       * equal.
       */
      boolean areEqual();
    
      /**
       * Returns an unmodifiable map containing the entries from the left map whose keys are not present
       * in the right map.
       */
      Map<K, V> entriesOnlyOnLeft();
    
      /**
       * Returns an unmodifiable map containing the entries from the right map whose keys are not
       * present in the left map.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 04 13:28:27 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        }
      }
    
      private <T extends @Nullable Object> void actsLikeIteratorHelper(final List<T> list) {
        // Check with modifiable copies of the list
        new PeekingIteratorTester<T>(list).test();
    
        // Check with unmodifiable lists
        new IteratorTester<T>(
            list.size() * 2 + 2, UNMODIFIABLE, list, IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<T> newTargetIterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerRequest.java

                DefaultArtifactInstallerRequest(@Nonnull Session session, @Nonnull Collection<ProducedArtifact> artifacts) {
                    super(session);
                    this.artifacts = unmodifiable(nonNull(artifacts, "artifacts cannot be null"));
                }
    
                @Nonnull
                @Override
                public Collection<ProducedArtifact> getArtifacts() {
                    return artifacts;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.Helpers.getMethod;
    import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE;
    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
    import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_ADD_WITH_INDEX;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.Helpers.getMethod;
    import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE;
    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
    import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_ADD_WITH_INDEX;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multisets.java

       * @param multiset the multiset for which an unmodifiable view is to be generated
       * @return an unmodifiable view of the multiset
       */
      public static <E extends @Nullable Object> Multiset<E> unmodifiableMultiset(
          Multiset<? extends E> multiset) {
        if (multiset instanceof UnmodifiableMultiset || multiset instanceof ImmutableMultiset) {
          @SuppressWarnings("unchecked") // Since it's unmodifiable, the covariant cast is safe
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Multisets.java

       * @param multiset the multiset for which an unmodifiable view is to be generated
       * @return an unmodifiable view of the multiset
       */
      public static <E extends @Nullable Object> Multiset<E> unmodifiableMultiset(
          Multiset<? extends E> multiset) {
        if (multiset instanceof UnmodifiableMultiset || multiset instanceof ImmutableMultiset) {
          @SuppressWarnings("unchecked") // Since it's unmodifiable, the covariant cast is safe
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *     Collections.unmodifiableList(
     *         Arrays.asList("a", "b", "c", "d", "e"));
     * IteratorTester<String> iteratorTester =
     *     new IteratorTester<String>(
     *         6,
     *         IteratorFeature.UNMODIFIABLE,
     *         expectedElements,
     *         IteratorTester.KnownOrder.KNOWN_ORDER) {
     *       @Override
     *       protected Iterator<String> newTargetIterator() {
     *         return actualElements.iterator();
     *       }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top