Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 227 for leash (0.52 sec)

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

      @Beta // TODO: b/288085449 - Remove.
      public static <T extends @Nullable Object> Collector<T, ?, List<T>> least(
          int k, Comparator<? super T> comparator) {
        checkNonnegative(k, "k");
        checkNotNull(comparator);
        return Collector.of(
            () -> TopKSelector.<T>least(k, comparator),
            TopKSelector::offer,
            TopKSelector::combine,
            TopKSelector::topK,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       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
     *       <i>compile</i> against Android. Now, this might be an artifact of our build system, one
    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)
  3. android/guava/src/com/google/common/collect/Multimap.java

       */
      boolean isEmpty();
    
      /**
       * Returns {@code true} if this multimap contains at least one key-value pair with the key {@code
       * key}.
       */
      boolean containsKey(@CompatibleWith("K") @CheckForNull Object key);
    
      /**
       * Returns {@code true} if this multimap contains at least one key-value pair with the value
       * {@code value}.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Ascii.java

      /**
       * File Separator: These four information separators may be used within data in optional fashion,
       * except that their hierarchical relationship shall be: FS is the most inclusive, then GS, then
       * RS, and US is least inclusive. (The content and length of a File, Group, Record, or Unit are
       * not specified.)
       *
       * @since 8.0
       */
      public static final byte FS = 28;
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilter.java

    import java.util.Collection;
    import java.util.LinkedHashSet;
    import java.util.Set;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * Apply multiple filters, accepting an artifact if at least one of the filters accepts it.
     *
     */
    @Deprecated
    public class OrArtifactFilter implements ArtifactFilter {
    
        private Set<ArtifactFilter> filters;
    
        public OrArtifactFilter() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/DiscreteDomain.java

          }
        }
        return current;
      }
    
      /**
       * Returns the unique least value of type {@code C} that is greater than {@code value}, or {@code
       * null} if none exists. Inverse operation to {@link #previous}.
       *
       * @param value any value of type {@code C}
       * @return the least value greater than {@code value}, or {@code null} if {@code value} is {@code
       *     maxValue()}
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Predicate.java

     * predicate::test}.
     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Predicate} (or the
     * appropriate primitive specialization such as {@code IntPredicate}) instead whenever possible.
     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Strings.java

       */
      public static boolean isNullOrEmpty(@CheckForNull String string) {
        return Platform.stringIsNullOrEmpty(string);
      }
    
      /**
       * Returns a string, of length at least {@code minLength}, consisting of {@code string} prepended
       * with as many copies of {@code padChar} as are necessary to reach that length. For example,
       *
       * <ul>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

                    }
                    if (selected == null) {
                        selected = type;
                    } else if (unknown) {
                        // More than one filtered value, and we don't know how to handle at least one of them.
                        // TODO: add a plugin mechanism for allowing plugin to specify their selection algorithm.
                        return Optional.empty();
                    }
                }
            }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

      }
    
      private <T> TypeToken<Iterable<T>> anyIterableType() {
        return new TypeToken<Iterable<T>>() {};
      }
    
      @SuppressWarnings("rawtypes") // TODO(cpovirk): Can we at least use Class<?> in some places?
      abstract static class TestTypeToInstanceMapGenerator
          implements TestMapGenerator<TypeToken, Object> {
    
        @Override
        public TypeToken<?>[] createKeyArray(int length) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top