Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2391 - 2400 of 3,920 for extenders (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class ListReplaceAllTester<E> extends AbstractListTester<E> {
      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll() {
        getList().replaceAll(e -> samples.e3());
        expectContents(Collections.nCopies(getNumElements(), samples.e3()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllTester.java

     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListAddAllTester<E> extends AbstractListTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAll_supportedAllPresent() {
        assertTrue(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. samples/slack/src/main/java/okhttp3/slack/RtmSession.java

    import java.io.Closeable;
    import java.io.IOException;
    import okhttp3.WebSocket;
    import okhttp3.Response;
    import okhttp3.WebSocketListener;
    
    /** A realtime messaging session. */
    public final class RtmSession extends WebSocketListener implements Closeable {
      private final SlackApi slackApi;
    
      /** Guarded by this. */
      private WebSocket webSocket;
    
      public RtmSession(SlackApi slackApi) {
        this.slackApi = slackApi;
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Nov 19 20:16:58 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/UrlEscapersTest.java

    import com.google.common.escape.UnicodeEscaper;
    import junit.framework.TestCase;
    
    /**
     * Tests for the {@link UrlEscapers} class.
     *
     * @author David Beaumont
     */
    @GwtCompatible
    public class UrlEscapersTest extends TestCase {
      public void testUrlFormParameterEscaper() {
        UnicodeEscaper e = (UnicodeEscaper) urlFormParameterEscaper();
        // Verify that these are the same escaper (as documented)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 17:53:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SingletonImmutableSet.java

     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    @ElementTypesAreNonnullByDefault
    final class SingletonImmutableSet<E> extends ImmutableSet<E> {
      // We deliberately avoid caching the asList and hashCode here, to ensure that with
      // compressed oops, a SingletonImmutableSet packs all the way down to the optimal 16 bytes.
    
      final transient E element;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SingletonImmutableTable.java

    /**
     * An implementation of {@link ImmutableTable} that holds a single cell.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    class SingletonImmutableTable<R, C, V> extends ImmutableTable<R, C, V> {
      final R singleRowKey;
      final C singleColumnKey;
      final V singleValue;
    
      SingletonImmutableTable(R rowKey, C columnKey, V value) {
        this.singleRowKey = checkNotNull(rowKey);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapMakerTest.java

    import java.util.concurrent.CountDownLatch;
    import junit.framework.TestCase;
    
    /**
     * @author Charles Fry
     */
    @GwtCompatible(emulated = true)
    @J2ktIncompatible // MapMaker
    public class MapMakerTest extends TestCase {
      @GwtIncompatible // NullPointerTester
      public void testNullParameters() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(new MapMaker());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * Validate that {@link EventBus} behaves carefully when listeners publish their own events.
     *
     * @author Jesse Wilson
     */
    public class ReentrantEventsTest extends TestCase {
    
      static final String FIRST = "one";
      static final Double SECOND = 2.0d;
    
      final EventBus bus = new EventBus();
    
      public void testNoReentrantEvents() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java

    import org.junit.runners.Parameterized.Parameters;
    
    /** Tests for a directed {@link ImmutableNetwork}. */
    @AndroidIncompatible
    @RunWith(Parameterized.class)
    public class StandardImmutableDirectedNetworkTest extends AbstractStandardDirectedNetworkTest {
    
      @Parameters(name = "allowsSelfLoops={0}, allowsParallelEdges={1}, nodeOrder={2}, edgeOrder={3}")
      public static Collection<Object[]> parameters() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComRename.java

    import jcifs.Configuration;
    import jcifs.SmbConstants;
    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    
    /**
     * 
     */
    public class SmbComRename extends ServerMessageBlock {
    
        private int searchAttributes;
        private String oldFileName;
        private String newFileName;
    
    
        /**
         * 
         * @param config
         * @param oldFileName
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.8K bytes
    - Viewed (0)
Back to top