Search Options

Results per page
Sort
Preferred Languages
Advance

Results 891 - 900 of 4,816 for newE (0.03 sec)

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

      private static final ImmutableRangeSet<Comparable<?>> EMPTY =
          new ImmutableRangeSet<>(ImmutableList.<Range<Comparable<?>>>of());
    
      private static final ImmutableRangeSet<Comparable<?>> ALL =
          new ImmutableRangeSet<>(ImmutableList.of(Range.<Comparable<?>>all()));
    
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/curl/Curl.java

            return new CurlRequest(Method.PUT, url);
        }
    
        public static CurlRequest delete(final String url) {
            return new CurlRequest(Method.DELETE, url);
        }
    
        public static CurlRequest head(final String url) {
            return new CurlRequest(Method.HEAD, url);
        }
    
        public static CurlRequest options(final String url) {
            return new CurlRequest(Method.OPTIONS, url);
        }
    
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java

     *
     * @author Louis Wasserman
     */
    public class DoubleMathRoundingBenchmark {
      private static final double[] doubleInIntRange = new double[ARRAY_SIZE];
      private static final double[] doubleInLongRange = new double[ARRAY_SIZE];
      private static final double[] positiveDoubles = new double[ARRAY_SIZE];
    
      @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"})
      RoundingMode mode;
    
      @BeforeExperiment
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.6K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java

            List<Artifact> list = new ArrayList<>();
            list.add(newArtifact("b"));
            list.add(newArtifact("a"));
            list.add(newArtifact("c"));
            list.add(newArtifact("e"));
            list.add(newArtifact("d"));
    
            Map<String, Artifact> map = ArtifactUtils.artifactMapByVersionlessId(list);
            assertNotNull(map);
            assertEquals(list, new ArrayList<>(map.values()));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenParser.java

        @Override
        protected MavenOptions parseArgs(String source, List<String> args) throws ParserException {
            try {
                return CommonsCliMavenOptions.parse(source, args.toArray(new String[0]));
            } catch (ParseException e) {
                throw new ParserException("Failed to parse source " + source, e.getCause());
            }
        }
    
        // TODO: same is in DefaultMavenParser!!! (duplication)
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPrompter.java

                return (String) method.invoke(instance, message, possibleValues, defaultReply);
            } catch (Exception e) {
                throw new PrompterException("Unable to call prompter", e);
            }
        }
    
        @Override
        public String promptForPassword(String message) throws PrompterException {
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java

                    new ConflictResolver(
                            new NearestVersionSelector(), new ManagedScopeSelector(getScopeManager()),
                            new SimpleOptionalitySelector(), new ManagedScopeDeriver(getScopeManager())),
                    new ManagedDependencyContextRefiner(getScopeManager()));
        }
    
        /**
         * This method produces "surrogate" type registry that is static: it aims users that want to use
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

        TestService service = new TestService();
        assertEquals(0, service.startUpCalled);
        service.startAsync().awaitRunning();
        assertEquals(1, service.startUpCalled);
        assertEquals(Service.State.RUNNING, service.state());
        assertThat(service.transitionStates).containsExactly(Service.State.STARTING);
      }
    
      public void testStart_failed() {
        final Exception exception = new Exception("deliberate");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

                return Result.error(Collections.singletonList(new DefaultModelProblem(null, null, null, null, 0, 0, e)));
            } catch (final CycleDetectedException e) {
                String message = "The projects in the reactor contain a cyclic reference: " + e.getMessage();
                ProjectCycleException error = new ProjectCycleException(message, e);
                return Result.error(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

          return (Multiset.Entry<E>[]) new Multiset.Entry<?>[length];
        }
    
        @Override
        public Iterable<Entry<E>> order(List<Entry<E>> insertionOrder) {
          // We mimic the order from gen.
          Map<E, Entry<E>> map = new LinkedHashMap<>();
          for (Entry<E> entry : insertionOrder) {
            map.put(entry.getElement(), entry);
          }
    
          Set<E> seen = new HashSet<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top