Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 294 for Enum (0.12 sec)

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

    @ElementTypesAreNonnullByDefault
    final class SortedLists {
      private SortedLists() {}
    
      /**
       * A specification for which index to return if the list contains at least one element that
       * compares as equal to the key.
       */
      enum KeyPresentBehavior {
        /**
         * Return the index of any list element that compares as equal to the key. No guarantees are
         * made as to which index is returned, if more than one element compares as equal to the key.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/Kerb5Context.java

                }
            }
        }
    
    
        @SuppressWarnings ( "unchecked" )
        private static <T extends Enum<T>> Object getSessionKeyInquireType ( Class<?> inquireTypeClass ) {
            return Enum.valueOf((Class<T>) inquireTypeClass, "KRB5_GET_SESSION_KEY");
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Aug 02 08:22:42 GMT 2018
    - 13.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MultimapBuilder.java

            return new TreeMap<>(comparator);
          }
        };
      }
    
      /**
       * Uses an {@link EnumMap} to map keys to value collections.
       *
       * @since 16.0
       */
      public static <K0 extends Enum<K0>> MultimapBuilderWithKeys<K0> enumKeys(Class<K0> keyClass) {
        checkNotNull(keyClass);
        return new MultimapBuilderWithKeys<K0>() {
          @SuppressWarnings("unchecked")
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

       * (determining which scenarios are applicable to which methods and what the outcome should be)
       * takes place in {@link #addTests(TestSuite, Method)}.
       */
      private enum Scenario {
        SATISFIED_AND_UNOCCUPIED_BEFORE_ENTERING,
        UNSATISFIED_AND_UNOCCUPIED_BEFORE_ENTERING,
        SATISFIED_AND_OCCUPIED_BEFORE_ENTERING,
        SATISFIED_UNOCCUPIED_AND_INTERRUPTED_BEFORE_ENTERING,
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

      val platform = PlatformRule()
    
      lateinit var cancelMode: CancelMode
      lateinit var connectionType: ConnectionType
    
      private var threadToCancel: Thread? = null
    
      enum class CancelMode {
        CANCEL,
        INTERRUPT,
      }
    
      enum class ConnectionType {
        H2,
        HTTPS,
        HTTP,
      }
    
      @JvmField @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Service.java

       * <p>The ordering of the {@link State} enum is defined such that if there is a state transition
       * from {@code A -> B} then {@code A.compareTo(B) < 0}. N.B. The converse is not true, i.e. if
       * {@code A.compareTo(B) < 0} then there is <b>not</b> guaranteed to be a valid state transition
       * {@code A -> B}.
       *
       * @since 9.0 (in 1.0 as {@code com.google.common.base.Service.State})
       */
      enum State {
    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)
  7. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertEquals(value, generator.generateFresh(type));
        assertEquals(value, generator.generateFresh(type));
      }
    
      private enum EmptyEnum {}
    
      private enum OneConstantEnum {
        CONSTANT1
      }
    
      private enum TwoConstantEnum {
        CONSTANT1,
        CONSTANT2
      }
    
      private static void assertCanGenerateOnly(TypeToken<?> type, Object expected) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 17.2K bytes
    - Viewed (0)
  8. fastapi/_compat.py

    from collections import deque
    from copy import copy
    from dataclasses import dataclass, is_dataclass
    from enum import Enum
    from typing import (
        Any,
        Callable,
        Deque,
        Dict,
        FrozenSet,
        List,
        Mapping,
        Sequence,
        Set,
        Tuple,
        Type,
        Union,
    )
    
    from fastapi.exceptions import RequestErrorModel
    from fastapi.types import IncEx, ModelNameMap, UnionType
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  9. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

     */
    private
    val mappedTypeStrings =
        mapOf(
            // Built-ins
            "java.lang.Cloneable" to "kotlin.Cloneable",
            "java.lang.Comparable" to "kotlin.Comparable",
            "java.lang.Enum" to "kotlin.Enum",
            "java.lang.annotation.Annotation" to "kotlin.Annotation",
            "java.lang.Deprecated" to "kotlin.Deprecated",
            "java.lang.CharSequence" to "kotlin.CharSequence",
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

          assertNotSame(
              "Expected to return fresh instance for: " + mutableClass,
              instance,
              ArbitraryInstances.get(mutableClass));
        }
      }
    
      private enum EmptyEnum {}
    
      private enum Direction {
        UP,
        DOWN
      }
    
      public interface SomeInterface {}
    
      public abstract static class SomeAbstractClass {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.7K bytes
    - Viewed (0)
Back to top