- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 462 for kotlin (0.04 sec)
-
android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java
import java.lang.reflect.Method; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@link Subscriber}. * * @author Cliff Biffle * @author Colin Decker */ public class SubscriberTest extends TestCase { private static final Object FIXTURE_ARGUMENT = new Object(); private EventBus bus; private boolean methodCalled;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractByteHasher.java
import java.nio.ByteOrder; /** * Abstract {@link Hasher} that handles converting primitives to bytes using a scratch {@code * ByteBuffer} and streams all bytes to a sink to compute the hash. * * @author Colin Decker */ @ElementTypesAreNonnullByDefault abstract class AbstractByteHasher extends AbstractHasher { private final ByteBuffer scratch = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkTester.java
import java.util.List; import junit.framework.TestCase; /** * @param <S> the source or sink type * @param <T> the data type (byte[] or String) * @param <F> the factory type * @author Colin Decker */ @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it). public class SourceSinkTester<S, T, F extends SourceSinkFactory<S, T>> extends TestCase {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 27 18:57:08 UTC 2022 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterators; import java.util.Iterator; import junit.framework.TestCase; /** * Tests for {@link SubscriberRegistry}. * * @author Colin Decker */ public class SubscriberRegistryTest extends TestCase { private final SubscriberRegistry registry = new SubscriberRegistry(new EventBus()); public void testRegister() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/Subscriber.java
* * <p>Two subscribers are equivalent when they refer to the same method on the same object (not * class). This property is used to ensure that no subscriber method is registered more than once. * * @author Colin Decker */ @ElementTypesAreNonnullByDefault class Subscriber { /** Creates a {@code Subscriber} for {@code method} on {@code listener}. */ static Subscriber create(EventBus bus, Object listener, Method method) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterators; import java.util.Iterator; import junit.framework.TestCase; /** * Tests for {@link SubscriberRegistry}. * * @author Colin Decker */ public class SubscriberRegistryTest extends TestCase { private final SubscriberRegistry registry = new SubscriberRegistry(new EventBus()); public void testRegister() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSequenceReader.java
import javax.annotation.CheckForNull; /** * A {@link Reader} that reads the characters in a {@link CharSequence}. Like {@code StringReader}, * but works with any {@link CharSequence}. * * @author Colin Decker */ // TODO(cgdecker): make this public? as a type, or a method in CharStreams? @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault final class CharSequenceReader extends Reader {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 4.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/DispatcherTest.java
import java.util.concurrent.CountDownLatch; import java.util.concurrent.CyclicBarrier; import junit.framework.TestCase; /** * Tests for {@link Dispatcher} implementations. * * @author Colin Decker */ public class DispatcherTest extends TestCase { private final EventBus bus = new EventBus(); private final IntegerSubscriber i1 = new IntegerSubscriber("i1");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 27 15:41:25 UTC 2022 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSequenceReader.java
import javax.annotation.CheckForNull; /** * A {@link Reader} that reads the characters in a {@link CharSequence}. Like {@code StringReader}, * but works with any {@link CharSequence}. * * @author Colin Decker */ // TODO(cgdecker): make this public? as a type, or a method in CharStreams? @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault final class CharSequenceReader extends Reader {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 4.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkTester.java
import java.util.List; import junit.framework.TestCase; /** * @param <S> the source or sink type * @param <T> the data type (byte[] or String) * @param <F> the factory type * @author Colin Decker */ @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it). public class SourceSinkTester<S, T, F extends SourceSinkFactory<S, T>> extends TestCase {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 27 18:57:08 UTC 2022 - 4.9K bytes - Viewed (0)