Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Notifications (0.16 sec)

  1. 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)
  2. 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)
  3. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * removed in one segment while checking another, in which case the table was never actually
         * empty at any point. (The sum ensures accuracy up through at least 1<<31 per-segment
         * modifications before recheck.)  Method containsValue() uses similar constructions for
         * stability checks.
         */
        long sum = 0L;
        Segment<K, V, E, S>[] segments = this.segments;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheBuilder.java

     *   <li>keys automatically wrapped in {@code WeakReference}
     *   <li>values automatically wrapped in {@code WeakReference} or {@code SoftReference}
     *   <li>notification of evicted (or otherwise removed) entries
     *   <li>accumulation of cache access statistics
     * </ul>
     *
     * <p>These features are all optional; caches can be created using all or none of them. By default,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
Back to top