Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for sergey (0.17 sec)

  1. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertFalse("heap contains larry which has been removed", mmHeap.contains("larry"));
        assertTrue("heap does not contain sergey", mmHeap.contains("sergey"));
        assertTrue("Could not remove larry", mmHeap.removeAll(Lists.newArrayList("sergey", "eric")));
        assertFalse("Could remove nikesh which is not in the heap", mmHeap.remove("nikesh"));
        assertEquals(4, mmHeap.size());
      }
    
      public void testCreateWithOrdering() {
    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)
  2. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     * that are equal to each other but unequal to the objects in any other group. For example:
     *
     * <pre>
     * new EqualsTester()
     *     .addEqualityGroup(new User("page"), new User("page"))
     *     .addEqualityGroup(new User("sergey"))
     *     .testEquals();
     * </pre>
     *
     * <p>This tests:
     *
     * <ul>
     *   <li>comparing each object against itself returns true
     *   <li>comparing each object against null returns false
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/EqualsTester.java

     * that are equal to each other but unequal to the objects in any other group. For example:
     *
     * <pre>
     * new EqualsTester()
     *     .addEqualityGroup(new User("page"), new User("page"))
     *     .addEqualityGroup(new User("sergey"))
     *     .testEquals();
     * </pre>
     *
     * <p>This tests:
     *
     * <ul>
     *   <li>comparing each object against itself returns true
     *   <li>comparing each object against null returns false
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertFalse("heap contains larry which has been removed", mmHeap.contains("larry"));
        assertTrue("heap does not contain sergey", mmHeap.contains("sergey"));
        assertTrue("Could not remove larry", mmHeap.removeAll(Lists.newArrayList("sergey", "eric")));
        assertFalse("Could remove nikesh which is not in the heap", mmHeap.remove("nikesh"));
        assertEquals(4, mmHeap.size());
      }
    
      public void testCreateWithOrdering() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TableCollectors.java

        void put(R row, C column, V value, BinaryOperator<V> merger) {
          MutableCell<R, C, V> oldCell = table.get(row, column);
          if (oldCell == null) {
            MutableCell<R, C, V> cell = new MutableCell<>(row, column, value);
            insertionOrder.add(cell);
            table.put(row, column, cell);
          } else {
            oldCell.merge(value, merger);
          }
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. CONTRIBUTING.md

    things you should know about contributing:
    
    1.  API changes require discussion, use cases, etc. Code comes later.
    2.  Pull requests are great for small fixes for bugs, documentation, etc.
    3.  Pull requests are not merged directly into the master branch.
    4.  Code contributions require signing a Google CLA.
    
    API changes
    -----------
    
    We make changes to Guava's public [APIs][], including adding new APIs, very
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.FutureTask;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    
    // TODO(cpovirk): Should this be merged into UninterruptiblesTest?
    /**
     * Unit test for {@link Uninterruptibles#getUninterruptibly}
     *
     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    public class UninterruptibleFutureTest extends TestCase {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterables.java

        if (iterable instanceof Collection) {
          return ((Collection<?>) iterable).isEmpty();
        }
        return !iterable.iterator().hasNext();
      }
    
      /**
       * Returns an iterable over the merged contents of all given {@code iterables}. Equivalent entries
       * will not be de-duplicated.
       *
       * <p>Callers must ensure that the source {@code iterables} are in non-descending order as this
    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)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * keys and values are the result of applying the provided mapping functions to the input
       * elements.
       *
       * <p>If the mapped keys contain duplicates (according to the comparator), the values are merged
       * using the specified merging function. Entries will appear in the encounter order of the first
       * occurrence of the key.
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
      private interface Merger {
    
        ListenableFuture<List<String>> merged(ListenableFuture<String> a, ListenableFuture<String> b);
    
        Merger allMerger =
            new Merger() {
              @Override
              public ListenableFuture<List<String>> merged(
                  ListenableFuture<String> a, ListenableFuture<String> b) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
Back to top