Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 446 for only (0.17 sec)

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

        }
        @SuppressWarnings("unchecked") // elements only contains E's; it's safe.
        E[] array = (E[]) Iterables.toArray(elements);
        return construct(comparator, array.length, array);
      }
    
      /**
       * Returns an immutable sorted set containing the given elements sorted by the given {@code
       * Comparator}. When multiple elements are equivalent according to {@code compareTo()}, only the
       * first one specified is included.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         * in which case there is one key per sub-directory.
         *
         * <p>This map may contain null values if the constructor was invoked with {@code resolve}
         * parameter set to false. This is more efficient when only the module existence needs to
         * be tested, and module descriptors are not needed.</p>
         *
         * @see #getModuleNames()
         */
        private final Map<Path, String> descriptors;
    
        /**
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

         * what phases have run dependencies in some scopes won't be included. e.g. if only compile phase has run,
         * dependencies with scope test won't be included.
         *
         * @return {@link Set} &lt; {@link Artifact} &gt;
         * @see #getDependencyArtifacts() to get only direct dependencies
         */
        public Set<Artifact> getArtifacts() {
            if (artifacts == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      @CheckForNull
      public E poll() {
        return isEmpty() ? null : removeAndGet(0);
      }
    
      @SuppressWarnings("unchecked") // we must carefully only allow Es to get in
      E elementData(int index) {
        /*
         * requireNonNull is safe as long as we're careful to call this method only with populated
         * indexes.
         */
        return (E) requireNonNull(queue[index]);
      }
    
      @Override
      @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Collections2.java

       *
       * <p>Duplicate elements are considered equal. For example, the list [1, 1] will have only one
       * permutation, instead of two. This is why the elements have to implement {@link Comparable}.
       *
       * <p>An empty iterable has only one permutation, which is an empty list.
       *
       * <p>This method is equivalent to {@code Collections2.orderedPermutations(list,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

        /**
         * Compile only.
         */
        COMPILE_ONLY("compile-only", false),
    
        /**
         * Compile, runtime and test.
         */
        COMPILE("compile", true),
    
        /**
         * Runtime and test.
         */
        RUNTIME("runtime", true),
    
        /**
         * Provided.
         */
        PROVIDED("provided", false),
    
        /**
         * Test compile only.
         */
        TEST_ONLY("test-only", false),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Mar 27 14:46:12 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
      @SuppressWarnings({"AndroidJdkLibsChecker", "Java7ApiChecker"})
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
      @Beta // TODO: b/288085449 - Remove.
      public static <T extends @Nullable Object, K, V>
          Collector<T, ?, ImmutableBiMap<K, V>> toImmutableBiMap(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            checkBuildPluginWithArtifactId(
                    activeProfilePlugins,
                    "only-active-profile",
                    "Active only ||${project.basedir}||",
                    "<plugin-in-active-profile-only>Active only ||${project.basedir}||</plugin-in-active-profile-only>");
    
            // =============================================
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * <p>If the elements contain duplicates (according to the comparator), only the first duplicate
       * in encounter order will appear in the result.
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
      @SuppressWarnings({"AndroidJdkLibsChecker", "Java7ApiChecker"})
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
      @Beta // TODO: b/288085449 - Remove.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        }
      }
    
      public void testCompare() {
        // This is the only ordering for primitives that does not have a
        // corresponding Comparable wrapper in java.lang.
        for (int i = 0; i < VALUES.length; i++) {
          for (int j = 0; j < VALUES.length; j++) {
            byte x = VALUES[i];
            byte y = VALUES[j];
            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top