Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for equation (0.04 sec)

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

    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.Collections.singletonMap;
    
    import org.jspecify.annotations.Nullable;
    
    /**
     * GWT emulation of {@link SingletonImmutableBiMap}.
     *
     * @author Hayward Chan
     */
    final class SingletonImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
      private final K singleKey;
      private final V singleValue;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 22:23:20 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import java.util.Arrays;
    
    /**
     * Minimal GWT emulation of {@code com.google.common.collect.testing.Platform}.
     *
     * <p><strong>This .java file should never be consumed by javac.</strong>
     *
     * @author Hayward Chan
     */
    final class Platform {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

        MapMaker maker = new MapMaker();
        assertThrows(IllegalArgumentException.class, () -> maker.initialCapacity(-1));
      }
    
      // TODO(cpovirk): enable when ready (apparently after a change to our GWT emulation)
      public void xtestInitialCapacity_setTwice() {
        MapMaker maker = new MapMaker().initialCapacity(16);
        try {
          // even to the same value is not allowed
          maker.initialCapacity(16);
          fail();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * The emulation source used in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
    
      // Use fewer steps in the ListIteratorTester in ListListIteratorTester because it's slow in prod
      // mode.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

    import jsinterop.annotations.JsMethod;
    import jsinterop.annotations.JsPackage;
    import jsinterop.annotations.JsProperty;
    import jsinterop.annotations.JsType;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Minimal GWT emulation of {@code com.google.common.collect.Platform}.
     *
     * @author Hayward Chan
     */
    final class Platform {
      static <K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jun 10 15:17:16 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

        return this;
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        return false;
      }
    
      @GwtIncompatible // not used by GWT emulation
      @Override
      int indexOf(@Nullable Object target) {
        return -1;
      }
    
      @Override
      public UnmodifiableIterator<C> iterator() {
        return emptyIterator();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.SortedSet;
    import java.util.TreeSet;
    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /**
     * GWT emulation of {@link com.google.common.collect.ImmutableSortedSet}.
     *
     * @author Hayward Chan
     */
    public abstract class ImmutableSortedSet<E> extends ForwardingImmutableSet<E>
        implements SortedSet<E>, SortedIterable<E> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

    import java.util.Comparator;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /**
     * GWT emulation of {@link com.google.common.collect.ImmutableBiMap}.
     *
     * @author Hayward Chan
     */
    public abstract class ImmutableBiMap<K, V> extends ForwardingImmutableMap<K, V>
        implements BiMap<K, V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Throwables.java

      /** JavaLangAccess class name to load using reflection */
      @J2ktIncompatible @GwtIncompatible // not used by GWT emulation
      private static final String JAVA_LANG_ACCESS_CLASSNAME = "sun.misc.JavaLangAccess";
    
      /** SharedSecrets class name to load using reflection */
      @J2ktIncompatible
      @GwtIncompatible // not used by GWT emulation
      @VisibleForTesting
      static final String SHARED_SECRETS_CLASSNAME = "sun.misc.SharedSecrets";
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      @Override
      ContiguousSet<C> tailSetImpl(C fromElement, boolean inclusive) {
        return intersectionInCurrentDomain(Range.downTo(fromElement, BoundType.forBoolean(inclusive)));
      }
    
      @GwtIncompatible // not used by GWT emulation
      @Override
      int indexOf(@Nullable Object target) {
        if (!contains(target)) {
          return -1;
        }
        // The cast is safe because of the contains check—at least for any reasonable Comparable class.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top