- Sort Score
- Result 10 results
- Languages All
Results 1081 - 1090 of 4,785 for New (0.02 sec)
-
android/guava-tests/test/com/google/common/base/StringsTest.java
} public void testLenientFormat_badArgumentToString_gwtFriendly() { assertThat(Strings.lenientFormat("boiler %s plate", new ThrowsOnToString())) .matches("boiler <.*> plate"); } private static class ThrowsOnToString { @Override public String toString() { throw new UnsupportedOperationException(); } } @J2ktIncompatible @GwtIncompatible // NullPointerTester
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(SimpleAbstractMultisetTest.class); suite.addTest( MultisetTestSuiteBuilder.using( new TestStringMultisetGenerator() { @Override protected Multiset<String> create(String[] elements) { Multiset<String> ms = new NoRemoveMultiset<>();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/cbean/ca/bs/BsClickLogCA.java
ClickLogCQ cq = new ClickLogCQ(); if (queryLambda != null) { queryLambda.callback(cq); } FilterAggregationBuilder builder = regFilterA(name, cq.getQuery()); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { ClickLogCA ca = new ClickLogCA(); aggsLambda.callback(ca);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 45.5K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java
Set<String> existingClasses = new TreeSet<>(); // Using TreeSet for natural ordering String existingContent = ""; // Try to read existing content try { FileObject inputFile = processingEnv.getFiler().getResource(StandardLocation.CLASS_OUTPUT, "", path); try (BufferedReader reader = new BufferedReader(new InputStreamReader(inputFile.openInputStream()))) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon Sep 16 06:25:19 UTC 2024 - 6.1K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java
@Test void testHashCodeNullSafe() { new IssueManagement().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new IssueManagement().equals(null)); new IssueManagement().equals(new IssueManagement()); } @Test void testEqualsIdentity() { IssueManagement thing = new IssueManagement(); assertTrue(thing.equals(thing)); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java
class MailingListTest { @Test void testHashCodeNullSafe() { new MailingList().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new MailingList().equals(null)); new MailingList().equals(new MailingList()); } @Test void testEqualsIdentity() { MailingList thing = new MailingList(); assertTrue(thing.equals(thing)); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/IoTestCase.java
byte[] array = new byte[size]; for (int i = 0; i < size; i++) { array[i] = (byte) (offset + i); } return array; } private static void copy(URL url, File file) throws IOException { InputStream in = url.openStream(); try { OutputStream out = new FileOutputStream(file); try { byte[] buf = new byte[4096];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/base/FinalizableReferenceQueue.java
* * private MyServer(...) { * ... * this.serverSocket = new ServerSocket(...); * ... * } * * public static MyServer create(...) { * MyServer myServer = new MyServer(...); * final ServerSocket serverSocket = myServer.serverSocket; * Reference<?> reference = new FinalizablePhantomReference<MyServer>(myServer, frq) { * public void finalizeReferent() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jul 11 20:51:36 UTC 2024 - 13.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
updateCheckManager = new DefaultUpdateCheckManager(new ConsoleLogger(Logger.LEVEL_DEBUG, "test")); } @Test void testArtifact() throws Exception { ArtifactRepository remoteRepository = remoteRepository(); ArtifactRepository localRepository = localRepository(); Artifact a = createArtifact("a", "0.0.1-SNAPSHOT");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
super.setUp(); emptyAccumulator = new StatsAccumulator(); emptyAccumulatorByAddAllEmptyIterable = new StatsAccumulator(); emptyAccumulatorByAddAllEmptyIterable.addAll(ImmutableList.<Double>of()); emptyAccumulatorByAddAllEmptyStats = new StatsAccumulator(); emptyAccumulatorByAddAllEmptyStats.addAll(Stats.of()); oneValueAccumulator = new StatsAccumulator(); oneValueAccumulator.add(ONE_VALUE);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 36.8K bytes - Viewed (0)