Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 470 for AsList (0.03 sec)

  1. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

            ImmutableSet.of(3), set.intersection(ContiguousSet.create(Range.closed(3, 5), integers())));
      }
    
      public void testAsList() {
        ImmutableList<Integer> list = ContiguousSet.create(Range.closed(1, 3), integers()).asList();
        for (int i = 0; i < 3; i++) {
          assertEquals(i + 1, list.get(i).intValue());
        }
        assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.iterator()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        suite.addTest(
            ListTestSuiteBuilder.using(new ImmutableSetAsListGenerator())
                .named("ImmutableSet.asList")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.REJECTS_DUPLICATES_AT_CREATION,
                    CollectionFeature.SERIALIZABLE,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/Kerb5Authenticator.java

                    log.debug("Have initial token " + tok);
                }
                if (tok.getMechanisms() != null) {
                    Set<ASN1ObjectIdentifier> mechs = new HashSet<>(Arrays.asList(tok.getMechanisms()));
                    boolean foundKerberos = false;
                    for (ASN1ObjectIdentifier mech : Kerb5Context.SUPPORTED_MECHS) {
                        foundKerberos |= mechs.contains(mech);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                effectiveFilter = new ExclusionArtifactFilter(dependency.getExclusions());
    
                if (inheritedFilter != null) {
                    effectiveFilter = new AndArtifactFilter(Arrays.asList(inheritedFilter, effectiveFilter));
                }
            }
    
            return effectiveFilter;
        }
    
        @Override
        public List<ArtifactVersion> retrieveAvailableVersions(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  5. docs/changelogs/changelog_2x.md

        To disable TLS fallback:
    
        ```java
        client.setConnectionSpecs(Arrays.asList(
            ConnectionSpec.MODERN_TLS, ConnectionSpec.CLEARTEXT));
        ```
    
        To disable cleartext connections, permitting `https` URLs only:
    
        ```java
        client.setConnectionSpecs(Arrays.asList(
            ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS));
        ```
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.Sets.newHashSet;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    import static java.util.Collections.shuffle;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeImpl.java

                throws CIFSException {
            return send((CommonServerMessageBlockRequest) request, request.getResponse(),
                    params != null && params.length > 0 ? EnumSet.copyOf(Arrays.asList(params)) : EnumSet.noneOf(RequestParam.class));
        }
    
        <T extends CommonServerMessageBlockResponse> T send(final CommonServerMessageBlockRequest request, final T response)
                throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                WebApiUtil.setObject("booleanValue", true);
                WebApiUtil.setObject("objectValue", new Object());
    
                // Test with collections
                java.util.List<String> list = java.util.Arrays.asList("item1", "item2");
                WebApiUtil.setObject("listValue", list);
    
                java.util.Map<String, String> map = new java.util.HashMap<>();
                map.put("key", "value");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/config/DelegatingConfigurationTest.java

        }
    
        @Test
        @DisplayName("Collection configuration methods should delegate correctly")
        void testCollectionConfigurationDelegation() {
            // Given
            List<ResolverType> resolverOrder = Arrays.asList(ResolverType.RESOLVER_DNS, ResolverType.RESOLVER_WINS);
            when(mockDelegate.getResolveOrder()).thenReturn(resolverOrder);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

                    .add(predicateType)
                    .add(String.class) // the format string
                    .addAll(curr)
                    .build());
          }
        }
        return allOverloads.build().asList();
      }
    
      // 'test' to demonstrate some potentially ambiguous overloads.  This 'test' is kind of strange,
      // but essentially each line will be a call to a Preconditions method that, but for a documented
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
Back to top