- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 785 for References (0.5 seconds)
-
android/guava/src/com/google/common/eventbus/EventBus.java
* by individual libraries that provide specialized support for particular use cases. * * <p>Disadvantages of EventBus include: * * <ul> * <li>It makes the cross-references between producer and subscriber harder to find. This can * complicate debugging, lead to unintentional reentrant calls, and force apps to eagerly * initialize all possible subscribers at startup time.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 12.7K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LocalCache.java
/** * Returns the entry associated with this value reference, or {@code null} if this value * reference is independent of any entry. */ @Nullable ReferenceEntry<K, V> getEntry(); /** * Creates a copy of this reference for the given entry. * * <p>{@code value} may be null only for a loading reference. */ ValueReference<K, V> copyFor(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 143.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Predicates.java
} /** * Returns a predicate that evaluates to {@code true} if the object reference being tested is * null. * * <p><b>Discouraged:</b> Prefer using either {@code x -> x == null} or {@code Objects::isNull}, * but note that lambdas and method references do not have human-readable {@link #toString()} * representations and are not serializable. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 26.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ComparisonChain.java
* .thenComparing(foo -> foo.anEnum, nullsLast(naturalOrder())); * * @Override * public int compareTo(Foo that) { * return COMPARATOR.compare(this, that); * } * } * * <p>With method references it is more succinct: {@code comparing(Foo::aString)} for example. * * <p>Using {@link Comparator} avoids certain types of bugs, for example when you meant to write
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
* getChecked(future, WillBeUnloadedException.class)}, and returns the loader. The caller can then * test that the {@code ClassLoader} can still be GCed. The test amounts to a test that {@code * getChecked} holds no strong references to the class. */ private WeakReference<?> doTestClassUnloading() throws Exception { URLClassLoader shadowLoader = new URLClassLoader(parseJavaClassPath(), null); @SuppressWarnings("unchecked")
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 16.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
* getChecked(future, WillBeUnloadedException.class)}, and returns the loader. The caller can then * test that the {@code ClassLoader} can still be GCed. The test amounts to a test that {@code * getChecked} holds no strong references to the class. */ private WeakReference<?> doTestClassUnloading() throws Exception { URLClassLoader shadowLoader = new URLClassLoader(parseJavaClassPath(), null); @SuppressWarnings("unchecked")
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 16.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
} } return hash; } /** * Appends line numbers to each line of content with a given prefix. * Useful for debugging and displaying content with line references. * * @param prefix the prefix to add before each line number * @param content the content to add line numbers to * @return the content with line numbers prepended, or empty string if content is blankCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Mar 30 14:27:04 GMT 2026 - 17.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
// Then assertNotSame(instance1, instance2); assertEquals(instance1.getCommand(), instance2.getCommand()); assertNotEquals(instance1.toString(), instance2.toString()); // Different object references in toString } /** * Test thread safety of read/write operations */ @Test @DisplayName("Test thread safety of operations")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
* about arrays for now, as they're a mess. */ public static <T extends @Nullable Object> T[] newArray(T[] reference, int length) { T[] empty = reference.length == 0 ? reference : Arrays.copyOf(reference, 0); return Arrays.copyOf(empty, length); } /** * Returns a new array that contains the concatenated contents of two arrays. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 9.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GenerateReleaseNotesTask.java
partitionedFiles.put(currentVersion, mutableAllFilesInCheckout); return partitionedFiles; } /** * Ensure the upstream git remote is up-to-date. The upstream is whatever git remote references `elastic/elasticsearch`. * @param gitWrapper used to call `git` */ private static void findAndUpdateUpstreamRemote(GitWrapper gitWrapper) { LOGGER.info("Finding upstream git remote");
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 06:25:29 GMT 2021 - 12.9K bytes - Click Count (0)