Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1181 - 1190 of 1,961 for isobject (0.04 sec)

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

      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public Queue<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      protected abstract Queue<String> create(String[] elements);
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java

     *
     * <p>This test must be outside the c.g.c.eventbus package to test correctly.
     *
     * @author Louis Wasserman
     */
    abstract class AbstractEventBusTest<H> extends TestCase {
      static final Object EVENT = new Object();
    
      abstract H createSubscriber();
    
      private @Nullable H subscriber;
    
      H getSubscriber() {
        return subscriber;
      }
    
      @Override
      protected void setUp() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:19:38 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/TestSortedSetGenerator.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestSortedSetGenerator<E extends @Nullable Object> extends TestSetGenerator<E> {
      @Override
      SortedSet<E> create(Object... elements);
    
      /**
       * Returns an element less than the {@link #samples()} and less than {@link
       * #belowSamplesGreater()}.
       */
      E belowSamplesLesser();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

        return copyToSet(values);
      }
    
      @Override
      public final SetMultimap<String, String> create(Object... entries) {
        @SuppressWarnings("unchecked")
        Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length];
        int i = 0;
        for (Object o : entries) {
          @SuppressWarnings("unchecked")
          Entry<String, String> e = (Entry<String, String>) o;
          array[i++] = e;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/AbstractLoadingCache.java

     * effort required to implement this interface.
     *
     * <p>To implement a cache, the programmer needs only to extend this class and provide an
     * implementation for the {@link #get(Object)} and {@link #getIfPresent} methods. {@link
     * #getUnchecked}, {@link #get(Object, Callable)}, and {@link #getAll} are implemented in terms of
     * {@code get}; {@link #getAllPresent} is implemented in terms of {@code getIfPresent}; {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ReverseNaturalOrdering.java

      @Override
      public int compare(Comparable<?> left, Comparable<?> right) {
        checkNotNull(left); // right null is caught later
        if (left == right) {
          return 0;
        }
    
        return ((Comparable<Object>) right).compareTo(left);
      }
    
      @Override
      public <S extends Comparable<?>> Ordering<S> reverse() {
        return Ordering.natural();
      }
    
      // Override the min/max methods to "hoist" delegation outside loops
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          queue[i] = null;
        }
        size = 0;
      }
    
      @Override
      @J2ktIncompatible // Incompatible return type change. Use inherited (unoptimized) implementation
      public Object[] toArray() {
        Object[] copyTo = new Object[size];
        arraycopy(queue, 0, copyTo, 0, size);
        return copyTo;
      }
    
      /**
       * Returns the comparator used to order the elements in this queue. Obeys the general contract of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        server.serverSocketFactory =
          object : DelegatingServerSocketFactory(getDefault()) {
            override fun configureServerSocket(serverSocket: ServerSocket): ServerSocket {
              serverSocket.receiveBufferSize = socketBufferSize
              return serverSocket
            }
          }
        client =
          client.newBuilder()
            .socketFactory(
              object : DelegatingSocketFactory(getDefault()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

        val constructedBit: Int
        val content = Buffer()
    
        stack.add(content)
        constructed = false // The enclosed object written in block() is not constructed.
        path += name
        try {
          block(content)
          constructedBit = if (constructed) 0b0010_0000 else 0
          constructed = true // The enclosing object is constructed.
        } finally {
          stack.removeAt(stack.size - 1)
          path.removeAt(path.size - 1)
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/StandardMutableUndirectedGraphTest.java

    public class StandardMutableUndirectedGraphTest extends AbstractStandardUndirectedGraphTest {
    
      @Parameters(name = "allowsSelfLoops={0}, incidentEdgeOrder={1}")
      public static Collection<Object[]> parameters() {
        return Arrays.asList(
            new Object[][] {
              {false, ElementOrder.unordered()},
              {true, ElementOrder.unordered()},
              {false, ElementOrder.stable()},
              {true, ElementOrder.stable()},
            });
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 10 17:54:18 UTC 2020
    - 2K bytes
    - Viewed (0)
Back to top