Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 123 for enim (0.13 sec)

  1. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

          }
        };
      }
    
      enum QueueImpl implements CollectionsImplEnum {
        MinMaxPriorityQueueImpl {
          @Override
          public <E extends Comparable<E>> Queue<E> create(Collection<E> contents) {
            return MinMaxPriorityQueue.create(contents);
          }
        };
      }
    
      enum TableImpl {
        HashBasedTableImpl {
          @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Mar 04 04:06:35 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

          }
        };
      }
    
      enum QueueImpl implements CollectionsImplEnum {
        MinMaxPriorityQueueImpl {
          @Override
          public <E extends Comparable<E>> Queue<E> create(Collection<E> contents) {
            return MinMaxPriorityQueue.create(contents);
          }
        };
      }
    
      enum TableImpl {
        HashBasedTableImpl {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Mar 04 04:06:35 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CollectCollectors.java

      @IgnoreJRERequirement // see enclosing class (whose annotation Animal Sniffer ignores here...)
      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();
    
        @CheckForNull private EnumSet<E> set;
    
        void add(E e) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

     */
    @J2ktIncompatible // EnumBimap
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class EnumBiMapTest extends TestCase {
      private enum Currency {
        DOLLAR,
        FRANC,
        PESO,
        POUND,
        YEN
      }
    
      private enum Country {
        CANADA,
        CHILE,
        JAPAN,
        SWITZERLAND,
        UK
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

     */
    @J2ktIncompatible // EnumBimap
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class EnumBiMapTest extends TestCase {
      private enum Currency {
        DOLLAR,
        FRANC,
        PESO,
        POUND,
        YEN
      }
    
      private enum Country {
        CANADA,
        CHILE,
        JAPAN,
        SWITZERLAND,
        UK
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/EnumTest.java

                        }
                    }
                }
    
                assertTrue("Test directory  enum-test/a/b/c/ not found", names.contains("c/"));
            }
    
            try ( SmbFile r = getDefaultShareRoot();
                  SmbFile f = new SmbFile(r, "enum-test/a/b/c/") ) {
                f.exists();
            }
    
        }
    
    
        @Test
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      // In the unittest, create each ordered factory with its own set of lock
      // graph nodes (as opposed to using the static per-Enum map) to avoid
      // conflicts across different test runs.
      private <E extends Enum<E>>
          CycleDetectingLockFactory.WithExplicitOrdering<E> newInstanceWithExplicitOrdering(
              Class<E> enumClass, Policy policy) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        List<String> temp = new ArrayList<>();
        for (Feature<?> feature : features) {
          Object featureAsObject = feature; // to work around bogus JDK warning
          if (featureAsObject instanceof Enum) {
            Enum<?> f = (Enum<?>) featureAsObject;
            temp.add(f.getDeclaringClass().getSimpleName() + "." + feature);
          } else {
            temp.add(feature.toString());
          }
        }
        return temp.toString();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Functions.java

       * for more important information about the Java 8+ transition.
       */
      public static Function<Object, String> toStringFunction() {
        return ToStringFunction.INSTANCE;
      }
    
      // enum singleton pattern
      private enum ToStringFunction implements Function<Object, String> {
        INSTANCE;
    
        @Override
        public String apply(Object o) {
          checkNotNull(o); // eager for GWT.
          return o.toString();
        }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

          throw new RuntimeException();
        }
      }
    
      static class NotInstantiable {
        private NotInstantiable() {}
      }
    
      private enum NoConstantEnum {}
    
      private enum OneConstantEnum {
        A
      }
    
      private enum EnumFailsToCheckNull {
        A;
    
        @SuppressWarnings("unused")
        public void failToCheckNull(String s) {}
      }
    
      private interface AnInterface {}
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 36.3K bytes
    - Viewed (0)
Back to top