Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1481 - 1490 of 1,694 for implementors (0.08 sec)

  1. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        return ObjectArrays.concat(a, b, Integer.class);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      public abstract static class TestIntegerListGenerator implements TestListGenerator<Integer> {
        @Override
        public SampleElements<Integer> samples() {
          return new SampleIntegers();
        }
    
        @Override
        public List<Integer> create(Object... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        return ObjectArrays.concat(a, b, Double.class);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      public abstract static class TestDoubleListGenerator implements TestListGenerator<Double> {
        @Override
        public SampleElements<Double> samples() {
          return new SampleDoubles();
        }
    
        @Override
        public List<Double> create(Object... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        Iterator<@Nullable String> c = Iterators.forArray("a", null, "b");
        assertThrows(NullPointerException.class, () -> copyOf((Iterator<String>) c));
      }
    
      private static class CountingIterable implements Iterable<String> {
        int count = 0;
    
        @Override
        public Iterator<String> iterator() {
          count++;
          return Iterators.forArray("a", "b", "a");
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Bytes.java

          return Collections.emptyList();
        }
        return new ByteArrayAsList(backingArray);
      }
    
      @GwtCompatible
      private static class ByteArrayAsList extends AbstractList<Byte>
          implements RandomAccess, Serializable {
        final byte[] array;
        final int start;
        final int end;
    
        ByteArrayAsList(byte[] array) {
          this(array, 0, array.length);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

        )
    
        taskFaker.assertNoMoreTasks()
      }
    
      /**
       * This test puts several connections in flight that all fail at approximately the same time. It
       * confirms the fast fallback implements these invariants:
       *
       *  * if there's no TCP connect in flight, start one.
       *  * don't start a new TCP connect within 250 ms of the previous TCP connect.
       */
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                ImmutableMultiset.<TypeWithDuplicates>builder().add(a).addCopies(b1, 2).add(c).build(),
                a,
                b1,
                c,
                b2);
      }
    
      private static class CountingIterable implements Iterable<String> {
        int count = 0;
    
        @Override
        public Iterator<String> iterator() {
          count++;
          return asList("a", "b", "a").iterator();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       *
       * <p>This class is accessible but not supported in GWT as it references {@link
       * PermittedMetaException}.
       */
      protected final class MultiExceptionListIterator implements ListIterator<E> {
        // TODO: track seen elements when order isn't guaranteed
        // TODO: verify contents afterward
        // TODO: something shiny and new instead of Stack
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableCollection.java

    // just to do everything we can to emphasize the "practically an interface" nature of this class.
    public abstract class ImmutableCollection<E> extends AbstractCollection<E> implements Serializable {
      /*
       * We expect SIZED (and SUBSIZED, if applicable) to be added by the spliterator factory methods.
       * These are properties of the collection as a whole; SIZED and SUBSIZED are more properties of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableListMultimap.java

     *
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ImmutableListMultimap<K, V> extends ImmutableMultimap<K, V>
        implements ListMultimap<K, V> {
      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableListMultimap}
       * whose keys and values are the result of applying the provided mapping functions to the input
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 20:20:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/BloomFilterTest.java

      }
    
      public void testSerializationWithCustomFunnel() {
        SerializableTester.reserializeAndAssert(BloomFilter.create(new CustomFunnel(), 100));
      }
    
      private static final class CustomFunnel implements Funnel<Long> {
        @Override
        public void funnel(Long value, PrimitiveSink into) {
          into.putLong(value);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top