Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for reasons (0.07 sec)

  1. android/guava/src/com/google/common/base/AbstractIterator.java

    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Note this class is a copy of {@link com.google.common.collect.AbstractIterator} (for dependency
     * reasons).
     */
    @GwtCompatible
    abstract class AbstractIterator<T extends @Nullable Object> implements Iterator<T> {
      private State state = State.NOT_READY;
    
      protected AbstractIterator() {}
    
      private enum State {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/AppendableWriter.java

        // than wrapping cbuf in a light-weight CharSequence.
        target.append(new String(cbuf, off, len));
      }
    
      /*
       * Override a few functions for performance reasons to avoid creating unnecessary strings.
       */
    
      @Override
      public void write(int c) throws IOException {
        checkNotClosed();
        target.append((char) c);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java

    /**
     * A {@link RunnableFuture} that also implements the {@link ListenableFuture} interface.
     *
     * <p>This should be used in preference to {@link ListenableFutureTask} when possible for
     * performance reasons.
     */
    @GwtCompatible
    class TrustedListenableFutureTask<V extends @Nullable Object> extends FluentFuture.TrustedFuture<V>
        implements RunnableFuture<V> {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/CaseFormat.java

        checkNotNull(format);
        checkNotNull(str);
        return (format == this) ? str : convert(format, str);
      }
    
      /** Enum values can override for performance reasons. */
      String convert(CaseFormat format, String s) {
        // deal with camel conversion
        StringBuilder out = null;
        int i = 0;
        int j = -1;
        while ((j = wordBoundary.indexIn(s, ++j)) != -1) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

    @GwtIncompatible
    public class ListenableFutureTask<V extends @Nullable Object> extends FutureTask<V>
        implements ListenableFuture<V> {
      // TODO(cpovirk): explore ways of making ListenableFutureTask final. There are some valid reasons
      // such as BoundedQueueExecutorService to allow extends but it would be nice to make it final to
      // avoid unintended usage.
    
      // The execution list to hold our listeners.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/AbstractIterator.java

    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Note this class is a copy of {@link com.google.common.collect.AbstractIterator} (for dependency
     * reasons).
     */
    @GwtCompatible
    abstract class AbstractIterator<T extends @Nullable Object> implements Iterator<T> {
      private State state = State.NOT_READY;
    
      protected AbstractIterator() {}
    
      private enum State {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. guava/pom.xml

              <detectJavaApiLink>false</detectJavaApiLink>
              <offlineLinks>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 06 21:05:32 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

                  builderWithKeys.treeSetValues(),
                  builderWithKeys.enumSetValues(RoundingMode.class))) {
            /*
             * Temporarily inlining SerializableTester here for obscure internal reasons.
             */
            reserializeAndAssert(builder.build());
          }
        }
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        private static void reserializeAndAssert(Object object) throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

    @GwtIncompatible
    public class ListenableFutureTask<V extends @Nullable Object> extends FutureTask<V>
        implements ListenableFuture<V> {
      // TODO(cpovirk): explore ways of making ListenableFutureTask final. There are some valid reasons
      // such as BoundedQueueExecutorService to allow extends but it would be nice to make it final to
      // avoid unintended usage.
    
      // The execution list to hold our listeners.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/escape/UnicodeEscaper.java

     * when it encounters surrogate pairs. This class facilitates the correct escaping of all Unicode
     * characters.
     *
     * <p>As there are important reasons, including potential security issues, to handle Unicode
     * correctly if you are considering implementing a new escaper you should favor using UnicodeEscaper
     * wherever possible.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top