Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,176 for asdict (0.13 sec)

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

    import java.io.InvalidObjectException;
    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import javax.annotation.CheckForNull;
    
    /**
     * List returned by {@link ImmutableCollection#asList} that delegates {@code contains} checks to the
     * backing collection.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java

            ArtifactRepository repository =
                    repositorySystem.createArtifactRepository("repository", "http://foo", null, null, null);
            repositorySystem.injectAuthentication(Arrays.asList(repository), Arrays.asList(server));
            Authentication authentication = repository.getAuthentication();
            assertNotNull(authentication);
            assertEquals("jason", authentication.getUsername());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/HashMultisetTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.util.Arrays.asList;
    
    import com.google.common.base.Function;
    import com.google.common.collect.testing.CollectionTestSuiteBuilder;
    import com.google.common.collect.testing.MinimalCollection;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.util.Arrays.asList;
    
    import com.google.common.base.Function;
    import com.google.common.collect.testing.QueueTestSuiteBuilder;
    import com.google.common.collect.testing.TestStringQueueGenerator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6QueueTests.java

     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.testers.CollectionCreationTester.getCreateWithNullUnsupportedMethod;
    import static java.util.Arrays.asList;
    
    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.List;
    import java.util.Queue;
    import junit.framework.Test;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/IndexedImmutableSet.java

    @ElementTypesAreNonnullByDefault
    abstract class IndexedImmutableSet<E> extends ImmutableSet.CachingAsList<E> {
      abstract E get(int index);
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return asList().iterator();
      }
    
      @Override
      public Spliterator<E> spliterator() {
        return CollectSpliterators.indexed(size(), SPLITERATOR_CHARACTERISTICS, this::get);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      public void testBuilderPutAllIterable() {
        ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder();
        builder.putAll("foo", Arrays.asList(1, 2, 3));
        builder.putAll("bar", Arrays.asList(4, 5));
        builder.putAll("foo", Arrays.asList(6, 7));
        Multimap<String, Integer> multimap = builder.build();
        assertEquals(ImmutableSet.of(1, 2, 3, 6, 7), multimap.get("foo"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/RangeTest.java

      }
    
      public void testEncloseAll() {
        assertEquals(Range.closed(0, 0), Range.encloseAll(asList(0)));
        assertEquals(Range.closed(-3, 5), Range.encloseAll(asList(5, -3)));
        assertEquals(Range.closed(-3, 5), Range.encloseAll(asList(1, 2, 2, 2, 5, -3, 0, -1)));
      }
    
      public void testEncloseAll_empty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top