Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 503 for asList (0.03 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

        // Collection.toArray returns Object[] (covariant).
        // It is faster than creating real T[] via reflection (Arrays.copyOf).
        else -> (this as java.util.Collection<*>).toArray().asList().unmodifiable() as List<T>
      }
    
    /** Returns an immutable list containing [elements]. */
    @SafeVarargs
    internal fun <T> immutableListOf(vararg elements: T): List<T> = elements.toImmutableList()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  2. android/guava/src/com/google/common/base/Joiner.java

          throws IOException {
        @SuppressWarnings("nullness") // TODO: b/316358623 - Remove suppression after fixing checker
        List<?> partsList = Arrays.<@Nullable Object>asList(parts);
        return appendTo(appendable, partsList);
      }
    
      /** Appends to {@code appendable} the string representation of each of the remaining arguments. */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java

            RepositorySystemSession session = legacySupport.getRepositorySession();
    
            if (session != null && repository != null && !isLocalRepository(repository)) {
                List<ArtifactRepository> repositories = Arrays.asList(repository);
    
                RepositorySystem repositorySystem;
                try {
                    repositorySystem = container.lookup(RepositorySystem.class);
                } catch (ComponentLookupException e) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      public boolean isEmpty() {
        return true;
      }
    
      @Override
      public ImmutableList<C> asList() {
        return ImmutableList.of();
      }
    
      @Override
      public String toString() {
        return "[]";
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

       * objects in any other equivalence group added to this tester.
       */
      @CanIgnoreReturnValue
      public EquivalenceTester<T> addEquivalenceGroup(T first, T... rest) {
        addEquivalenceGroup(Lists.asList(first, rest));
        return this;
      }
    
      @CanIgnoreReturnValue
      public EquivalenceTester<T> addEquivalenceGroup(Iterable<T> group) {
        delegate.addRelatedGroup(group);
        items.addAll(ImmutableList.copyOf(group));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/Types.java

        public boolean equals(@Nullable Object obj) {
          if (obj instanceof WildcardType) {
            WildcardType that = (WildcardType) obj;
            return lowerBounds.equals(Arrays.asList(that.getLowerBounds()))
                && upperBounds.equals(Arrays.asList(that.getUpperBounds()));
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return lowerBounds.hashCode() ^ upperBounds.hashCode();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

        return (int) (cumulativeCounts[offset + index + 1] - cumulativeCounts[offset + index]);
      }
    
      @Override
      Entry<E> getEntry(int index) {
        return Multisets.immutableEntry(elementSet.asList().get(index), getCount(index));
      }
    
      @Override
      public @Nullable Entry<E> firstEntry() {
        return isEmpty() ? null : getEntry(0);
      }
    
      @Override
      public @Nullable Entry<E> lastEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java

          Ordering.<Integer>natural().<Integer>nullsFirst();
    
      private static final List<@Nullable Integer> IN_ORDER_VALUES =
          unmodifiableList(Arrays.<@Nullable Integer>asList(null, 1, 2, 3, 4, 5));
    
      public void testCreateEmptyRangeFails() {
        for (BoundType lboundType : BoundType.values()) {
          for (BoundType uboundType : BoundType.values()) {
            assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SetViewTest.java

                        // Put the sets in different orders for the hell of it
                        return union(
                            new LinkedHashSet<>(asList(elements[0], elements[1], elements[2])),
                            new LinkedHashSet<>(asList(elements[1], elements[0], elements[2])));
                      }
                    })
                .named("set U itself")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Joiner.java

          throws IOException {
        @SuppressWarnings("nullness") // TODO: b/316358623 - Remove suppression after fixing checker
        List<?> partsList = Arrays.<@Nullable Object>asList(parts);
        return appendTo(appendable, partsList);
      }
    
      /** Appends to {@code appendable} the string representation of each of the remaining arguments. */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top