Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Inference (0.15 sec)

  1. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            void executeAndCompare(ListIterator<E> reference, Iterator<E> target) {
              internalExecuteAndCompare(reference, target, NEXT_METHOD);
            }
          };
      Stimulus<E, Iterator<E>> remove =
          new Stimulus<E, Iterator<E>>("remove") {
            @Override
            void executeAndCompare(ListIterator<E> reference, Iterator<E> target) {
              internalExecuteAndCompare(reference, target, REMOVE_METHOD);
            }
          };
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeMultiset.java

        TreeMultiset<E> multiset = create();
        Iterables.addAll(multiset, elements);
        return multiset;
      }
    
      private final transient Reference<AvlNode<E>> rootReference;
      private final transient GeneralRange<E> range;
      private final transient AvlNode<E> header;
    
      TreeMultiset(Reference<AvlNode<E>> rootReference, GeneralRange<E> range, AvlNode<E> endLink) {
        super(range.comparator());
        this.rootReference = rootReference;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/BooleansTest.java

            .isFalse();
        assertEquals(1, Booleans.asList(ARRAY_FALSE_TRUE).lastIndexOf(true));
        List<Boolean> reference = Booleans.asList(ARRAY_FALSE);
        assertEquals(Booleans.asList(ARRAY_FALSE), reference);
        // Explicitly call `equals`; `assertEquals` might return fast
        assertThat(reference.equals(reference)).isTrue();
      }
    
      public void testAsListHashcode() {
        assertThat(Booleans.asList(EMPTY).hashCode()).isEqualTo(1);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

            .isFalse();
        assertEquals(1, Booleans.asList(ARRAY_FALSE_TRUE).lastIndexOf(true));
        List<Boolean> reference = Booleans.asList(ARRAY_FALSE);
        assertEquals(Booleans.asList(ARRAY_FALSE), reference);
        // Explicitly call `equals`; `assertEquals` might return fast
        assertThat(reference.equals(reference)).isTrue();
      }
    
      public void testAsListHashcode() {
        assertThat(Booleans.asList(EMPTY).hashCode()).isEqualTo(1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            // The root artifact may, or may not be resolved so we need to check before we attempt to resolve.
            // This is often an artifact like a POM that is taken from disk and we already have hold of the
            // file reference. But this may be a Maven Plugin that we need to resolve from a remote repository
            // as well as its dependencies.
    
            if (request.isResolveRoot() /* && rootArtifact.getFile() == null */) {
                try {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Suppliers.java

      }
    
      /**
       * Returns a function that accepts a supplier and returns the result of invoking {@link
       * Supplier#get} on that supplier.
       *
       * <p><b>Java 8+ users:</b> use the method reference {@code Supplier::get} instead.
       *
       * @since 8.0
       */
      public static <T extends @Nullable Object> Function<Supplier<T>, T> supplierFunction() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableList.java

       * immutable list is returned.)
       *
       * <p><b>Note:</b> in almost all circumstances, the returned {@link ImmutableList} retains a
       * strong reference to {@code this}, which may prevent the original list from being garbage
       * collected. If you want the original list to be eligible for garbage collection, you should
       * create and use a copy of the sub list (e.g., {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            void executeAndCompare(ListIterator<E> reference, Iterator<E> target) {
              internalExecuteAndCompare(reference, target, NEXT_METHOD);
            }
          };
      Stimulus<E, Iterator<E>> remove =
          new Stimulus<E, Iterator<E>>("remove") {
            @Override
            void executeAndCompare(ListIterator<E> reference, Iterator<E> target) {
              internalExecuteAndCompare(reference, target, REMOVE_METHOD);
            }
          };
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Optional.java

    /**
     * An immutable object that may contain a non-null reference to another object. Each instance of
     * this type either contains a non-null reference, or contains nothing (in which case we say that
     * the reference is "absent"); it is never said to "contain {@code null}".
     *
     * <p>A non-null {@code Optional<T>} reference can be used as a replacement for a nullable {@code T}
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableMap.java

      @Override
      @CheckForNull
      public abstract V get(@CheckForNull Object key);
    
      /**
       * {@inheritDoc}
       *
       * <p>See <a
       * href="https://developer.android.com/reference/java/util/Map.html#getOrDefault%28java.lang.Object,%20V%29">{@code
       * Map.getOrDefault}</a>.
       *
       * @since 23.5 (but since 21.0 in the JRE <a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
Back to top