Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 198 for snippet (0.03 sec)

  1. guava/src/com/google/common/graph/ImmutableValueGraph.java

      }
    
      /**
       * A builder for creating {@link ImmutableValueGraph} instances, especially {@code static final}
       * graphs. Example:
       *
       * {@snippet :
       * static final ImmutableValueGraph<City, Distance> CITY_ROAD_DISTANCE_GRAPH =
       *     ValueGraphBuilder.undirected()
       *         .<City, Distance>immutable()
       *         .putEdgeValue(PARIS, BERLIN, kilometers(1060))
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Closer.java

     * approximately equivalent in behavior to the same code written with try-with-resources.
     *
     * <p>This class is intended to be used in the following pattern:
     *
     * {@snippet :
     * Closer closer = Closer.create();
     * try {
     *   InputStream in = closer.register(openInputStream());
     *   OutputStream out = closer.register(openOutputStream());
     *   // do stuff
     * } catch (Throwable e) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/MoreObjects.java

      }
    
      /**
       * Creates an instance of {@link ToStringHelper}.
       *
       * <p>This is helpful for implementing {@link Object#toString()}. Specification by example:
       *
       * {@snippet :
       * // Returns "ClassName{}"
       * MoreObjects.toStringHelper(this)
       *     .toString();
       *
       * // Returns "ClassName{x=1}"
       * MoreObjects.toStringHelper(this)
       *     .add("x", 1)
       *     .toString();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Multisets.java

       * in {@code occurrencesToRemove}. However, this operation <i>is</i> equivalent to, albeit
       * sometimes more efficient than, the following:
       *
       * {@snippet :
       * for (E e : occurrencesToRemove) {
       *   multisetToModify.remove(e);
       * }
       * }
       *
       * @return {@code true} if {@code multisetToModify} was changed as a result of this operation
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multisets.java

       * in {@code occurrencesToRemove}. However, this operation <i>is</i> equivalent to, albeit
       * sometimes more efficient than, the following:
       *
       * {@snippet :
       * for (E e : occurrencesToRemove) {
       *   multisetToModify.remove(e);
       * }
       * }
       *
       * @return {@code true} if {@code multisetToModify} was changed as a result of this operation
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 41.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/Network.java

     * <p>The implementation classes that {@code common.graph} provides are not public, by design. To
     * create an instance of one of the built-in implementations of {@code Network}, use the {@link
     * NetworkBuilder} class:
     *
     * {@snippet :
     * MutableNetwork<Integer, MyEdge> network = NetworkBuilder.directed().build();
     * }
     *
     * <p>{@link NetworkBuilder#build()} returns an instance of {@link MutableNetwork}, which is a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 17.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableTable.java

            checkNotNull(value, "value"));
      }
    
      /**
       * A builder for creating immutable table instances, especially {@code public static final} tables
       * ("constant tables"). Example:
       *
       * {@snippet :
       * static final ImmutableTable<Integer, Character, String> SPREADSHEET =
       *     new ImmutableTable.Builder<Integer, Character, String>()
       *         .put(1, 'A', "foo")
       *         .put(1, 'B', "bar")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/MoreObjects.java

      }
    
      /**
       * Creates an instance of {@link ToStringHelper}.
       *
       * <p>This is helpful for implementing {@link Object#toString()}. Specification by example:
       *
       * {@snippet :
       * // Returns "ClassName{}"
       * MoreObjects.toStringHelper(this)
       *     .toString();
       *
       * // Returns "ClassName{x=1}"
       * MoreObjects.toStringHelper(this)
       *     .add("x", 1)
       *     .toString();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Converter.java

     *       be overridden.
     * </ul>
     *
     * <h3>Example</h3>
     *
     * {@snippet :
     * return Converter.from(
     *     Integer::toHexString,
     *     s -> parseUnsignedInt(s, 16));
     * }
     *
     * <p>An alternative using a subclass:
     *
     * {@snippet :
     * return new Converter<Integer, String>() {
     *   @Override
     *   protected String doForward(Integer i) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableTable.java

            checkNotNull(value, "value"));
      }
    
      /**
       * A builder for creating immutable table instances, especially {@code public static final} tables
       * ("constant tables"). Example:
       *
       * {@snippet :
       * static final ImmutableTable<Integer, Character, String> SPREADSHEET =
       *     new ImmutableTable.Builder<Integer, Character, String>()
       *         .put(1, 'A', "foo")
       *         .put(1, 'B', "bar")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 17.3K bytes
    - Viewed (0)
Back to top