Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for compatibility (0.22 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SortedMultiset.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT emulation of {@code SortedMultiset}, with {@code elementSet} reduced to returning a {@code
     * SortedSet} for GWT compatibility.
     *
     * @author Louis Wasserman
     * @since 11.0
     */
    @ElementTypesAreNonnullByDefault
    public interface SortedMultiset<E extends @Nullable Object> extends Multiset<E>, SortedIterable<E> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/IgnoreJRERequirement.java

    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    
    import java.lang.annotation.Target;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE})
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 17:03:50 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/IgnoreJRERequirement.java

    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    
    import java.lang.annotation.Target;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE})
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jan 11 14:30:06 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

       * instead of {@code Comparator<? super T>}.
       */
      public void testMinMaxWithSupertypeComparator() {
        Comparator<Number> numberComparator =
            // Can't use Comparator.comparing(Number::intValue) due to Java 7 compatibility.
            new Comparator<Number>() {
              @Override
              public int compare(Number a, Number b) {
                return a.intValue() - b.intValue();
              }
            };
        Integer comparand1 = 1;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ComparatorsTest.java

       * instead of {@code Comparator<? super T>}.
       */
      public void testMinMaxWithSupertypeComparator() {
        Comparator<Number> numberComparator =
            // Can't use Comparator.comparing(Number::intValue) due to Java 7 compatibility.
            new Comparator<Number>() {
              @Override
              public int compare(Number a, Number b) {
                return a.intValue() - b.intValue();
              }
            };
        Integer comparand1 = 1;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        for (Method method : methods) {
          // Under java 8, interfaces can have default methods that aren't abstract.
          // No need to verify them.
          // Can't check isDefault() for JDK 7 compatibility.
          if (!Modifier.isAbstract(method.getModifiers())) {
            continue;
          }
          // The interface could be package-private or private.
          // filter out equals/hashCode/toString
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        for (Method method : methods) {
          // Under java 8, interfaces can have default methods that aren't abstract.
          // No need to verify them.
          // Can't check isDefault() for JDK 7 compatibility.
          if (!Modifier.isAbstract(method.getModifiers())) {
            continue;
          }
          // The interface could be package-private or private.
          // filter out equals/hashCode/toString
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Types.java

            Reflection.newProxy(
                TypeVariable.class, new TypeVariableInvocationHandler(typeVariableImpl));
        return typeVariable;
      }
    
      /**
       * Invocation handler to work around a compatibility problem between Java 7 and Java 8.
       *
       * <p>Java 8 introduced a new method {@code getAnnotatedBounds()} in the {@link TypeVariable}
    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)
  9. android/guava/src/com/google/common/graph/GraphsBridgeMethods.java

    import com.google.common.annotations.Beta;
    import java.util.Set;
    
    /**
     * Supertype for {@link Graphs}, containing the old signatures of methods whose signatures we've
     * changed. This provides binary compatibility for users who compiled against the old signatures.
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    abstract class GraphsBridgeMethods {
    
      @SuppressWarnings("PreferredInterfaceType")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 14 19:31:40 GMT 2024
    - 707 bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        assertEquals(Integer.MAX_VALUE, ms.tailMultiset("a", CLOSED).size());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      @AndroidIncompatible // Reflection bug, or actual binary compatibility problem?
      public void testElementSetBridgeMethods() {
        for (Method m : TreeMultiset.class.getMethods()) {
          if (m.getName().equals("elementSet") && m.getReturnType().equals(SortedSet.class)) {
            return;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.9K bytes
    - Viewed (0)
Back to top