Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 235 for _gwt (0.01 sec)

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

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import java.util.Collection;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A GWT-only class only used by GWT emulations. It is used to consolidate the definitions of method
     * delegation to save code size.
     *
     * @author Hayward Chan
     */
    final class ForwardingImmutableCollection<E> extends ImmutableCollection<E> {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractSortedKeySortedSetMultimap.java

    /**
     * Basic implementation of a {@link SortedSetMultimap} with a sorted key set.
     *
     * <p>This superclass allows {@code TreeMultimap} to override methods to return navigable set and
     * map types in non-GWT only, while GWT code will inherit the SortedMap/SortedSet overrides.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    abstract class AbstractSortedKeySortedSetMultimap<
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link Multisets#unmodifiableSortedMultiset(SortedMultiset)}, split out into
     * its own file so it can be GWT emulated (to deal with the differing elementSet() types in GWT and
     * non-GWT).
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class UnmodifiableSortedMultiset<E extends @Nullable Object> extends UnmodifiableMultiset<E>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/IntMathTest.java

      @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath
      public void testMaxLog10ForLeadingZeros() {
        for (int i = 0; i < Integer.SIZE; i++) {
          assertEquals(
              BigIntegerMath.log10(BigInteger.ONE.shiftLeft(Integer.SIZE - i), FLOOR),
              IntMath.maxLog10ForLeadingZeros[i]);
        }
      }
    
      @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  5. guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/Platform.java

    import static com.google.common.base.Preconditions.checkNotNull;
    
    /**
     * Methods factored out so that they can be emulated differently in GWT.
     *
     * @author Chris Povirk
     */
    final class Platform {
      /** Serializes and deserializes the specified object (a no-op under GWT). */
      @SuppressWarnings("unchecked")
      static <T> T reserialize(T object) {
        return checkNotNull(object);
      }
    
      private Platform() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMap.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import java.util.Map;
    
    /**
     * GWt emulation of {@link RegularImmutableMap}.
     *
     * @author Hayward Chan
     */
    final class RegularImmutableMap<K, V> extends ForwardingImmutableMap<K, V> {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Shorts.java

       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
      @GwtIncompatible(
          "Available in GWT! Annotation is to avoid conflict with GWT specialization of base class.")
      public static short min(short... array) {
        checkArgument(array.length > 0);
        short min = array[0];
        for (int i = 1; i < array.length; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Shorts.java

       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
      @GwtIncompatible(
          "Available in GWT! Annotation is to avoid conflict with GWT specialization of base class.")
      public static short min(short... array) {
        checkArgument(array.length > 0);
        short min = array[0];
        for (int i = 1; i < array.length; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableEnumMap.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import java.util.Map;
    import java.util.Map.Entry;
    
    /**
     * GWT emulation of {@link ImmutableEnumMap}. The type parameter is not bounded by {@code Enum<E>}
     * to avoid code-size bloat.
     *
     * @author Hayward Chan
     */
    final class ImmutableEnumMap<K, V> extends ForwardingImmutableMap<K, V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

    import junit.framework.AssertionFailedError;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
    @GwtCompatible
    @NullMarked
    final class ReflectionFreeAssertThrows {
      interface ThrowingRunnable {
        void run() throws Throwable;
      }
    
      interface ThrowingSupplier {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top