Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 517 for Enum (0.05 sec)

  1. src/main/java/jcifs/smb/MultiChannelManager.java

        private final AtomicLong totalChannelsCreated = new AtomicLong(0);
    
        /**
         * Load balancing strategies for distributing operations across channels.
         */
        public enum LoadBalancingStrategy {
            /** Round-robin distribution */
            ROUND_ROBIN,
            /** Least connections */
            LEAST_CONNECTIONS,
            /** Random selection */
            RANDOM,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMaker.java

       * A dummy singleton value type used by {@link Interners}.
       *
       * <p>{@link MapMakerInternalMap} can optimize for memory usage in this case; see {@link
       * MapMakerInternalMap#createWithDummyValues}.
       */
      enum Dummy {
        VALUE
      }
    
      @CanIgnoreReturnValue
      MapMaker setValueStrength(Strength strength) {
        checkState(valueStrength == null, "Value strength was already set to %s", valueStrength);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

            int num = random.nextInt(10);
            for (int i = 0; i < num; i++) {
              list.add(counter.getAndIncrement());
            }
            builder.addAll(list);
          }
        },
        ADD_ITERABLE {
          @Override
          void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) {
            List<Integer> list = new ArrayList<>();
            int num = random.nextInt(10);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheBuilder.java

            public StatsCounter get() {
              return new SimpleStatsCounter();
            }
          };
    
      enum NullListener implements RemovalListener<Object, Object> {
        INSTANCE;
    
        @Override
        public void onRemoval(RemovalNotification<Object, Object> notification) {}
      }
    
      enum OneWeigher implements Weigher<Object, Object> {
        INSTANCE;
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  5. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Suppliers.java

        SupplierFunction<T> sf = (SupplierFunction<T>) SupplierFunctionImpl.INSTANCE;
        return sf;
      }
    
      private interface SupplierFunction<T extends @Nullable Object> extends Function<Supplier<T>, T> {}
    
      private enum SupplierFunctionImpl implements SupplierFunction<@Nullable Object> {
        INSTANCE;
    
        // Note: This makes T a "pass-through type"
        @Override
        public @Nullable Object apply(Supplier<@Nullable Object> input) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

         * cancellation purposes are the main reason to access `futures`, as discussed in its docs.)
         */
        this.futures = null;
      }
    
      enum ReleaseResourcesReason {
        OUTPUT_FUTURE_DONE,
        ALL_INPUT_FUTURES_PROCESSED,
      }
    
      /**
       * If {@code allMustSucceed} is true, called as each future completes; otherwise, if {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        suite.addTestSuite(ImmutableSortedSetTest.class);
    
        return suite;
      }
    
      // enum singleton pattern
      private enum StringLengthComparator implements Comparator<String> {
        INSTANCE;
    
        @Override
        public int compare(String a, String b) {
          return a.length() - b.length();
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  9. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  10. 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 extends Request<Session> {
    
        enum RequestType {
            COLLECT,
            FLATTEN,
            RESOLVE
        }
    
        @Nonnull
        RequestType getRequestType();
    
        @Nonnull
        Optional<Project> getProject();
    
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top