- Sort Score
- Num 10 results
- Language All
Results 2791 - 2800 of 5,478 for newE (0.03 seconds)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java
* Verifies the no-arg constructor sets the expected message, status, and no cause. */ @Test void defaultConstructorSetsMessageAndStatus() { // Arrange & Act SmbEndOfFileException ex = new SmbEndOfFileException(); // Assert assertEquals("Unexpectedly reached end of file", ex.getMessage(), "Default message must match");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/guide/PostExample.java
public class PostExample { public static final MediaType JSON = MediaType.get("application/json; charset=utf-8"); final OkHttpClient client = new OkHttpClient(); String post(String url, String json) throws IOException { RequestBody body = RequestBody.create(json, JSON); Request request = new Request.Builder() .url(url) .post(body) .build(); try (Response response = client.newCall(request).execute()) {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2K bytes - Click Count (0)