Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 474 for notes (0.13 sec)

  1. guava/src/com/google/common/base/Strings.java

       * do not match, returns a best-effort form of that string. Will not throw an exception under
       * normal conditions.
       *
       * <p><b>Note:</b> For most string-formatting needs, use {@link String#format String.format},
       * {@link java.io.PrintWriter#format PrintWriter.format}, and related methods. These support the
       * full range of <a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Joiner.java

     *
     * <pre>{@code
     * Joiner joiner = Joiner.on("; ").skipNulls();
     *  . . .
     * return joiner.join("Harry", null, "Ron", "Hermione");
     * }</pre>
     *
     * <p>This returns the string {@code "Harry; Ron; Hermione"}. Note that all input elements are
     * converted to strings using {@link Object#toString()} before being appended.
     *
     * <p>If neither {@link #skipNulls()} nor {@link #useForNull(String)} is specified, the joining
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/TraverserTest.java

      }
    
      /**
       * Checks that the elements of the iterable are calculated on the fly. Concretely, that means that
       * {@link SuccessorsFunction#successors(Object)} can only be called for a subset of all nodes.
       */
      @Test
      public void forGraph_breadthFirstIterable_emptyGraph() {
        assertEqualCharNodes(
            Traverser.forGraph(createDirectedGraph()).breadthFirst(charactersOf("")), "");
        assertThrows(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 47.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMultiset.java

              ToIntFunction<? super T> countFunction) {
        return CollectCollectors.toImmutableMultiset(elementFunction, countFunction);
      }
    
      /**
       * Returns the empty immutable multiset.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked") // all supported methods are covariant
      public static <E> ImmutableMultiset<E> of() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(Booleans.falseFirst().compare(true, false)).isGreaterThan(0);
      }
    
      public void testCompare() {
        for (boolean x : VALUES) {
          for (boolean y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y)
                .that(Booleans.compare(x, y))
                .isEqualTo(Boolean.valueOf(x).compareTo(y));
          }
        }
      }
    
    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)
  6. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       * {@code iterator().remove()} of an unmodifiable list could throw either {@link
       * IllegalStateException} or {@link UnsupportedOperationException}. Note that iterator
       * implementations should always throw one of the exceptions in a {@code PermittedExceptions}
       * instance, since {@code PermittedExceptions} is thrown only when a method call is invalid.
       *
    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)
  7. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(Booleans.falseFirst().compare(true, false)).isGreaterThan(0);
      }
    
      public void testCompare() {
        for (boolean x : VALUES) {
          for (boolean y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y)
                .that(Booleans.compare(x, y))
                .isEqualTo(Boolean.valueOf(x).compareTo(y));
          }
        }
      }
    
    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)
  8. guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

    import java.util.Collections;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Random;
    import java.util.Set;
    import java.util.TreeSet;
    
    /**
     * Provides supporting data for performance notes in the documentation of {@link
     * Ordering#sortedCopy} and {@link Ordering#immutableSortedCopy}, as well as for automated code
     * suggestions.
     *
     */
    public class SortedCopyBenchmark {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/TypeResolver.java

    import javax.annotation.CheckForNull;
    
    /**
     * An object of this class encapsulates type mappings from type variables. Mappings are established
     * with {@link #where} and types are resolved using {@link #resolveType}.
     *
     * <p>Note that usually type mappings are already implied by the static type hierarchy (for example,
     * the {@code E} type variable declared by class {@code List} naturally maps to {@code String} in
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        return CollectCollectors.flatteningToImmutableSetMultimap(keyFunction, valuesFunction);
      }
    
      /**
       * Returns the empty multimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting is safe because the multimap will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableSetMultimap<K, V> of() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
Back to top