Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 220 for example (0.17 sec)

  1. android/guava/src/com/google/common/io/ByteSource.java

       * not required to be a {@link BufferedInputStream} in order to allow implementations to simply
       * delegate to {@link #openStream()} when the stream returned by that method does not benefit from
       * additional buffering (for example, a {@code ByteArrayInputStream}). This method returns a new,
       * independent stream each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned stream is closed.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ListsImplTest.java

      private static TestSuite createExampleSuite(ListExample example) {
        TestSuite resultSuite = new TestSuite(ListsImplTest.class);
        for (Enumeration<Test> testEnum = resultSuite.tests(); testEnum.hasMoreElements(); ) {
          ListsImplTest test = (ListsImplTest) testEnum.nextElement();
          test.example = example;
        }
        return resultSuite;
      }
    
      private @Nullable ListExample example;
    
      private ListExample getExample() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Floats.java

       * specified by {@link Float#toString(float)}, and separated by {@code separator}. For example,
       * {@code join("-", 1.0f, 2.0f, 3.0f)} returns the string {@code "1.0-2.0-3.0"}.
       *
       * <p>Note that {@link Float#toString(float)} formats {@code float} differently in GWT. In the
       * previous example, it returns the string {@code "1-2-3"}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

                @Nonnull Project project, @Nonnull PathScope scope, @Nonnull Collection<PathType> desiredTypes);
    
        /**
         * Resolves an artifact's meta version (if any) to a concrete version. For example, resolves "1.0-SNAPSHOT"
         * to "1.0-20090208.132618-23" or "RELEASE"/"LATEST" to "2.0".
         * <p>
         * Shortcut for {@code getService(VersionResolver.class).resolve(...)}
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * convenient.
       *
       * <p>By default, a {@code Builder} will generate bimaps that iterate over entries in the order
       * they were inserted into the builder. For example, in the above example, {@code
       * WORD_TO_INT.entrySet()} is guaranteed to iterate over the entries in the order {@code "one"=1,
       * "two"=2, "three"=3}, and {@code keySet()} and {@code values()} respect the same order. If you
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableListMultimap.java

       * java.util.stream} Javadoc), that order is preserved, but entries are <a
       * href="ImmutableMultimap.html#iteration">grouped by key</a>.
       *
       * <p>Example:
       *
       * <pre>{@code
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 17.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimap.java

     * So, using the multimap shown above as an example, the {@link #size} is {@code 3}, not {@code 2},
     * and the {@link #values} collection is {@code [1, 2, 3]}, not {@code [[1, 2], [3]]}. For those
     * times when the first style is more useful, use the multimap's {@link #asMap} view (or create a
     * {@code Map<K, Collection<V>>} in the first place).
     *
     * <h3>Example</h3>
     *
     * <p>The following code:
     *
     * <pre>{@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedBytes.java

          return (byte) 0;
        }
        return (byte) value;
      }
    
      /**
       * Compares the two specified {@code byte} values, treating them as unsigned values between 0 and
       * 255 inclusive. For example, {@code (byte) -127} is considered greater than {@code (byte) 127}
       * because it is seen as having the value of positive {@code 129}.
       *
       * @param a the first {@code byte} to compare
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/TypeResolver.java

     * 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
     * the context of {@code class MyStringList implements List<String>}). In such case, prefer to use
    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. guava/src/com/google/common/base/Strings.java

      }
    
      /**
       * Returns a string, of length at least {@code minLength}, consisting of {@code string} prepended
       * with as many copies of {@code padChar} as are necessary to reach that length. For example,
       *
       * <ul>
       *   <li>{@code padStart("7", 3, '0')} returns {@code "007"}
       *   <li>{@code padStart("2010", 3, '0')} returns {@code "2010"}
       * </ul>
       *
    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)
Back to top