Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 547 for Enum (0.1 sec)

  1. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

          builder.append("CANCELLED");
        } catch (RuntimeException e) {
          builder.append("UNKNOWN, cause=[").append(e.getClass()).append(" thrown from get()]");
        }
      }
    
      private enum State {
        PENDING {
          @Override
          boolean isDone() {
            return false;
          }
    
          @Override
          void maybeThrowOnGet(@Nullable Throwable cause) throws ExecutionException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 19:37:41 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        },
        ADD_COLLECTION {
          @Override
          void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) {
            List<Double> list = new ArrayList<>();
            double num = RANDOM.nextInt(10);
            for (int i = 0; i < num; i++) {
              list.add((double) counter.getAndIncrement());
            }
            builder.addAll(list);
          }
        },
        ADD_ITERABLE {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

     * which case the root node of the resulting graph has no associated dependency.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface DependencyResolverRequest {
    
        enum RequestType {
            COLLECT,
            FLATTEN,
            RESOLVE
        }
    
        @Nonnull
        Session getSession();
    
        @Nonnull
        RequestType getRequestType();
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

     * such as agent paths.
     *
     * @see org.apache.maven.api.services.DependencyResolverResult#getDispatchedPaths()
     *
     * @since 4.0.0
     */
    @Experimental
    public enum JavaPathType implements PathType {
        /**
         * The path identified by the Java {@code --class-path} option.
         * Used for compilation, execution and Javadoc among others.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(TypeToken.of(Object.class), new TypeToken<T[]>() {}.getGenericSuperclass());
      }
    
      public <T extends Enum<T> & Serializable>
          void testGetGenericSuperclass_typeVariable_boundIsFBoundedClass() {
        assertEquals(
            new TypeToken<Enum<T>>() {},
            TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericSuperclass());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    import org.gradle.jvm.toolchain.JvmVendorSpec
    import org.gradle.jvm.toolchain.internal.LocationListInstallationSupplier.JAVA_INSTALLATIONS_PATHS_PROPERTY
    import org.jetbrains.kotlin.util.capitalizeDecapitalize.toUpperCaseAsciiOnly
    
    
    enum class FlakyTestStrategy {
        INCLUDE, EXCLUDE, ONLY
    }
    
    
    object BuildParams {
        const val BUILD_BRANCH = "BUILD_BRANCH"
        const val BUILD_COMMIT_ID = "BUILD_COMMIT_ID"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            md4.update(Strings.getUNIBytes(this.password));
            byte[] ntHash = md4.digest();
            return ntHash;
        }
    
        /**
         * Authentication strategy
         * 
         * 
         */
        public enum AuthenticationType {
            /**
             * Null/anonymous authentication
             * 
             * Login with no credentials
             */
            NULL,
            /**
             * Guest authentication
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * long[])}.
       */
      public static Comparator<long[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      enum LexicographicalComparator implements Comparator<long[]> {
        INSTANCE;
    
        @Override
        public int compare(long[] left, long[] right) {
          int minLength = Math.min(left.length, right.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        }
    
        @Override
        public Entry<K, V>[] createArray(int length) {
          return delegate.createArray(length);
        }
      }
    
      /** Two bounds (from and to) define how to build a subMap. */
      public enum Bound {
        INCLUSIVE,
        EXCLUSIVE,
        NO_BOUND;
      }
    
      public static class SortedSetSubsetTestSetGenerator<E extends @Nullable Object>
          implements TestSortedSetGenerator<E> {
        final Bound to;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      }
    
      private static int totalSize(Iterable<? extends Entry<?>> entries) {
        int sum = 0;
        for (Entry<?> entry : entries) {
          sum += entry.getCount();
        }
        return sum;
      }
    
      private enum SubMultisetSpec {
        TAIL_CLOSED {
          @Override
          <E> List<Entry<E>> expectedEntries(int targetEntry, List<Entry<E>> entries) {
            return entries.subList(targetEntry, entries.size());
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top