Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 237 for mapped (0.2 sec)

  1. android/guava-tests/test/com/google/common/base/JoinerTest.java

            @Override
            public Appendable append(@Nullable CharSequence csq) throws IOException {
              throw new IOException();
            }
    
            @Override
            public Appendable append(@Nullable CharSequence csq, int start, int end)
                throws IOException {
              throw new IOException();
            }
    
            @Override
            public Appendable append(char c) throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Types.java

          if (ownerType != null && JavaVersion.CURRENT.jdkTypeDuplicatesOwnerName()) {
            builder.append(JavaVersion.CURRENT.typeName(ownerType)).append('.');
          }
          return builder
              .append(rawType.getName())
              .append('<')
              .append(COMMA_JOINER.join(transform(argumentsList, JavaVersion.CURRENT::typeName)))
              .append('>')
              .toString();
        }
    
        @Override
        public int hashCode() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          StringBuilder message = new StringBuilder(requireNonNull(super.getMessage()));
          for (Throwable t = conflictingStackTrace; t != null; t = t.getCause()) {
            message.append(", ").append(t.getMessage());
          }
          return message.toString();
        }
      }
    
      /**
       * Internal Lock implementations implement the {@code CycleDetectingLock} interface, allowing the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        reader = new CharSequenceReader(charSequence);
        buf = new char[5];
        StringBuilder builder = new StringBuilder();
        int read;
        while ((read = reader.read(buf, 0, buf.length)) != -1) {
          builder.append(buf, 0, read);
        }
        assertEquals(expected, builder.toString());
        assertFullyRead(reader);
    
        // read all to one CharBuffer
        reader = new CharSequenceReader(charSequence);
    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)
  5. guava-tests/test/com/google/common/collect/TreeTraverserTest.java

      static String iterationOrder(Iterable<? extends Node> iterable) {
        StringBuilder builder = new StringBuilder();
        for (Node t : iterable) {
          builder.append(t.value);
        }
        StringBuilder forEachBuilder = new StringBuilder();
        iterable.forEach(t -> forEachBuilder.append(t.value));
        assertTrue(
            "Iterator content was " + builder + " but forEach content was " + forEachBuilder,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Collections2.java

        StringBuilder sb = newStringBuilderForCollection(collection.size()).append('[');
        boolean first = true;
        for (Object o : collection) {
          if (!first) {
            sb.append(", ");
          }
          first = false;
          if (o == collection) {
            sb.append("(this Collection)");
          } else {
            sb.append(o);
          }
        }
        return sb.append(']').toString();
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

    import java.io.File;
    
    /**
     * Android-incompatible tests for {@link FileBackedOutputStream}.
     *
     * @author Chris Nokleberg
     */
    @AndroidIncompatible // Finalization probably just doesn't happen fast enough?
    public class FileBackedOutputStreamAndroidIncompatibleTest extends IoTestCase {
    
      public void testFinalizeDeletesFile() throws Exception {
        byte[] data = newPreFilledByteArray(100);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 08 21:20:23 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * #iterator()} method after the first, and whose iterator is always unmodifiable.
     *
     * <p>The {@code Iterable} specification does not make it absolutely clear what should happen on a
     * second invocation, so implementors have made various choices, including:
     *
     * <ul>
     *   <li>returning the same iterator again
     *   <li>throwing an exception of some kind
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       continuing to run {@code FooTest} itself. This is exactly what happens with {@code
     *       AndroidIncompatible}. But I'm not sure what would happen if we annotated the {@code
     *       suite()} method with {@code Suppress}. Would {@code FooTest} itself be suppressed, too?
     *   <li>In at least one case, a use of {@code sun.misc.FpUtils}, the test will not even
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/Utf8Test.java

            if (utf8Length != Utf8.encodedLength(sb)) {
              StringBuilder repro = new StringBuilder();
              for (int j = 0; j < sb.length(); j++) {
                repro.append(" ").append((int) sb.charAt(j)); // GWT compatible
              }
              assertEquals(repro.toString(), utf8Length, Utf8.encodedLength(sb));
            }
          }
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top