Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 539 for AsList (0.05 sec)

  1. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        assertEquals(map.size(), entrySetToArray1.length);
        assertTrue(asList(entrySetToArray1).containsAll(entrySet));
    
        Entry<?, ?>[] entrySetToArray2 = new Entry<?, ?>[map.size() + 2];
        entrySetToArray2[map.size()] = mapEntry("foo", 1);
        assertSame(entrySetToArray2, entrySet.toArray(entrySetToArray2));
        assertNull(entrySetToArray2[map.size()]);
        assertTrue(asList(entrySetToArray2).containsAll(entrySet));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/TestInputStream.java

      private final ImmutableSet<TestOption> options;
      private boolean closed;
    
      public TestInputStream(InputStream in, TestOption... options) throws IOException {
        this(in, Arrays.asList(options));
      }
    
      public TestInputStream(InputStream in, Iterable<TestOption> options) throws IOException {
        super(checkNotNull(in));
        this.options = ImmutableSet.copyOf(options);
        throwIf(OPEN_THROWS);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/ServeDocs.java

                builder.getMainModule().set("jdk.httpserver");
                builder.setStandardOutput(System.out);
                builder.setErrorOutput(System.err);
                builder.setArgs(Arrays.asList("-p", getPort().get(), "-d", getDocsDirectory().get().getAsFile().getAbsolutePath()));
                registry.start(getPath(), DeploymentRegistry.ChangeBehavior.RESTART, JavaApplicationHandle.class, builder);
            }
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Apr 18 12:38:47 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

            ArtifactFilter scopeFilter = new ScopeArtifactFilter( scope );
    
            ArtifactFilter filter;
    
            if ( ! exclusions.isEmpty() )
            {
                filter = new AndArtifactFilter( Arrays.asList( new ArtifactFilter[]{
                    new ExcludesArtifactFilter( exclusions ), scopeFilter } ) );
            }
            else
            {
                filter = scopeFilter;
            }
            */
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Chars.java

        Arrays.sort(array, fromIndex, toIndex);
        reverse(array, fromIndex, toIndex);
      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Chars.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(char[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTestSuiteBuilder.java

      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        return Arrays.<Class<? extends AbstractTester>>asList(
            CollectionAddAllTester.class,
            CollectionAddTester.class,
            CollectionClearTester.class,
            CollectionContainsAllTester.class,
            CollectionContainsTester.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/MapCacheTest.java

        this.mapCache = mapCache;
      }
    
      @Parameters
      public static Collection<Object[]> parameters() {
        Comparator<String> nullsLast = Ordering.natural().nullsLast();
    
        return Arrays.asList(
            new Object[][] {
              {new MapIteratorCache<String, String>(new HashMap<String, String>())},
              {new MapIteratorCache<String, String>(new TreeMap<String, String>(nullsLast))},
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 16:23:26 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Longs.java

       * <p><b>Note:</b> when possible, you should represent your data as an {@link ImmutableLongArray}
       * instead, which has an {@link ImmutableLongArray#asList asList} view.
       *
       * @param backingArray the array to back the list
       * @return a list view of the array
       */
      public static List<Long> asList(long... backingArray) {
        if (backingArray.length == 0) {
          return Collections.emptyList();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Longs.java

       * <p><b>Note:</b> when possible, you should represent your data as an {@link ImmutableLongArray}
       * instead, which has an {@link ImmutableLongArray#asList asList} view.
       *
       * @param backingArray the array to back the list
       * @return a list view of the array
       */
      public static List<Long> asList(long... backingArray) {
        if (backingArray.length == 0) {
          return Collections.emptyList();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K bytes
    - Viewed (0)
Back to top