Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 470 for AsList (0.03 sec)

  1. guava-tests/test/com/google/common/io/LineBufferTest.java

          ImmutableSet.of(1, 2, 3, Integer.MAX_VALUE);
    
      private static void bufferHelper(String input, String... expect) throws IOException {
    
        List<String> expectProcess = Arrays.asList(expect);
        List<String> expectRead =
            Lists.transform(
                expectProcess,
                new Function<String, String>() {
                  @Override
                  public String apply(String value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

        Class<? extends Exception> exceptionType = this.exceptionType.exceptionType;
    
        for (Class<? extends Exception> exceptionClass :
            OTHER_EXCEPTION_TYPES.asList().subList(0, otherEntriesInDataStructure)) {
          getChecked(validator, immediateFuture(""), exceptionClass);
        }
    
        for (int i = 0; i < otherEntriesInDataStructure; i++) {
          ClassValue<Boolean> classValue =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            ProjectBuildingRequest configuration = new DefaultProjectBuildingRequest();
            configuration.setLocalRepository(getLocalRepository());
            configuration.setRemoteRepositories(Arrays.asList(new ArtifactRepository[] {}));
            configuration.setProcessPlugins(true);
            configuration.setResolveDependencies(true);
            initRepoSession(configuration);
    
            try {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            repository.setUrl("file://" + repoDir.toURI().getPath());
            repository.setReleases(policy);
            repository.setSnapshots(policy);
    
            return Arrays.asList(repositorySystem.buildArtifactRepository(repository));
        }
    
        protected ArtifactRepository getLocalRepository() throws Exception {
            File repoDir = new File(getBasedir(), "target/local-repo").getAbsoluteFile();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java

                super(id);
                this.projectScope = Objects.requireNonNull(projectScope);
                this.dependencyScopes =
                        Collections.unmodifiableSet(new HashSet<>(Arrays.asList(Objects.requireNonNull(dependencyScopes))));
            }
    
            /**
             * Returns the project scope associated with this path scope.
             *
             * @return the project scope
             */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/FluentIterable.java

       * Stream.of(T...)}.
       *
       * @since 20.0 (since 18.0 as an overload of {@code of})
       */
      public static <E extends @Nullable Object> FluentIterable<E> from(E[] elements) {
        return from(Arrays.asList(elements));
      }
    
      /**
       * Construct a fluent iterable from another fluent iterable. This is obviously never necessary,
       * but is intended to help call out cases where one migration from {@code Iterable} to {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/FluentIterable.java

       * Stream.of(T...)}.
       *
       * @since 20.0 (since 18.0 as an overload of {@code of})
       */
      public static <E extends @Nullable Object> FluentIterable<E> from(E[] elements) {
        return from(Arrays.asList(elements));
      }
    
      /**
       * Construct a fluent iterable from another fluent iterable. This is obviously never necessary,
       * but is intended to help call out cases where one migration from {@code Iterable} to {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

            SmbFile[] files = smbFile.listFiles();
    
            // Update cache if we have a directory lease
            if (leaseKey != null) {
                dirManager.updateDirectoryCache(directoryPath, Arrays.asList(files));
            }
    
            return files;
        }
    
        /**
         * Get directory lease manager from tree handle
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

            Class<?> clazz = SmbResourceLocatorInternal.class;
    
            // Assert it's an interface and extends the right superinterface
            assertTrue(clazz.isInterface(), "Should be an interface");
            assertTrue(Arrays.asList(clazz.getInterfaces()).contains(SmbResourceLocator.class), "Should extend SmbResourceLocator");
    
            // shouldForceSigning(): boolean, no params, no checked exceptions
            Method m1 = clazz.getMethod("shouldForceSigning");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

        assertThat(SignedBytes.join(",", (byte) -128, (byte) -1)).isEqualTo("-128,-1");
      }
    
      @J2ktIncompatible // b/285319375
      public void testLexicographicalComparator() {
        List<byte[]> ordered =
            Arrays.asList(
                new byte[] {},
                new byte[] {LEAST},
                new byte[] {LEAST, LEAST},
                new byte[] {LEAST, (byte) 1},
                new byte[] {(byte) 1},
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top