Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 136 for Klinger (0.18 sec)

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

      public static void testSubtypeOfStaticAnonymousClass() {
        Class<?> superclass = new Mall<Outdoor>().new Shop<Electronics>() {}.getClass();
        assertTrue(TypeToken.of(superclass).isSubtypeOf(superclass));
        assertFalse(
            TypeToken.of(new Mall<Outdoor>().new Shop<Electronics>() {}.getClass())
                .isSubtypeOf(superclass));
      }
    
      @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 20.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableMapValues.java

      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible // serialization
      @GwtIncompatible // serialization
      Object writeReplace() {
        return super.writeReplace();
      }
    
      // No longer used for new writes, but kept so that old data can still be read.
      @GwtIncompatible // serialization
      @J2ktIncompatible
      @SuppressWarnings("unused")
      private static class SerializedForm<V> implements Serializable {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/HashBasedTable.java

     * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs
     * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer,
     * since an iteration across all row keys occurs.
     *
     * <p>Note that this implementation is not synchronized. If multiple threads access this table
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       Guava while continuing to run it internally, as we do with many other tests. This would
     *       suffice because we our Android users and tests are using the open-source version, which
     *       would no longer have the problematic test. But why bother when we can instead strip it with
     *       a more precisely named annotation?
     *   <li>While a dependency on Android ought to be easy if it's for annotations only, it will
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SetsTest.java

        LinkedHashSet<Integer> set = Sets.newLinkedHashSet(LONGER_LIST);
        verifyLinkedHashSetContents(set, LONGER_LIST);
      }
    
      public void testNewLinkedHashSetFromIterable() {
        LinkedHashSet<Integer> set =
            Sets.newLinkedHashSet(
                new Iterable<Integer>() {
                  @Override
                  public Iterator<Integer> iterator() {
                    return LONGER_LIST.iterator();
                  }
                });
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

      // TODO: Test interrupts with both interruptible and uninterruptible monitor.
      // TODO: Test multiple waiters: If guard is still satisfied, signal next waiter.
      // TODO: Test multiple waiters: If guard is no longer satisfied, do not signal next waiter.
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/Types.java

       * so that we get partial compile-time checking.)
       *
       * <p>This workaround should be removed at a distant future time when we no longer support Java
       * versions earlier than 8.
       */
      @SuppressWarnings("removal") // b/318391980
      private static final class TypeVariableInvocationHandler implements InvocationHandler {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
      protected Entry<K, V> entry(K key, V value) {
        return Helpers.mapEntry(key, value);
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        checkNotNull(methodName);
        checkNotNull(conditionLikeObject);
        // TODO: Restore the following line when Monitor.hasWaiters() no longer acquires the lock.
        // assertEquals(false, invokeMethod("hasWaiters", conditionLikeObject));
        sendRequest(methodName, conditionLikeObject);
        Thread.sleep(DUE_DILIGENCE_MILLIS);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  10. guava/pom.xml

              </excludePackageNames>
              <!-- Ignore some tags that are found in Java 11 sources but not recognized... under -source 8, I think it was? I can no longer reproduce the failure. -->
              <tags>
                <tag>
                  <name>apiNote</name>
                  <placement>X</placement>
                </tag>
                <tag>
                  <name>implNote</name>
    XML
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top