Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 322 for enums (0.04 sec)

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

       * with an implementation specialized for enums. Unlike {@link ImmutableSet#toImmutableSet}, the
       * resulting set will iterate over elements in their enum definition order, not encounter order.
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
      public static <E extends Enum<E>> Collector<E, ?, ImmutableSet<E>> toImmutableEnumSet() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  2. okhttp/api/android/okhttp.api

    	public static final field QUIC Lokhttp3/Protocol;
    	public static final field SPDY_3 Lokhttp3/Protocol;
    	public static final fun get (Ljava/lang/String;)Lokhttp3/Protocol;
    	public static fun getEntries ()Lkotlin/enums/EnumEntries;
    	public fun toString ()Ljava/lang/String;
    	public static fun valueOf (Ljava/lang/String;)Lokhttp3/Protocol;
    	public static fun values ()[Lokhttp3/Protocol;
    }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.3K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.29.md

    - CEL cost estimator no longer treats enums as unbounded strings when determining its length. Instead, the length is set to the longest possible enum value. ([#121085](https://github.com/kubernetes/kubernetes/pull/121085), [@jiahuif](https://github.com/jiahuif)) [SIG API Machinery]
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Mar 12 00:36:01 UTC 2025
    - 429.6K bytes
    - Viewed (1)
  4. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

      // Wrapper of EnumMultiset factory methods, because we need to skip create(Class).
      // create(Enum1.class) is equal to create(Enum2.class) but testEquals() expects otherwise.
      // For the same reason, we need to skip create(Iterable, Class).
      private static class EnumMultisetFactory {
        @Keep // used reflectively by testEquals
        public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) {
          return EnumMultiset.create(elements);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.23.md

    ## Changelog since v1.23.5
    
    ## Changes by Kind
    
    ### API Change
    
    - Omits alpha-level enums from the static openapi file captured in api/openapi-spec ([#109179](https://github.com/kubernetes/kubernetes/pull/109179), [@liggitt](https://github.com/liggitt)) [SIG Apps and Auth]
    
    ### Feature
    
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Tue Feb 28 21:06:52 UTC 2023
    - 424.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/PredicatesTest.java

      public void testIn_compilesWithExplicitSupertype() {
        Collection<Number> nums = ImmutableSet.of();
        Predicate<Number> p1 = Predicates.in(nums);
        Predicate<Object> p2 = Predicates.<Object>in(nums);
        // The next two lines are not expected to compile.
        // Predicate<Integer> p3 = Predicates.in(nums);
        // Predicate<Integer> p4 = Predicates.<Integer>in(nums);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      public void testIn_compilesWithExplicitSupertype() {
        Collection<Number> nums = ImmutableSet.of();
        Predicate<Number> p1 = Predicates.in(nums);
        Predicate<Object> p2 = Predicates.<Object>in(nums);
        // The next two lines are not expected to compile.
        // Predicate<Integer> p3 = Predicates.in(nums);
        // Predicate<Integer> p4 = Predicates.<Integer>in(nums);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

      }
    
      /**
       * For a given Enum type, creates an immutable map from each of the Enum's values to a
       * corresponding LockGraphNode, with the {@code allowedPriorLocks} and {@code
       * disallowedPriorLocks} prepopulated with nodes according to the natural ordering of the
       * associated Enum values.
       */
      @VisibleForTesting
      static <E extends Enum<E>> Map<E, LockGraphNode> createNodes(Class<E> clazz) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 17:06:34 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

      }
    
      /**
       * For a given Enum type, creates an immutable map from each of the Enum's values to a
       * corresponding LockGraphNode, with the {@code allowedPriorLocks} and {@code
       * disallowedPriorLocks} prepopulated with nodes according to the natural ordering of the
       * associated Enum values.
       */
      @VisibleForTesting
      static <E extends Enum<E>> Map<E, LockGraphNode> createNodes(Class<E> clazz) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 17:06:34 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.24.md

    - Omit enum declarations from the static openapi file captured at https://git.k8s.io/kubernetes/api/openapi-spec. This file is used to generate API clients, and use of enums in those generated clients (rather than strings) can break forward compatibility with additional future values in those fields. See https://issue.k8s.io/109177 for details....
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Thu Aug 24 00:02:43 UTC 2023
    - 473.4K bytes
    - Viewed (0)
Back to top