Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2791 - 2800 of 5,478 for newA (0.07 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

                return customLifecycles != null ? customLifecycles : new HashMap<>();
            }
    
            // Lifecycles cannot be cached as extensions might add custom lifecycles later in the execution.
            try {
                return registry != null
                        ? registry.stream().collect(Collectors.toMap(lf -> lf.id(), lf -> new Lifecycle(registry, lf)))
                        : Map.of();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/graph/StandardValueGraph.java

        // Prefer the heavier "MapRetrievalCache" for nodes if lookup is expensive.
        this.nodeConnections =
            (nodeConnections instanceof TreeMap)
                ? new MapRetrievalCache<N, GraphConnections<N, V>>(nodeConnections)
                : new MapIteratorCache<N, GraphConnections<N, V>>(nodeConnections);
        this.edgeCount = checkNonNegative(edgeCount);
      }
    
      @Override
      public Set<N> nodes() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 6K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         * @param supplier the supplier will compute the new value
         * @return the session data associated with the key
         */
        @Nullable
        <T> T computeIfAbsent(@Nonnull Key<T> key, @Nonnull Supplier<T> supplier);
    
        /**
         * Create a key using the given class as an identifier and as the type of the object.
         */
        static <T> Key<T> key(Class<T> clazz) {
            return new Key<>(clazz, clazz);
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Platform.java

        return CompactHashSet.create();
      }
    
      /**
       * Returns a new array of the given length with the same type as a reference array.
       *
       * @param reference any array of the desired type
       * @param length the length of the new array
       */
      /*
       * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

         */
        @Test
        public void testErrorMessage_ja() throws Exception {
            // ## Arrange ##
            Locale.setDefault(Locale.JAPANESE);
            final NullArgumentException nullArgumentException = new NullArgumentException("hoge");
            assertThat(nullArgumentException.getArgName(), is("hoge"));
            assertThat(nullArgumentException.getMessage(), is("[ECL0008]argument[hoge] is null."));
        }
    
        /**
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/api/WebApiResponse.java

         * @return A PrintWriter for response output
         * @throws IOException If an I/O error occurs
         */
        @Override
        public PrintWriter getWriter() throws IOException {
            // dummy stream
            return new PrintWriter(new ByteArrayOutputStream());
        }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

            assertEquals(0, (int) StreamUtil.stream(o).get(s -> s.toArray().length));
            Map<Object, Object> map = new HashMap<Object, Object>();
            assertEquals(0, (int) StreamUtil.stream(map).get(s -> s.toArray().length));
        }
    
        public void test_ofMap() {
            Map<String, String> map = new HashMap<String, String>();
            map.put("key1", "value1");
            map.put("key2", "value2");
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiPartOfSpeechFilterFactory.java

    import org.opensearch.index.analysis.Analysis;
    
    public class KuromojiPartOfSpeechFilterFactory extends AbstractTokenFilterFactory {
    
        private final Set<String> stopTags = new HashSet<>();
    
        public KuromojiPartOfSpeechFilterFactory(IndexSettings indexSettings, Environment env, String name, Settings settings) {
            super(indexSettings, name, settings);
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/TypeRegistryAdapter.java

                return artifactType;
            }
            return new DefaultType(
                    type.id(),
                    type.getLanguage(),
                    type.getExtension(),
                    type.getClassifier(),
                    type.isIncludesDependencies(),
                    type.getPathTypes().toArray(new PathType[0]));
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jul 18 22:21:33 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MimeTypeException.java

            super(message, cause);
        }
    
        /**
         * Creates a new MimeTypeException with the specified detail message.
         *
         * @param message the detail message explaining the reason for the exception
         */
        public MimeTypeException(final String message) {
            super(message);
        }
    
        /**
         * Creates a new MimeTypeException with the specified cause.
         *
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 1.9K bytes
    - Click Count (0)
Back to Top