Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 171 for Cannon (8.96 sec)

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

        checkNotClosed();
        target.append(charSeq, start, end);
        return this;
      }
    
      private void checkNotClosed() throws IOException {
        if (closed) {
          throw new IOException("Cannot write to a closed writer.");
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ListsImplTest.java

      }
    
      public void testIndexOfImpl_null() {
        List<String> toTest;
        try {
          toTest = createList(String.class, null, "A", "B", null, "C", null);
        } catch (NullPointerException e) {
          // example cannot handle nulls, test invalid
          return;
        }
        int[] expected = {0, 1, 2, 0, 4, 0};
        checkIndexOf(toTest, expected);
      }
    
      public void testLastIndexOfImpl_nonNull() {
    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/base/Converter.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    /*
     * 1. The type parameter is <T> rather than <T extends @Nullable> so that we can use T in the
     * doForward and doBackward methods to indicate that the parameter cannot be null. (We also take
     * advantage of that for convertAll, as discussed on that method.)
     *
     * 2. The supertype of this class could be `Function<@Nullable A, @Nullable B>`, since
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Service.java

     * therefore every method of the listener will be called at most once. N.B. The {@link State#FAILED}
     * and {@link State#TERMINATED} states are terminal states, once a service enters either of these
     * states it cannot ever leave them.
     *
     * <p>Implementors of this interface are strongly encouraged to extend one of the abstract classes
     * in this package which implement this interface and make the threading and state management
     * easier.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/MoreObjects.java

         *
         * <p>After calling this method, you can keep adding more properties to later call toString()
         * again and get a more complete representation of the same object; but properties cannot be
         * removed, so this only allows limited reuse of the helper instance. The helper allows
         * duplication of properties (multiple name/value pairs with the same name can be added).
         */
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SortedSetMultimap.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@code SetMultimap} whose set of values for a given key are kept sorted; that is, they comprise
     * a {@link SortedSet}. It cannot hold duplicate key-value pairs; adding a key-value pair that's
     * already in the multimap has no effect. This interface does not specify the ordering of the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/Cache.java

       *   <li>eliminating the error-prone caching boilerplate
       *   <li>tracking load {@linkplain #stats statistics}
       * </ul>
       *
       * <p>Among the further improvements that {@code LoadingCache} can provide but this method cannot:
       *
       * <ul>
       *   <li>consolidation of the loader logic to {@linkplain CacheBuilder#build(CacheLoader) a single
       *       authoritative location}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/PercentEscaper.java

        // space is a safe character then setting plusForSpace is meaningless.
        if (plusForSpace && safeChars.contains(" ")) {
          throw new IllegalArgumentException(
              "plusForSpace cannot be specified when space is a 'safe' character");
        }
        this.plusForSpace = plusForSpace;
        this.safeOctets = createSafeOctets(safeChars);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.7K bytes
    - Viewed (0)
  9. LICENSE

              notices within Derivative Works that You distribute, alongside
              or as an addendum to the NOTICE text from the Work, provided
              that such additional attribution notices cannot be construed
              as modifying the License.
    
          You may add Your own copyright statement to Your modifications and
          may provide additional or different license terms and conditions
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 22 18:59:39 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     *   x = null;  // Hint to the JIT that x is stack-unreachable
     *   return weakRef;
     * }
     * public void testFooLeak() {
     *   GcFinalization.awaitClear(fooWeakRef());
     * }
     * }</pre>
     *
     * <p>This class cannot currently be used to test soft references, since this class does not try to
     * create the memory pressure required to cause soft references to be cleared.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
Back to top