Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for declare (0.17 sec)

  1. android/guava/src/com/google/common/collect/EnumBiMap.java

       * probably work around it by changing how we annotate the J2CL EnumMap, but that's probably more
       * trouble than just using Object.class.)
       *
       * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use
       * them under J2CL—or, as an unfortunate side effect, under GWT. We do still give the fields
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  2. .github/workflows/scorecard.yml

      # To guarantee Maintained check is occasionally updated. See
      # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
      schedule:
        - cron: '45 9 * * 0'
      push:
        branches: [ "master" ]
    
    # Declare default permissions as read only.
    permissions: read-all
    
    jobs:
      analysis:
        name: Scorecard analysis
        runs-on: ubuntu-latest
        permissions:
          # Needed to upload the results to code-scanning dashboard.
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 29 23:37:56 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Closer.java

       *
       * @return this method does not return; it always throws
       * @throws IOException when the given throwable is an IOException
       * @throws X1 when the given throwable is of the declared type X1
       * @throws X2 when the given throwable is of the declared type X2
       */
      public <X1 extends Exception, X2 extends Exception> RuntimeException rethrow(
          Throwable e, Class<X1> declaredType1, Class<X2> declaredType2) throws IOException, X1, X2 {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMapEntry.java

       * be upcast back to ImmutableMapEntry[] (or Object[], etc.), or allowed to escape the class.
       *
       * <p>The returned array has all its elements set to their initial null values. However, we don't
       * declare it as {@code @Nullable ImmutableMapEntry[]} because our checker doesn't require newly
       * created arrays to have a {@code @Nullable} element type even when they're created directly with
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Platform.java

       * @param reference any array of the desired type
       * @param length the length of the new array
       */
      /*
       * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
       * would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard
       * about arrays for now, as they're a mess. (We previously discussed this in the review of
       * ObjectArrays, which is the main caller of this method.)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

       * FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      /*
       * TODO(cpovirk): or we could make HOLES_FORBIDDEN a feature. Or we could declare that
       * implementations are permitted to throw IAE if a hole is requested, and we could update
       * test*Hole to permit IAE. (But might this ignore genuine bugs?) But see the TODO above
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

      }
    
      /**
       * Returns the {@linkplain #getSampleElements() sample elements} as ordered by {@link
       * TestContainerGenerator#order(List)}. Tests should use this method only if they declare
       * requirement {@link com.google.common.collect.testing.features.CollectionFeature#KNOWN_ORDER}.
       */
      protected List<E> getOrderedElements() {
        List<E> list = new ArrayList<>();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Joiner.java

         *
         * Unfortunately, we don't distinguish between these two cases in our public API: Joiner.on(...)
         * and Joiner.on(...).useForNull(...) both declare the same return type: plain Joiner. To ensure
         * that users *can* pass null arguments to Joiner, we annotate it as if it always tolerates null
         * inputs, rather than as if it never tolerates them.
         *
    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)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

      abstract void handleAllCompleted();
    
      /** Adds the chain to the seen set, and returns whether all the chain was new to us. */
      private static boolean addCausalChain(Set<Throwable> seen, Throwable param) {
        // Declare a "true" local variable so that the Checker Framework will infer nullness.
        Throwable t = param;
    
        for (; t != null; t = t.getCause()) {
          boolean firstTimeSeen = seen.add(t);
          if (!firstTimeSeen) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/EnumBiMap.java

       * probably work around it by changing how we annotate the J2CL EnumMap, but that's probably more
       * trouble than just using Object.class.)
       *
       * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use
       * them under J2CL—or, as an unfortunate side effect, under GWT. We do still give the fields
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 6.3K bytes
    - Viewed (0)
Back to top