Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 370 for enums (1.14 sec)

  1. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

      }
    
      private static void assertFailsToDecode(
          BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) {
        // We use this somewhat weird pattern with an enum for each assertion we want to make as a way
        // of dealing with the fact that one of the assertions is @GwtIncompatible but we don't want to
        // have to have duplicate @GwtIncompatible test methods just to make that assertion.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/features/SetFeature.java

    /**
     * Optional features of classes derived from {@code Set}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum SetFeature implements Feature<Set> {
      GENERAL_PURPOSE(CollectionFeature.GENERAL_PURPOSE);
    
      private final Set<Feature<? super Set>> implied;
    
      SetFeature(Feature<? super Set>... implied) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java

         * @return the type
         */
        @Nonnull
        @Override
        default Type require(@Nonnull String id) {
            return lookup(id).orElseThrow(() -> new IllegalArgumentException("Unknown extensible enum value '" + id + "'"));
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/BenchmarkHelpers.java

          for (int offset = 0; offset < 10; offset++) {
            sb.append((char) (base + offset));
          }
        }
        ALL_DIGITS = sb.toString();
      }
    
      /** Sample CharMatcher instances for benchmarking. */
      public enum SampleMatcherConfig {
        WHITESPACE(CharMatcher.whitespace(), WHITESPACE_CHARACTERS),
        HASH(CharMatcher.is('#'), "#"),
        ASCII(CharMatcher.ascii(), ASCII_CHARACTERS),
        WESTERN_DIGIT("0123456789"),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/RemovalCause.java

    import java.util.Iterator;
    import java.util.Map;
    import java.util.concurrent.ConcurrentMap;
    
    /**
     * The reason why a cached entry was removed.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    public enum RemovalCause {
      /**
       * The entry was manually removed by the user. This can result from the user invoking {@link
       * Cache#invalidate}, {@link Cache#invalidateAll(Iterable)}, {@link Cache#invalidateAll()}, {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ResolverType.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    /**
     * Enumeration of usable resolver types
     *
     * @author mbechler
     *
     */
    public enum ResolverType {
        /**
         * Resolve using WINS server
         */
        RESOLVER_WINS,
    
        /**
         * NETBIOS broadcast
         */
        RESOLVER_BCAST,
    
        /**
         * DNS
         */
        RESOLVER_DNS,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

     *
     * @author Mike Bostock
     */
    @J2ktIncompatible // EnumHashBiMap
    @GwtCompatible
    @NullUnmarked
    public class EnumHashBiMapTest extends TestCase {
      private enum Currency {
        DOLLAR,
        FRANC,
        PESO,
        POUND,
        YEN
      }
    
      private enum Country {
        CANADA,
        CHILE,
        JAPAN,
        SWITZERLAND,
        UK
      }
    
      @AndroidIncompatible // test-suite builders
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/After.java

    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.TYPE)
    @Inherited
    public @interface After {
    
        /**
         * Type of pointer.
         * @see org.apache.maven.api.Lifecycle.Pointer.Type
         */
        enum Type {
            PROJECT,
            DEPENDENCIES,
            CHILDREN
        }
    
        /**
         * The phase name.
         */
        String phase();
    
        /**
         * The type of this pointer.
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 29 05:48:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableEnumSet.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import java.util.Set;
    
    /**
     * GWT emulation of {@link ImmutableEnumSet}. The type parameter is not bounded by {@code Enum<E>}
     * to avoid code-size bloat.
     *
     * @author Hayward Chan
     */
    final class ImmutableEnumSet<E> extends ForwardingImmutableSet<E> {
      static <E> ImmutableSet<E> asImmutable(Set<E> delegate) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

     */
    @Deprecated(since = "4.0.0")
    public interface Problem {
    
        /**
         * The different severity levels for a problem, in decreasing order.
         */
        enum Severity {
            FATAL, //
            ERROR, //
            WARNING //
        }
    
        /**
         * Gets the hint about the source of the problem. While the syntax of this hint is unspecified and depends on the
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top