- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 1,332 for delegate (0.06 sec)
-
guava/src/com/google/common/collect/Multisets.java
implements Serializable { final Multiset<? extends E> delegate; UnmodifiableMultiset(Multiset<? extends E> delegate) { this.delegate = delegate; } @SuppressWarnings("unchecked") @Override protected Multiset<E> delegate() { // This is safe because all non-covariant methods are overridden return (Multiset<E>) delegate; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 41.5K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java
return super.equals(obj); } /** * By default delegates to {@link Object#hashCode}. The dynamic proxies' {@code hashCode()} will * delegate to this method. Subclasses can override this method to provide custom equality. */ @Override public int hashCode() { return super.hashCode(); } /** * By default delegates to {@link Object#toString}. The dynamic proxies' {@code toString()} will
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 5.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EqualsTester.java
public EqualsTester testEquals() { RelationshipTester<Object> delegate = new RelationshipTester<>( Equivalence.equals(), "Object#equals", "Object#hashCode", itemReporter); for (List<Object> group : equalityGroups) { delegate.addRelatedGroup(group); } for (int run = 0; run < REPETITIONS; run++) { testItems(); delegate.test(); } return this; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 31 19:11:50 UTC 2023 - 6K bytes - Viewed (0) -
guava/src/com/google/common/io/LittleEndianDataOutputStream.java
public final class LittleEndianDataOutputStream extends FilterOutputStream implements DataOutput { /** * Creates a {@code LittleEndianDataOutputStream} that wraps the given stream. * * @param out the stream to delegate to */ public LittleEndianDataOutputStream(OutputStream out) { super(new DataOutputStream(Preconditions.checkNotNull(out))); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 12:34:49 UTC 2024 - 5.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/ResponseBody.kt
) : Reader() { private var closed: Boolean = false private var delegate: Reader? = null @Throws(IOException::class) override fun read( cbuf: CharArray, off: Int, len: Int, ): Int { if (closed) throw IOException("Stream closed") val finalDelegate = delegate ?: InputStreamReader( source.inputStream(),
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java
Iterable<? extends Entry<? extends K, ? extends V>> entries) { return new Builder<K, V>().putAll(entries).build(); } ImmutableBiMap(Map<K, V> delegate) { super(delegate); } public abstract ImmutableBiMap<V, K> inverse(); @Override public ImmutableSet<V> values() { return inverse().keySet(); } @CheckForNull
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 7.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
private val delegate: MutableIterator<DiskLruCache.Snapshot> = cache.snapshots() private var nextUrl: String? = null private var canRemove = false override fun hasNext(): Boolean { if (nextUrl != null) return true canRemove = false // Prevent delegate.remove() on the wrong item! while (delegate.hasNext()) { try {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 26.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StringsTest.java
} public void testPadEnd_null() { assertThrows(NullPointerException.class, () -> Strings.padEnd(null, 5, '0')); } @SuppressWarnings("InlineMeInliner") // test of method that doesn't just delegate public void testRepeat() { String input = "20"; assertEquals("", Strings.repeat(input, 0)); assertEquals("20", Strings.repeat(input, 1)); assertEquals("2020", Strings.repeat(input, 2));
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/src/com/google/common/collect/MapMakerInternalMap.java
this.concurrencyLevel = concurrencyLevel; this.delegate = delegate; } @Override protected ConcurrentMap<K, V> delegate() { return delegate; } void writeMapTo(ObjectOutputStream out) throws IOException { out.writeInt(delegate.size()); for (Entry<K, V> entry : delegate.entrySet()) { out.writeObject(entry.getKey());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 90.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
/** Proxy to throw a {@link RuntimeException} out of the {@link #get()} method. */ public static class BadFuture extends SimpleForwardingListenableFuture<Integer> { protected BadFuture(ListenableFuture<Integer> delegate) { super(delegate); } @Override public Integer get() { throw new RuntimeException("Oops"); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 6.2K bytes - Viewed (0)