Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 430 for emulator (0.09 sec)

  1. guava/src/com/google/common/collect/RegularImmutableMap.java

     * differs.)
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     * @author Gregory Kick
     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    final class RegularImmutableMap<K, V> extends ImmutableMap<K, V> {
      @SuppressWarnings("unchecked")
      static final ImmutableMap<Object, Object> EMPTY =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/MoreObjectsTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.NullPointerTester;
    import junit.framework.TestCase;
    
    /** Tests for {@link MoreObjects}. */
    @GwtCompatible(emulated = true)
    public class MoreObjectsTest extends TestCase {
      public void testFirstNonNull_withNonNull() {
        String s1 = "foo";
        String s2 = MoreObjects.firstNonNull(s1, "bar");
        assertSame(s1, s2);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/MoreObjectsTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.NullPointerTester;
    import junit.framework.TestCase;
    
    /** Tests for {@link MoreObjects}. */
    @GwtCompatible(emulated = true)
    public class MoreObjectsTest extends TestCase {
      public void testFirstNonNull_withNonNull() {
        String s1 = "foo";
        String s2 = MoreObjects.firstNonNull(s1, "bar");
        assertSame(s1, s2);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/DescendingMultiset.java

    /**
     * A skeleton implementation of a descending multiset. Only needs {@code forwardMultiset()} and
     * {@code entryIterator()}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    abstract class DescendingMultiset<E extends @Nullable Object> extends ForwardingMultiset<E>
        implements SortedMultiset<E> {
      abstract SortedMultiset<E> forwardMultiset();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 24 16:03:45 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

    import com.google.common.base.Objects;
    import com.google.common.testing.EqualsTester;
    
    /**
     * Tests {@link SingletonImmutableTable}.
     *
     * @author Gregory Kick
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class SingletonImmutableTableTest extends AbstractImmutableTableTest {
      private final ImmutableTable<Character, Integer, String> testTable =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/LinkedHashMultimapGwtSerializationDependencies.java

     * approach but with a subclass rather than a superclass.
     *
     * <p>TODO(cpovirk): Consider applying this subclass approach to our other types.
     */
    @GwtCompatible(emulated = true)
    abstract class LinkedHashMultimapGwtSerializationDependencies<K, V>
        extends AbstractSetMultimap<K, V> {
      LinkedHashMultimapGwtSerializationDependencies(Map<K, Collection<V>> map) {
        super(map);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 24 18:57:48 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/InterruptibleTask.java

     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.util.concurrent.NullnessCasts.uncheckedCastNullableTToT;
    
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Emulation for InterruptibleTask in GWT. */
    @ElementTypesAreNonnullByDefault
    abstract class InterruptibleTask<T extends @Nullable Object> implements Runnable {
    
      @Override
      public void run() {
        T result = null;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 08 20:30:27 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RangeGwtSerializationDependencies.java

     *
     * <p>TODO(cpovirk): Consider applying this subclass approach to our other types.
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtCompatible(emulated = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractBiMap.java

        }
    
        @GwtIncompatible // Not needed in the emulated source.
        @J2ktIncompatible
        Object readResolve() {
          return inverse().inverse();
        }
    
        @GwtIncompatible // Not needed in emulated source.
        @J2ktIncompatible
        private static final long serialVersionUID = 0;
      }
    
      @GwtIncompatible // Not needed in emulated source.
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LongAddables.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.cache;
    
    /**
     * GWT emulation for LongAddables.
     *
     * @author Louis Wasserman
     */
    final class LongAddables {
      public static LongAddable create() {
        return new LongAdder();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 23 13:24:59 UTC 2016
    - 809 bytes
    - Viewed (0)
Back to top