Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for Ernest (0.16 sec)

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

      }
    
      private static Iterable<@Nullable Object> iterable(
          @CheckForNull Object first, @CheckForNull Object second, @Nullable Object[] rest) {
        checkNotNull(rest);
        return new AbstractList<@Nullable Object>() {
          @Override
          public int size() {
            return rest.length + 2;
          }
    
          @Override
          @CheckForNull
          public Object get(int index) {
            switch (index) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/package-info.java

     *   <li>{@link MoreObjects}
     *   <li>{@link Preconditions}
     *   <li>{@link StandardSystemProperty}
     *   <li>{@link Stopwatch}
     *   <li>{@link Throwables}
     *   <li>{@link Verify}
     * </ul>
     *
     * <h3>The rest</h3>
     *
     * This package also contains some classes with niche use cases (e.g., {@link Utf8} and {@link
     * Defaults}), as well as a number of classes that have been superseded by additions to the JDK.
     */
    @CheckReturnValue
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 16:48:06 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/CharEscaper.java

        char[] dest = Platform.charBufferFromThreadLocal();
        int destSize = dest.length;
        int destIndex = 0;
        int lastEscape = 0;
    
        // Loop through the rest of the string, replacing when needed into the
        // destination buffer, which gets grown as needed as well.
        for (; index < slen; index++) {
    
          // Get a replacement for the current character.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/internal/Finalizer.java

     * It is public so we can access it reflectively across class loaders in secure environments.
     *
     * <p>This class can't depend on other Guava code. If we were to load this class in the same class
     * loader as the rest of Guava, this thread would keep an indirect strong reference to the class
     * loader and prevent it from being garbage collected. This poses a problem for environments where
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

     * {@code Nullable}, {@code CheckForNull}, {@code NullableType}, or {@code NullableDecl}.
     *
     * <p>The tested methods and constructors are invoked -- each time with one parameter being null and
     * the rest not null -- and the test fails if no expected exception is thrown. {@code
     * NullPointerTester} uses best effort to pick non-null default values for many common JDK and Guava
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 22.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ReverseNaturalOrdering.java

      @Override
      public <E extends Comparable<?>> E min(E a, E b) {
        return NaturalOrdering.INSTANCE.max(a, b);
      }
    
      @Override
      public <E extends Comparable<?>> E min(E a, E b, E c, E... rest) {
        return NaturalOrdering.INSTANCE.max(a, b, c, rest);
      }
    
      @Override
      public <E extends Comparable<?>> E min(Iterator<E> iterator) {
        return NaturalOrdering.INSTANCE.max(iterator);
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 2.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Joiner.java

      }
    
      private static Iterable<@Nullable Object> iterable(
          @CheckForNull Object first, @CheckForNull Object second, @Nullable Object[] rest) {
        checkNotNull(rest);
        return new AbstractList<@Nullable Object>() {
          @Override
          public int size() {
            return rest.length + 2;
          }
    
          @Override
          @CheckForNull
          public Object get(int index) {
            switch (index) {
    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)
  8. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       *
       * <p>The array {@code rest} must not be longer than {@code Integer.MAX_VALUE - 1}.
       */
      // Use (first, rest) so that `of(someIntArray)` won't compile (they should use copyOf), which is
      // okay since we have to copy the just-created array anyway.
      public static ImmutableIntArray of(int first, int... rest) {
        checkArgument(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

       *
       * <p>The array {@code rest} must not be longer than {@code Integer.MAX_VALUE - 1}.
       */
      // Use (first, rest) so that `of(someDoubleArray)` won't compile (they should use copyOf), which
      // is okay since we have to copy the just-created array anyway.
      public static ImmutableDoubleArray of(double first, double... rest) {
        checkArgument(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertFullyRead(reader);
    
        // reset, skip, mark, then read the rest
        reader.reset();
        assertEquals(5, reader.skip(5));
        reader.mark(Integer.MAX_VALUE);
        assertEquals(string.substring(5), readFully(reader));
        assertFullyRead(reader);
    
        // reset to the mark and then read the rest
        reader.reset();
        assertEquals(string.substring(5), readFully(reader));
        assertFullyRead(reader);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
Back to top