Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for diamond (0.24 sec)

  1. guava-tests/test/com/google/common/graph/TraverserTest.java

      /**
       * A diamond shaped directed graph (arrows going down):
       *
       * <pre>{@code
       *   a
       *  / \
       * b   c
       *  \ /
       *   d
       * }</pre>
       */
      private static final SuccessorsFunction<Character> DIAMOND_GRAPH =
          createDirectedGraph("ab", "ac", "bd", "cd");
    
      /**
       * Same as {@link #DIAMOND_GRAPH}, but with an extra c->a edge and some self edges:
       *
    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)
  2. android/guava-tests/test/com/google/common/graph/TraverserTest.java

      /**
       * A diamond shaped directed graph (arrows going down):
       *
       * <pre>{@code
       *   a
       *  / \
       * b   c
       *  \ /
       *   d
       * }</pre>
       */
      private static final SuccessorsFunction<Character> DIAMOND_GRAPH =
          createDirectedGraph("ab", "ac", "bd", "cd");
    
      /**
       * Same as {@link #DIAMOND_GRAPH}, but with an extra c->a edge and some self edges:
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 47.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Lists.java

       * use the {@code ArrayList} {@linkplain ArrayList#ArrayList() constructor} directly, taking
       * advantage of <a href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       */
      @GwtCompatible(serializable = true)
      public static <E extends @Nullable Object> ArrayList<E> newArrayList() {
        return new ArrayList<>();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code HashSet} constructor directly, taking advantage of <a
       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       */
      public static <E extends @Nullable Object> HashSet<E> newHashSet() {
        return new HashSet<>();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code HashMap} constructor directly, taking advantage of <a
       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       *
       * @return a new, empty {@code HashMap}
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          HashMap<K, V> newHashMap() {
        return new HashMap<>();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Strings.java

       *     forth. A {@code null} argument is converted to the four-character string {@code "null"};
       *     non-null values are converted to strings using {@link Object#toString()}.
       * @since 25.1
       */
      // TODO(diamondm) consider using Arrays.toString() for array parameters
      public static String lenientFormat(
          @CheckForNull String template, @CheckForNull @Nullable Object... args) {
    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)
  7. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      First came ten soldiers carrying clubs; these were all shaped
    like the three gardeners, oblong and flat, with their hands and
    feet at the corners:  next the ten courtiers; these were
    ornamented all over with diamonds, and walked two and two, as the
    soldiers did.  After these came the royal children; there were
    ten of them, and the little dears came jumping merrily along hand
    in hand, in couples:  they were all ornamented with hearts.  Next
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Strings.java

       *     forth. A {@code null} argument is converted to the four-character string {@code "null"};
       *     non-null values are converted to strings using {@link Object#toString()}.
       * @since 25.1
       */
      // TODO(diamondm) consider using Arrays.toString() for array parameters
      public static String lenientFormat(
          @CheckForNull String template, @CheckForNull @Nullable Object... args) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       *
       * @return null if an explanation cannot be provided (e.g. because the future is done).
       * @since 23.0
       */
      @CheckForNull
      protected String pendingToString() {
        // TODO(diamondm) consider moving this into addPendingString so it's always in the output
        if (this instanceof ScheduledFuture) {
          return "remaining delay=["
              + ((ScheduledFuture) this).getDelay(TimeUnit.MILLISECONDS)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      First came ten soldiers carrying clubs; these were all shaped
    like the three gardeners, oblong and flat, with their hands and
    feet at the corners:  next the ten courtiers; these were
    ornamented all over with diamonds, and walked two and two, as the
    soldiers did.  After these came the royal children; there were
    ten of them, and the little dears came jumping merrily along hand
    in hand, in couples:  they were all ornamented with hearts.  Next
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
Back to top