Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 287 for Hafner (0.18 sec)

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

        return fromEntries(comparator, sameComparator, entryArray, entryArray.length);
      }
    
      @SuppressWarnings("nullness") // TODO: b/316358623 - Remove after checker fix.
      private static <K, V> ImmutableSortedMap<K, V> fromEntries(
          final Comparator<? super K> comparator,
          boolean sameComparator,
          @Nullable Entry<K, V>[] entryArray,
          int size) {
    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)
  2. guava/src/com/google/common/base/MoreObjects.java

       */
      public static ToStringHelper toStringHelper(Object self) {
        return new ToStringHelper(self.getClass().getSimpleName());
      }
    
      /**
       * Creates an instance of {@link ToStringHelper} in the same manner as {@link
       * #toStringHelper(Object)}, but using the simple name of {@code clazz} instead of using an
       * instance's {@link Object#getClass()}.
       *
       * <p>Note that in GWT, class names are often obfuscated.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        CountingRunnable after = new CountingRunnable();
    
        future.addListener(before, directExecutor());
        future.setFuture(delegate);
        future.addListener(inBetween, directExecutor());
        delegate.set(1);
        future.addListener(after, directExecutor());
    
        before.assertRun();
        inBetween.assertRun();
        after.assertRun();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

          fail("putIfAbsent(null, value) should throw");
        } catch (NullPointerException expected) {
        }
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported putIfAbsent(null, value)");
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutIfAbsent_nullValueUnsupported() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

          fail("putIfAbsent(null, value) should throw");
        } catch (NullPointerException expected) {
        }
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported putIfAbsent(null, value)");
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutIfAbsent_nullValueUnsupportedAndKeyAbsent() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 18:17:52 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RangeSet.java

       *     operation
       */
      void add(Range<C> range);
    
      /**
       * Removes the specified range from this {@code RangeSet} (optional operation). After this
       * operation, if {@code range.contains(c)}, {@code this.contains(c)} will return {@code false}.
       *
       * <p>If {@code range} is empty, this is a no-op.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

        assertEquals(
            "multiset.remove(present, 2) didn't return the old count",
            1,
            getMultiset().remove(e0(), 2));
        assertFalse(
            "multiset contains present after multiset.remove(present, 2)",
            getMultiset().contains(e0()));
        assertEquals(0, getMultiset().count(e0()));
      }
    
      @CollectionSize.Require(SEVERAL)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        it.remove();
        // After this remove, 400 has moved up and 20 down past cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
        assertEquals((Integer) 10, it.next());
        assertEquals((Integer) 3, it.next());
        it.remove();
        // After this remove, 400 moved down again and 500 up past the cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
    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)
  9. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

     * instance contains a list of listeners, each with an associated {@code Executor}, and guarantees
     * that every {@code Runnable} that is {@linkplain #add added} will be executed after {@link
     * #execute()} is called. Any {@code Runnable} added after the call to {@code execute} is still
     * guaranteed to execute. There is no guarantee, however, that listeners will be executed in the
     * order that they are added.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          assertTrue(bb.remaining() > 0);
          assertTrue(bb.remaining() < bufferSize);
          int before = processCalled;
          super.processRemaining(bb);
          int after = processCalled;
          assertEquals(before + 1, after); // default implementation pads and calls process()
          processCalled--; // don't count the tail invocation (makes tests a bit more understandable)
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
Back to top