Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for into (0.12 sec)

  1. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

       */
      public void add(Runnable runnable, Executor executor) {
        // Fail fast on a null. We throw NPE here because the contract of Executor states that it throws
        // NPE on null listener, so we propagate that contract up into the add method as well.
        checkNotNull(runnable, "Runnable was null.");
        checkNotNull(executor, "Executor was null.");
    
        // Lock while we check state. We must maintain the lock while adding the new pair so that
    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)
  2. android/guava/src/com/google/common/collect/TreeTraverser.java

     *     their equivalent on the result of {@code Traverser.forTree(tree)} where {@code tree}
     *     implements {@code SuccessorsFunction}, which has a similar API as {@link #children} or can be
     *     the same lambda function as passed into {@link #using(Function)}.
     *     <p>This class is scheduled to be removed in October 2019.
     */
    // TODO(b/68134636): Remove by 2019-10
    @Deprecated
    @Beta
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. guava/pom.xml

                  <location>${project.basedir}/javadoc-link/checker-framework</location>
                </offlineLink>
              </offlineLinks>
              <links>
                <link>https://errorprone.info/api/latest/</link>
              </links>
              <overview>../overview.html</overview>
            </configuration>
          </plugin>
          <plugin>
            <artifactId>maven-resources-plugin</artifactId>
    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)
  4. android/guava-tests/test/com/google/common/collect/TopKSelectorTest.java

        assertThat(top.topK()).containsExactly("a", "B", "c").inOrder();
      }
    
      public void testWorstCase() {
        int n = 2000000;
        int k = 200000;
        final long[] compareCalls = {0};
        Comparator<Integer> cmp =
            new Comparator<Integer>() {
              @Override
              public int compare(Integer o1, Integer o2) {
                compareCalls[0]++;
                return o1.compareTo(o2);
              }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

        this.elementSet = elementSet;
        this.cumulativeCounts = cumulativeCounts;
        this.offset = offset;
        this.length = length;
      }
    
      private int getCount(int index) {
        return (int) (cumulativeCounts[offset + index + 1] - cumulativeCounts[offset + index]);
      }
    
      @Override
      Entry<E> getEntry(int index) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TopKSelectorTest.java

        assertThat(top.topK()).containsExactly("a", "B", "c").inOrder();
      }
    
      public void testWorstCase() {
        int n = 2000000;
        int k = 200000;
        final long[] compareCalls = {0};
        Comparator<Integer> cmp =
            new Comparator<Integer>() {
              @Override
              public int compare(Integer o1, Integer o2) {
                compareCalls[0]++;
                return o1.compareTo(o2);
              }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/EnumMultiset.java

          throw new ClassCastException("Expected an " + type + " but got " + element);
        }
      }
    
      @Override
      int distinctElements() {
        return distinctElements;
      }
    
      @Override
      public int size() {
        return Ints.saturatedCast(size);
      }
    
      @Override
      public int count(@CheckForNull Object element) {
        // isActuallyE checks for null, but we check explicitly to help nullness checkers.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

      private static final Comparator<@Nullable Integer> DECREASING_INT_COMPARATOR =
          Ordering.<Integer>natural().reverse().<Integer>nullsFirst();
    
      private SetMultimap<String, Integer> create() {
        return TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR);
      }
    
      /** Create and populate a {@code TreeMultimap} with explicit comparators. */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java

      }
    
      @GwtIncompatible // ObjectArrays.newArray(Class, int)
      public void testNewArray_fromClass_Empty() {
        String[] empty = ObjectArrays.newArray(String.class, 0);
        assertEquals(String[].class, empty.getClass());
        assertThat(empty).isEmpty();
      }
    
      @GwtIncompatible // ObjectArrays.newArray(Class, int)
      public void testNewArray_fromClass_Nonempty() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate.equals(o);
        }
    
        @Override
        public int hashCode() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.hashCode();
        }
    
        @Override
        public int size() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.size();
        }
    
        @Override
        public boolean isEmpty() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top