Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 754 for aren (0.16 sec)

  1. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

      }
    
      public static class Chars extends SampleElements<Character> {
        public Chars() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super('b', 'a', 'c', 'd', 'e');
        }
      }
    
      public static class Enums extends SampleElements<AnEnum> {
        public Enums() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.E);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

      }
    
      public static class Chars extends SampleElements<Character> {
        public Chars() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super('b', 'a', 'c', 'd', 'e');
        }
      }
    
      public static class Enums extends SampleElements<AnEnum> {
        public Enums() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.E);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/DummyProxy.java

    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class DummyProxy {
    
      /**
       * Returns a new proxy for {@code interfaceType}. Proxies of the same interface are equal to each
       * other if the {@link DummyProxy} instance that created the proxies are equal.
       */
      final <T> T newProxy(TypeToken<T> interfaceType) {
        Set<Class<?>> interfaceClasses = Sets.newLinkedHashSet();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class DummyProxy {
    
      /**
       * Returns a new proxy for {@code interfaceType}. Proxies of the same interface are equal to each
       * other if the {@link DummyProxy} instance that created the proxies are equal.
       */
      final <T> T newProxy(TypeToken<T> interfaceType) {
        Set<Class<?>> interfaceClasses = Sets.newLinkedHashSet();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

        // the behaviour of the non-GWT implementation of newConcurrentHashSet().
        // On the other hand HashSet might be better for code size if apps aren't
        // already using Collections.newSetFromMap and ConcurrentHashMap.
        return Collections.newSetFromMap(new ConcurrentHashMap<E, Boolean>());
      }
    
      static <E> Set<E> newLinkedHashSetWithExpectedSize(int expectedSize) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 29 18:16:45 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/IoTestCase.java

            // probably URISyntaxException or IllegalArgumentException
            // fall back to copying URLs to files in the testDir == null block below
          }
        }
    
        if (testDir == null) {
          // testdata resources aren't file:// urls, so create a directory to store them in and then
          // copy the resources to the filesystem as needed
          testDir = createTempDir();
        }
    
        return testDir;
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        // We assume that all defaults are generics-safe, even if they aren't,
        // we take the risk.
        @SuppressWarnings("unchecked")
        T defaultValue = (T) defaults.getInstance(type.getRawType());
        if (defaultValue != null) {
          return defaultValue;
        }
        @SuppressWarnings("unchecked") // All arbitrary instances are generics-safe
        T arbitrary = (T) ArbitraryInstances.get(type.getRawType());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 22.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

      }
    
      // Null support depends on the underlying table and function.
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      @Override
      public void testNullPointerInstance() {}
    
      // put() and putAll() aren't supported.
      @Override
      public void testPut() {
        try {
          table.put("foo", 1, 'a');
          fail("Expected UnsupportedOperationException");
        } catch (UnsupportedOperationException expected) {
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

       */
      @VisibleForTesting
      static class GetCheckedTypeValidatorHolder {
        static final GetCheckedTypeValidator BEST_VALIDATOR = getBestValidator();
    
        enum WeakSetValidator implements GetCheckedTypeValidator {
          INSTANCE;
    
          /*
           * Static final fields are presumed to be fastest, based on our experience with
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        testers.add(SetEqualsTester.class);
        testers.add(SetRemoveTester.class);
        // SetRemoveAllTester doesn't exist because, Sets not permitting
        // duplicate elements, there are no tests for Set.removeAll() that aren't
        // covered by CollectionRemoveAllTester.
        return testers;
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top