Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 565 for esum (0.02 sec)

  1. guava/src/com/google/common/collect/ImmutableEnumSet.java

     *
     * @author Jared Levy
     */
    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    final class ImmutableEnumSet<E extends Enum<E>> extends ImmutableSet<E> {
      static <E extends Enum<E>> ImmutableSet<E> asImmutable(EnumSet<E> set) {
        switch (set.size()) {
          case 0:
            return ImmutableSet.of();
          case 1:
            return ImmutableSet.of(getOnlyElement(set));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java

     *
     */
    public interface ExecutionEvent {
    
        /**
         * The possible types of execution events.
         *
         * Note: do not modify this enum, or, make sure that this enum and
         * {@link org.apache.maven.api.EventType} have same elements in same order.
         */
        enum Type {
            ProjectDiscoveryStarted,
            SessionStarted,
            SessionEnded,
            ProjectSkipped,
            ProjectStarted,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 29 20:53:26 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/BloomFilterStrategies.java

     *
     * <p>Important: the order of the constants cannot change, and they cannot be deleted - we depend on
     * their ordinal for BloomFilter serialization.
     *
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     */
    enum BloomFilterStrategies implements BloomFilter.Strategy {
      /**
       * See "Less Hashing, Same Performance: Building a Better Bloom Filter" by Adam Kirsch and Michael
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jan 08 14:27:16 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. docs/uk/docs/tutorial/path-params.md

    ### Створення класу `Enum`
    
    Імпортуйте `Enum` і створіть підклас, що наслідується від `str` та `Enum`.
    
    Наслідуючи від `str`, документація API зможе визначити, що значення повинні бути типу `string`, і правильно їх відобразить.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

                ? EnumMultiset.create(AnEnum.class)
                : EnumMultiset.create(asList(elements));
          }
        };
      }
    
      private enum Color {
        BLUE,
        RED,
        YELLOW,
        GREEN,
        WHITE
      }
    
      private enum Gender {
        MALE,
        FEMALE
      }
    
      public void testClassCreate() {
        Multiset<Color> ms = EnumMultiset.create(Color.class);
        ms.add(Color.RED);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerStatus.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler;
    
    /**
     * Enum representing the status of a crawler.
     * It can be INITIALIZING, RUNNING, or DONE.
     */
    public enum CrawlerStatus {
        /**
         * The crawler is initializing.
         */
        INITIALIZING,
    
        /**
         * The crawler is currently running.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 997 bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

            sum += array[index].hashCode();
          }
        }
        return sum;
      }
    
      @Benchmark
      int arrayFor(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (Object value : array) {
            sum += value.hashCode();
          }
        }
        return sum;
      }
    
      @Benchmark
      int arrayListIndexed(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/SmbCircuitBreaker.java

            }
    
            // Calculate moving average (simple approach)
            if (!responseTimeHistory.isEmpty()) {
                long sum = responseTimeHistory.stream().mapToLong(Long::longValue).sum();
                avgResponseTime.set(sum / responseTimeHistory.size());
    
                // Calculate 95th percentile
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/LongAdder.java

        add(-1L);
      }
    
      /**
       * Returns the current sum. The returned value is NOT an atomic snapshot; invocation in
       * the absence of concurrent updates returns an accurate result, but concurrent updates that occur
       * while the sum is being calculated might not be incorporated.
       *
       * @return the sum
       */
      @Override
      public long sum() {
        long sum = base;
        Cell[] as = cells;
        if (as != null) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CollectCollectors.java

            EnumSetAccumulator::toImmutableSet,
            Collector.Characteristics.UNORDERED);
      }
    
      private static final class EnumSetAccumulator<E extends Enum<E>> {
        @SuppressWarnings({"rawtypes", "unchecked"})
        static final Collector<Enum<?>, ?, ImmutableSet<? extends Enum<?>>> TO_IMMUTABLE_ENUM_SET =
            (Collector) toImmutableEnumSetGeneric();
    
        private @Nullable EnumSet<E> set;
    
        void add(E e) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 16.6K bytes
    - Viewed (0)
Back to top