Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 675 for some (0.13 sec)

  1. guava/src/com/google/common/collect/ForwardingSortedSet.java

     * natural ordering of the elements, if there is no comparator) to test element equality. As a
     * result, if the comparator is not consistent with equals, some of the standard implementations may
     * violate the {@code Set} contract.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

            getMultiset().contains(e0()));
        assertEquals(0, getMultiset().count(e0()));
      }
    
      @CollectionSize.Require(SEVERAL)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_some_occurrences_present() {
        initThreeCopies();
        assertEquals(
            "multiset.remove(present, 2) didn't return the old count",
            3,
            getMultiset().remove(e0(), 2));
        assertTrue(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Monitor.java

     *       lock.unlock();
     *     }
     *   }
     * }
     * }</pre>
     *
     * <h3>{@code Monitor}</h3>
     *
     * <p>This version adds some verbosity around the {@code Guard} objects, but removes that same
     * verbosity, and more, from the {@code get} and {@code set} methods. {@code Monitor} implements the
     * same efficient signaling as we had to hand-code in the {@code ReentrantLock} version above.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * second invocation, so implementors have made various choices, including:
     *
     * <ul>
     *   <li>returning the same iterator again
     *   <li>throwing an exception of some kind
     *   <li>or the usual, <i>robust</i> behavior, which all known {@link Collection} implementations
     *       have, of returning a new, independent iterator
     * </ul>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. guava/pom.xml

              </excludePackageNames>
              <!-- Ignore some tags that are found in Java 11 sources but not recognized... under -source 8, I think it was? I can no longer reproduce the failure. -->
              <tags>
                <tag>
                  <name>apiNote</name>
    XML
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingListIterator.java

     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>{@code default} method warning:</b> This class forwards calls to <i>only some</i> {@code
     * default} methods. Specifically, it forwards calls only for methods that existed <a
     * href="https://docs.oracle.com/javase/7/docs/api/java/util/ListIterator.html">before {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

    import java.util.concurrent.TimeUnit;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A TimeLimiter implementation which actually does not attempt to limit time at all. This may be
     * desirable to use in some unit tests. More importantly, attempting to debug a call which is
     * time-limited would be extremely annoying, so this gives you a time-limiter you can easily swap in
     * for your real time-limiter while you're debugging.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

           * to test it.
           */
          return;
        }
    
        /*
         * Only under Windows (or hypothetically when running with some other non-POSIX, ACL-based
         * filesystem) does our prod code look up the username. Thus, this test doesn't necessarily test
         * anything interesting under most environments. Still, we can run it (except for Android, at
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ListsTest.java

      }
    
      public void testTransformHashCodeRandomAccess() {
        List<String> list = Lists.transform(SOME_LIST, SOME_FUNCTION);
        assertEquals(SOME_STRING_LIST.hashCode(), list.hashCode());
      }
    
      public void testTransformHashCodeSequential() {
        List<String> list = Lists.transform(SOME_SEQUENTIAL_LIST, SOME_FUNCTION);
        assertEquals(SOME_STRING_LIST.hashCode(), list.hashCode());
      }
    
    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)
  10. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        checkNatural(queue);
      }
    
      public void testCreation_comparator() {
        MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.orderedBy(SOME_COMPARATOR).create();
        assertEquals(11, queue.capacity());
        checkUnbounded(queue);
        assertSame(SOME_COMPARATOR, queue.comparator());
      }
    
      // We use the rawtypeToWildcard "cast" to make the test work with J2KT in other tests. Leaving one
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
Back to top