Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 313 for enums (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapEntrySetTester<K, V> extends AbstractMapTester<K, V> {
      private enum IncomparableType {
        INSTANCE;
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testIteratorRemoveOnly() {
        Set<Entry<K, V>> entrySet = getMap().entrySet();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/testing/CollectorTester.java

        this.equivalence = checkNotNull(equivalence);
      }
    
      /**
       * Different orderings for combining the elements of an input array, which must all produce the
       * same result.
       */
      enum CollectStrategy {
        /** Get one accumulator and accumulate the elements into it sequentially. */
        SEQUENTIAL {
          @Override
          final <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu May 15 21:47:56 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/ElementOrder.java

       *       Some methods may have stronger guarantees.
       *   <li>INSERTION: insertion ordering is guaranteed.
       *   <li>SORTED: ordering according to a supplied comparator is guaranteed.
       * </ul>
       */
      public enum Type {
        UNORDERED,
        STABLE,
        INSERTION,
        SORTED
      }
    
      private ElementOrder(Type type, @Nullable Comparator<T> comparator) {
        this.type = checkNotNull(type);
        this.comparator = comparator;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

        assertThat(ComparisonChain.start().compareTrueFirst(false, true).result()).isGreaterThan(0);
        assertThat(ComparisonChain.start().compareTrueFirst(false, false).result()).isEqualTo(0);
      }
    
      enum TriState {
        FALSE,
        MAYBE,
        TRUE,
      }
    
      static class Foo {
        private final String aString;
        private final int anInt;
        private final @Nullable TriState anEnum;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 03:05:13 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  5. guava/src/com/google/common/graph/ElementOrder.java

       *       Some methods may have stronger guarantees.
       *   <li>INSERTION: insertion ordering is guaranteed.
       *   <li>SORTED: ordering according to a supplied comparator is guaranteed.
       * </ul>
       */
      public enum Type {
        UNORDERED,
        STABLE,
        INSERTION,
        SORTED
      }
    
      private ElementOrder(Type type, @Nullable Comparator<T> comparator) {
        this.type = checkNotNull(type);
        this.comparator = comparator;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

     *
     * <p>Note: the Apache benchmarks are not open sourced to avoid the extra dependency.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ApacheBenchmark {
      private enum Impl {
        GUAVA {
          @Override
          public double factorialDouble(int n) {
            return DoubleMath.factorial(n);
          }
    
          @Override
          public int gcdInt(int a, int b) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/reflect/Types.java

            ClassOwnership.JVM_BEHAVIOR.getOwnerType(rawType), rawType, arguments);
      }
    
      /** Decides what owner type to use for constructing {@link ParameterizedType} from a raw class. */
      private enum ClassOwnership {
        OWNED_BY_ENCLOSING_CLASS {
          @Override
          @Nullable Class<?> getOwnerType(Class<?> rawType) {
            return rawType.getEnclosingClass();
          }
        },
        LOCAL_CLASS_HAS_NO_OWNER {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 31 19:34:24 GMT 2025
    - 24.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * @param <V> the value type of {@link EnumMap}
         * @param keyType the class object of the key type for this {@literal enum} map
         * @return a new instance of {@link EnumMap}
         * @see EnumMap#EnumMap(Class)
         */
        public static <K extends Enum<K>, V> EnumMap<K, V> newEnumMap(final Class<K> keyType) {
            return new EnumMap<>(keyType);
        }
    
        /**
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 49.9K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

            });
        }
    
        @Override
        public void visit(EnumDeclaration enumDeclaration, ClassMetaDataRepository<ClassMetaData> repository) {
            visitTypeDeclaration(enumDeclaration, repository, MetaType.ENUM, () -> {
                visitImplementedTypes(enumDeclaration);
                enumDeclaration.getEntries().forEach(entry -> getCurrentClass().addEnumConstant(entry.getNameAsString()));
                super.visit(enumDeclaration, repository);
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 19 15:07:24 GMT 2024
    - 11.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

         */
        protected GeoInfo createGeoInfo(final HttpServletRequest request) {
            return new GeoInfo(request);
        }
    
        /**
         * The search request type.
         */
        public enum SearchRequestType {
            /** Search request type. */
            SEARCH,
            /** Admin search request type. */
            ADMIN_SEARCH,
            /** JSON request type. */
            JSON,
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8K bytes
    - Click Count (0)
Back to Top