- Sort Score
- Num 10 results
- Language All
Results 1571 - 1580 of 2,470 for instance1 (0.13 seconds)
-
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
ContiguousSet<Integer> empty = ContiguousSet.create(Range.closedOpen(1, 1), integers()); assertTrue(empty instanceof EmptyContiguousSet); reserializeAndAssert(empty); ContiguousSet<Integer> regular = ContiguousSet.create(Range.closed(1, 3), integers()); assertTrue(regular instanceof RegularContiguousSet); reserializeAndAssert(regular); /*
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 19.6K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
ComparableVersion c1 = new ComparableVersion("1"); c1.parseVersion("2"); Comparable<?> c2 = newComparable("2"); assertEquals(c1, c2, "reused instance should be equivalent to new instance"); } /** * Test <a href="https://issues.apache.org/jira/browse/MNG-7644">MNG-7644</a> edge cases * 1.0.0.RC1 < 1.0.0-RC2 and more generally:
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 17.8K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
assertTrue(e.getMessage().contains("Failed to access the content")); // The cause should be another CurlException from getContentAsStream() assertTrue(e.getCause() instanceof CurlException); CurlException innerException = (CurlException) e.getCause(); assertTrue(innerException.getMessage().contains("The content does not exist"));
Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 12.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/PairwiseEquivalence.java
for (T element : iterable) { hash = hash * 24943 + elementEquivalence.hash(element); } return hash; } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof PairwiseEquivalence) { @SuppressWarnings("unchecked") PairwiseEquivalence<Object, Object> that = (PairwiseEquivalence<Object, Object>) obj; return this.elementEquivalence.equals(that.elementEquivalence); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/failureurl/EditForm.java
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/SQLRuntimeException.java
* Returns the <code>SQL</code>. * * @param cause the underlying exception * @return the <code>SQL</code> */ protected static String getSql(final SQLException cause) { if (cause instanceof ClSQLException) { return ((ClSQLException) cause).getSql(); } return ""; } /** * Returns the real message. * * @param cause the underlying exception
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 2.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ByFunctionOrdering.java
return ordering.compare(function.apply(left), function.apply(right)); } @Override public boolean equals(@Nullable Object object) { if (object == this) { return true; } if (object instanceof ByFunctionOrdering) { ByFunctionOrdering<?, ?> that = (ByFunctionOrdering<?, ?>) object; return this.function.equals(that.function) && this.ordering.equals(that.ordering); } return false; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 2.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableSortedSet.java
// targets.size() < size() / log(size()) // TODO(kevinb): see if we can share code with OrderedIterator after it // graduates from labs. if (targets instanceof Multiset) { targets = ((Multiset<?>) targets).elementSet(); } if (!SortedIterables.hasSameComparator(comparator(), targets) || (targets.size() <= 1)) { return super.containsAll(targets); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
boolean normalized = false; List<ArtifactRepository> repos = new ArrayList<>(repositories.size()); for (Object repository : repositories) { if (repository instanceof Repository repositoryInstance) { try { ArtifactRepository repo = repositorySystem.buildArtifactRepository(repositoryInstance);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 12.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
fun interface Factory { /** * Creates an instance of the [EventListener] for a particular [Call]. The returned * [EventListener] instance will be used during the lifecycle of [call]. * * This method is invoked after [call] is created. See [OkHttpClient.newCall]. * * **It is an error for implementations to issue any mutating operations on the [call] instance * from this method.** */Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 21:03:04 GMT 2025 - 24.9K bytes - Click Count (0)