Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Implementation (0.06 sec)

  1. guava/src/com/google/common/reflect/Types.java

       * implementations. As a result, we need to make sure our TypeVariable implementation respects
       * symmetry. Moreover, we don't want to reconstruct a native type variable {@code <A>} using our
       * implementation unless some of its bounds have changed in resolution. This avoids creating
       * unequal TypeVariable implementation unnecessarily. When the bounds do change, however, it's
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TopKSelector.java

     *
     * <p>This uses the same efficient implementation as {@link Ordering#leastOf(Iterable, int)},
     * offering expected O(n + k log k) performance (worst case O(n log k)) for n calls to {@link
     * #offer} and a call to {@link #topK}, with O(k) memory. In comparison, quickselect has the same
     * asymptotics but requires O(n) memory, and a {@code PriorityQueue} implementation takes O(n log
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Types.java

       * implementations. As a result, we need to make sure our TypeVariable implementation respects
       * symmetry. Moreover, we don't want to reconstruct a native type variable {@code <A>} using our
       * implementation unless some of its bounds have changed in resolution. This avoids creating
       * unequal TypeVariable implementation unnecessarily. When the bounds do change, however, it's
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeResolver.java

             * TypeVariable implementation. This is a problem because users compare TypeVariables from
             * the JDK against TypeVariables returned by TypeResolver. To work with all JDK versions,
             * TypeResolver must return the appropriate TypeVariable implementation in each of the three
             * possible cases:
             *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/TypeResolver.java

             * TypeVariable implementation. This is a problem because users compare TypeVariables from
             * the JDK against TypeVariables returned by TypeResolver. To work with all JDK versions,
             * TypeResolver must return the appropriate TypeVariable implementation in each of the three
             * possible cases:
             *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CartesianList.java

    import java.util.AbstractList;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.RandomAccess;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link Lists#cartesianProduct(List)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class CartesianList<E> extends AbstractList<List<E>> implements RandomAccess {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. README.md

    - **Switch Expressions** - Optimized implementations using switch expressions for better performance
    - **Sequenced Collections** - Full support for Java 21 sequenced collections API with dedicated utility methods
    - **Performance Focused** - Optimized implementations for better runtime performance with reduced memory allocation
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        /*
         * We'd use assertThrows here, but that causes no exception to be thrown under Java 8,
         * presumably because the ThrowingRunnable lambda triggers some kind of bug in Java 8's
         * reflection implementation.
         */
        try {
          new TypeToken<T>() {};
          fail();
        } catch (IllegalStateException expected) {
          // Type variables aren't allowed.
        }
      }
    
      public void testRawTypeIsCorrect() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        /*
         * We'd use assertThrows here, but that causes no exception to be thrown under Java 8,
         * presumably because the ThrowingRunnable lambda triggers some kind of bug in Java 8's
         * reflection implementation.
         */
        try {
          new TypeToken<T>() {};
          fail();
        } catch (IllegalStateException expected) {
          // Type variables aren't allowed.
        }
      }
    
      public void testRawTypeIsCorrect() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

    import java.util.Vector;
    import java.util.concurrent.CopyOnWriteArrayList;
    import junit.framework.Test;
    import junit.framework.TestSuite;
    
    /**
     * Generates a test suite covering the {@link List} implementations in the {@link java.util}
     * package. Can be subclassed to specify tests that should be suppressed.
     *
     * @author Kevin Bourrillion
     */
    @GwtIncompatible
    public class TestsForListsInJavaUtil {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top