Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 2,898 for author (0.04 seconds)

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

     */
    
    package com.google.common.collect;
    
    import java.util.Set;
    
    /**
     * GWT emulation of {@link ImmutableEnumSet}. The type parameter is not bounded by {@code Enum<E>}
     * to avoid code-size bloat.
     *
     * @author Hayward Chan
     */
    final class ImmutableEnumSet<E> extends ForwardingImmutableSet<E> {
      static <E> ImmutableSet<E> asImmutable(Set<E> delegate) {
        switch (delegate.size()) {
          case 0:
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableList.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.Collections.singletonList;
    
    import java.util.List;
    
    /**
     * GWT emulated version of {@link SingletonImmutableList}.
     *
     * @author Hayward Chan
     */
    final class SingletonImmutableList<E> extends ForwardingImmutableList<E> {
      private final transient List<E> delegate;
      private final E element;
    
      SingletonImmutableList(E element) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 01 22:23:20 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

     *
     * <p><b>Note:</b> This class intentionally violates the specification of its supertype {@code
     * DataOutput}, which explicitly requires big-endian byte order.
     *
     * @author Chris Nokleberg
     * @author Keith Bottner
     * @since 8.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class LittleEndianDataOutputStream extends FilterOutputStream implements DataOutput {
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

    /**
     * A generic JUnit test which tests {@code add} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

    /**
     * A generic JUnit test which tests {@code add} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ForwardingSetTest.java

    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@code ForwardingSet}.
     *
     * @author Robert Konigsberg
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ForwardingSetTest extends TestCase {
      static class StandardImplForwardingSet<T> extends ForwardingSet<T> {
        private final Set<T> backingSet;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/HashMultisetTest.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Unit test for {@link HashMultiset}.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class HashMultisetTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableMapEntrySet.java

    import java.util.Spliterator;
    import java.util.function.Consumer;
    import org.jspecify.annotations.Nullable;
    
    /**
     * {@code entrySet()} implementation for {@link ImmutableMap}.
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    abstract class ImmutableMapEntrySet<K, V> extends ImmutableSet.CachingAsList<Entry<K, V>> {
      private static final int SPLITERATOR_CHARACTERISTICS =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableMultimapAsMapImplementsMapTest.java

    import java.util.Collection;
    import java.util.Map;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Test {@link Multimap#asMap()} for an {@link ImmutableMultimap} with {@link MapInterfaceTest}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class ImmutableMultimapAsMapImplementsMapTest
        extends AbstractMultimapAsMapImplementsMapTest {
    
      public ImmutableMultimapAsMapImplementsMapTest() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/MultimapsTransformValuesAsMapTest.java

    import com.google.common.base.Functions;
    import java.util.Collection;
    import java.util.Map;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for Multimaps.transformValues().asMap().
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class MultimapsTransformValuesAsMapTest extends AbstractMultimapAsMapImplementsMapTest {
    
      public MultimapsTransformValuesAsMapTest() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.6K bytes
    - Click Count (0)
Back to Top