- Sort Score
- Result 10 results
- Languages All
Results 1331 - 1340 of 4,816 for newE (0.03 sec)
-
compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java
NullPointerException.class, () -> new UrlSource(null), "Should fail, since you must specify a url"); assertEquals("url cannot be null", e.getMessage()); } @Test void testGetInputStream() throws Exception { URL txtFile = new File("target/test-classes/source.txt").toURI().toURL(); UrlSource source = new UrlSource(txtFile); try (InputStream is = source.getInputStream();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Queues.java
public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(int capacity) { return new ArrayBlockingQueue<>(capacity); } // ArrayDeque /** * Creates an empty {@code ArrayDeque}. * * @since 12.0 */ public static <E> ArrayDeque<E> newArrayDeque() { return new ArrayDeque<>(); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 14:11:14 UTC 2024 - 18.4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java
} } } } public static String formatTimestamp(long timestamp) { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssXXX"); return sdf.format(new Date(timestamp)); } public static String formatDuration(long duration) { // CHECKSTYLE_OFF: MagicNumber long ms = duration % 1000;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
* * <pre>{@code * final WeakHashMap<Object, Object> map = new WeakHashMap<>(); * map.put(new Object(), Boolean.TRUE); * GcFinalization.awaitDone(new FinalizationPredicate() { * public boolean isDone() { * return map.isEmpty(); * } * }); * }</pre> * * <p>Even if your non-test code does not use finalization, you can use this class to test for
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 11.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
return new Date(((Date) src).getTime()); } if (src instanceof Calendar) { return new Date(((Calendar) src).getTimeInMillis()); } final String str = src.toString(); if (isEmpty(str)) { return null; } if (isNotEmpty(pattern)) { final SimpleDateFormat format = new SimpleDateFormat(pattern, locale);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 41.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java
@Override public void setUp() throws Exception { super.setUp(); pathMappingHelper = new PathMappingHelper(); pathMappingHelper.init(); } public void test_setPathMappingList() { final String sessionId = "test"; final List<PathMapping> pathMappingList = new ArrayList<PathMapping>(); assertNull(pathMappingHelper.getPathMappingList(sessionId));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeRangeMap.java
return new TreeRangeMap<>(entriesByLowerBound); } else { NavigableMap<Cut<K>, RangeMapEntry<K, V>> entriesByLowerBound = Maps.newTreeMap(); for (Entry<Range<K>, ? extends V> entry : rangeMap.asMapOfRanges().entrySet()) { entriesByLowerBound.put( entry.getKey().lowerBound(), new RangeMapEntry<K, V>(entry.getKey(), entry.getValue())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
@MapFeature.Require(SUPPORTS_PUT) public void testPutAllNonEmptyIterableOnPresentKey() { assertTrue( multimap() .putAll( k0(), new Iterable<V>() { @Override public Iterator<V> iterator() { return Lists.newArrayList(v3(), v4()).iterator(); } }));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/exbhv/SearchLogBhv.java
result.getRequestHeaderList().add(new Pair<>(e.getKey(), e.getValue().toString())); } }); } return result; } catch (final Exception e) { final String msg = "Cannot create a new instance: " + entityType.getName(); throw new IllegalBehaviorStateException(msg, e); } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.8K bytes - Viewed (0)