Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for modifications (0.19 sec)

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

       * call to {@code remove(range)}, {@code get(k)} will return {@code null}.
       */
      void remove(Range<K> range);
    
      /**
       * Returns a view of this range map as an unmodifiable {@code Map<Range<K>, V>}. Modifications to
       * this range map are guaranteed to read through to the returned {@code Map}.
       *
       * <p>The returned {@code Map} iterates over entries in ascending order of the bounds of the
       * {@code Range} entries.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ListsTest.java

        List<Integer> toList = Lists.reverse(fromList);
        assertReverseView(fromList, toList);
      }
    
      private static void assertReverseView(List<Integer> fromList, List<Integer> toList) {
        /* fromList modifications reflected in toList */
        fromList.set(0, 5);
        assertEquals(asList(4, 3, 2, 5), toList);
        fromList.add(6);
        assertEquals(asList(6, 4, 3, 2, 5), toList);
        fromList.add(2, 9);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

    import java.util.concurrent.atomic.AtomicInteger;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A multiset that supports concurrent modifications and that provides atomic versions of most
     * {@code Multiset} operations (exceptions where noted). Null elements are not supported.
     *
     * <p>See the Guava User Guide article on <a href=
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ListsTest.java

        List<Integer> toList = Lists.reverse(fromList);
        assertReverseView(fromList, toList);
      }
    
      private static void assertReverseView(List<Integer> fromList, List<Integer> toList) {
        /* fromList modifications reflected in toList */
        fromList.set(0, 5);
        assertEquals(asList(4, 3, 2, 5), toList);
        fromList.add(6);
        assertEquals(asList(6, 4, 3, 2, 5), toList);
        fromList.add(2, 9);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

         */
        Set<List<E>> getAllStates();
      }
    
      /**
       * Returns a {@link ConcurrentlyMutatedList} that performs the given operations as its concurrent
       * modifications. The mutations occur in the same thread as the triggering method call.
       */
      private static ConcurrentlyMutatedList<Integer> newConcurrentlyMutatedList(
          final Collection<Integer> initialContents,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

    import java.util.concurrent.atomic.AtomicInteger;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A multiset that supports concurrent modifications and that provides atomic versions of most
     * {@code Multiset} operations (exceptions where noted). Null elements are not supported.
     *
     * <p>See the Guava User Guide article on <a href=
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     * Pat Fisher, Mike Judd.
     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck/JSR166TestCase.java?revision=1.90
     * (We have made some trivial local modifications (commented out
     * uncompilable code).)
     */
    
    package com.google.common.util.concurrent;
    
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SetsTest.java

        ensureNotDirectlyModifiable(unmod.subSet(1, 3));
        ensureNotDirectlyModifiable(unmod.subSet(1, true, 3, true));
    
        /* UnsupportedOperationException on indirect modifications. */
        NavigableSet<Integer> reverse = unmod.descendingSet();
        try {
          reverse.add(4);
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterables.java

       * {@code iterable} contains fewer than {@code numberToSkip} elements, the returned iterable skips
       * all of its elements.
       *
       * <p>Modifications to the underlying {@link Iterable} before a call to {@code iterator()} are
       * reflected in the returned iterator. That is, the iterator skips the first {@code numberToSkip}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapsTest.java

        mod.put(4, "four");
        assertEquals(true, unmod.get(4).equals("four"));
        assertEquals(true, unmod.inverse().get("four").equals(4));
    
        /* UnsupportedOperationException on direct modifications. */
        try {
          unmod.put(4, "four");
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          unmod.forcePut(4, "four");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
Back to top