Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 105 for ison (0.12 sec)

  1. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        ParameterizedType owner = (ParameterizedType) subtype.getOwnerType();
        assertEquals(Outer.class, owner.getRawType());
        // This returns a strange ? extends Sub2<Y> type, which isn't ideal.
        TypeToken<?> unused = new TypeToken<BaseWithTypeVar<List<?>>>() {}.getSubtype(Outer.Sub2.class);
      }
    
      public void testGetSubtype_subtypeSameAsDeclaringType() throws Exception {
        class Bar<T> {}
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

        Stopwatch stopwatch = Stopwatch.createStarted();
    
        String result = proxy.sleepThenReturnInput("x");
    
        assertThat(result).isEqualTo("x");
        assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(DELAY_MS, ENOUGH_MS));
        assertThat(target.finished).isTrue();
      }
    
      public void testNewProxy_goodMethodWithNotEnoughTime() throws Exception {
        SampleImpl target = new SampleImpl(9999);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/CharsetsTest.java

        assertEquals(Charset.forName("US-ASCII"), Charsets.US_ASCII);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Non-UTF-8 Charset
      public void testIso88591() {
        assertEquals(Charset.forName("ISO-8859-1"), Charsets.ISO_8859_1);
      }
    
      public void testUtf8() {
        assertEquals(Charset.forName("UTF-8"), Charsets.UTF_8);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Non-UTF-8 Charset
      public void testUtf16be() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

            // The raw class isn't even a subclass.
          }
        }
        if (!spec.suppressGetSupertype()) {
          try {
            assertThat(getSupertype(paramType, TypeToken.of(returnType).getRawType()))
                .isNotEqualTo(returnType);
          } catch (IllegalArgumentException notSubtype2) {
            // The raw class isn't even a subclass.
          }
        }
        return null;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  5. android/guava/pom.xml

                  <resources>
                    <resource>
                      <directory>../../guava</directory>
                      <includes>
                        <include>module.json</include>
                      </includes>
                      <filtering>true</filtering>
                    </resource>
                  </resources>
                </configuration>
              </execution>
    XML
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingImmutableCollection.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Dummy class that makes the GWT serialization policy happy. It isn't used on the server-side.
     *
     * @author Hayward Chan
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    class ForwardingImmutableCollection {
      private ForwardingImmutableCollection() {}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 972 bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableTable.java

          /*
           * This sorting logic leads to a cellSet() ordering that may not be expected and that isn't
           * documented in the Javadoc. If a row Comparator is provided, cellSet() iterates across the
           * columns in the first row, the columns in the second row, etc. If a column Comparator is
           * provided but a row Comparator isn't, cellSet() iterates across the rows in the first
           * column, the rows in the second column, etc.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/ParameterTest.java

        try {
          Class.forName("java.lang.reflect.AnnotatedType");
        } catch (ClassNotFoundException runningInAndroidVm) {
          /*
           * Parameter declares a method that returns AnnotatedType, which isn't available on Android.
           * This would cause NullPointerTester, which calls Class.getDeclaredMethods, to throw
           * NoClassDefFoundError.
           */
          return;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 02:06:03 GMT 2023
    - 2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/TypeToken.java

       * Returns the type token representing the generic type declaration of {@code cls}. For example:
       * {@code TypeToken.getGenericType(Iterable.class)} returns {@code Iterable<T>}.
       *
       * <p>If {@code cls} isn't parameterized and isn't a generic array, the type token of the class is
       * returned.
       */
      @VisibleForTesting
      static <T> TypeToken<? extends T> toGenericType(Class<T> cls) {
        if (cls.isArray()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ArrayTable.java

        checkArgument(rowList.isEmpty() == columnList.isEmpty());
    
        /*
         * TODO(jlevy): Support only one of rowKey / columnKey being empty? If we
         * do, when columnKeys is empty but rowKeys isn't, rowKeyList() can contain
         * elements but rowKeySet() will be empty and containsRow() won't
         * acknowledge them.
         */
        rowKeyToIndex = Maps.indexMap(rowList);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
Back to top