- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 178 for subclass (0.04 sec)
-
guava/src/com/google/common/collect/ImmutableMap.java
* of SerializedForm whose readResolve() method returns objects of the subclass type. */ @J2ktIncompatible // serialization Object writeReplace() { return new SerializedForm<>(this); } @J2ktIncompatible // java.io.ObjectInputStream private void readObject(ObjectInputStream stream) throws InvalidObjectException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 44.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Joiner.java
/* * requireNonNull is not safe: Joiner.on(...).join(somethingThatContainsNull) will indeed throw. * However, Joiner.on(...).useForNull(...).join(somethingThatContainsNull) *is* safe -- because * it returns a subclass of Joiner that overrides this method to tolerate null inputs. * * Unfortunately, we don't distinguish between these two cases in our public API: Joiner.on(...)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 19.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Joiner.java
/* * requireNonNull is not safe: Joiner.on(...).join(somethingThatContainsNull) will indeed throw. * However, Joiner.on(...).useForNull(...).join(somethingThatContainsNull) *is* safe -- because * it returns a subclass of Joiner that overrides this method to tolerate null inputs. * * Unfortunately, we don't distinguish between these two cases in our public API: Joiner.on(...)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 21K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
* * <p>Subclasses are guaranteed that the life cycle methods ({@link #runOneIteration}, {@link * #startUp} and {@link #shutDown}) will never run concurrently. Notably, if any execution of {@link * #runOneIteration} takes longer than its schedule defines, then subsequent executions may start * late. Also, all life cycle methods are executed with a lock held, so subclasses can safely modify
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
* more information, see the comments in that class. * * We already know that that's how it behaves, and subclasses of Converter can't change that * behavior. So there's no sense in making all subclass authors exclude the method from any * NullPointerTester tests that they have. */ ignoredMembers.add(Converter.class.getMethod("apply", Object.class));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
} @Override public void forEach(Consumer<? super T> action) { iterable.forEach(action); } @SuppressWarnings("unchecked") // safe upcast, assuming no one has a crazy Spliterator subclass @Override public Spliterator<T> spliterator() { return (Spliterator<T>) iterable.spliterator(); } @Override public String toString() { return iterable.toString();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} } public <T> void testRejectTypeVariable_withOwnerType() { // Neither has subclass assertHasTypeVariable(new From<Integer>().new To<String>().type()); assertHasTypeVariable(new From<T>().new To<String>().type()); assertHasTypeVariable(new From<Integer>().new To<T>().type()); // Owner is subclassed assertHasTypeVariable(new From<Integer>() {}.new To<String>().type());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} } public <T> void testRejectTypeVariable_withOwnerType() { // Neither has subclass assertHasTypeVariable(new From<Integer>().new To<String>().type()); assertHasTypeVariable(new From<T>().new To<String>().type()); assertHasTypeVariable(new From<Integer>().new To<T>().type()); // Owner is subclassed assertHasTypeVariable(new From<Integer>() {}.new To<String>().type());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
return (Segment<K, V, E, S>[]) new Segment<?, ?, ?, ?>[ssize]; } // Inner Classes /** * Segments are specialized versions of hash tables. This subclass inherits from ReentrantLock * opportunistically, just to simplify some locking and avoid separate construction. */ @SuppressWarnings("serial") // This class is never serialized. abstract static class Segment<
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 90K bytes - Viewed (0) -
guava-gwt/test/com/google/common/GwtTestSuite.java
for (ClassInfo info : ClassPath.from(GwtTestSuite.class.getClassLoader()).getTopLevelClasses()) { if (info.getName().endsWith("_gwt")) { Class<?> clazz = info.load(); // TODO(cpovirk): why does asSubclass() throw? Is it something about ClassLoaders? @SuppressWarnings("unchecked") Class<? extends GWTTestCase> cast = (Class<? extends GWTTestCase>) clazz; suite.addTestSuite(cast); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 1.6K bytes - Viewed (0)