Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 1,434 for created (0.04 sec)

  1. NavigableMapTestSuiteBuilder.java

    TestSortedMapGenerator<K, V> { L144: DescendingTestMapGenerator(TestSortedMapGenerator<K, V> delegate) { L145: super(delegate); L146: } L147: L148: @Override L149: public NavigableMap<K, V> create(Object... entries) { L150: NavigableMap<K, V> map = (NavigableMap<K, V>) delegate.create(entries); L151: return map.descendingMap(); L152: } L153: L154: @Override L155: public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) { L156: insertionOrder = castOr...
    github.com/google/guava/guava-testlib/src/com/g...
    Wed Oct 30 16:15:19 UTC 2024
      7K bytes
  2. TestMapEntrySetGenerator.java

    L21:import com.google.common.annotations.GwtCompatible; L22:import java.util.List; L23:import java.util.Map; L24:import java.util.Map.Entry; L25:import java.util.Set; L26:import org.checkerframework.checker.nullness.qual.Nullable; L27: L28:/** L29: * Creates map entries using sample keys and sample values. L30: * L31: * @author Jesse Wilson L32: */ L33:@GwtCompatible L34:@ElementTypesAreNonnullByDefault L35:public abstract class TestMapEntrySetGenerator< L36: K extends @Nullable Object, V extends...
    github.com/google/guava/guava-testlib/src/com/g...
    Wed Oct 30 16:15:19 UTC 2024
      2.2K bytes
  3. NavigableSetTestSuiteBuilder.java

    L130: } L131: Collections.reverse(list); L132: return list; L133: } L134: L135: @Override L136: public Set<E> create(Object... elements) { L137: NavigableSet<E> navigableSet = (NavigableSet<E>) delegate.create(elements); L138: return navigableSet.descendingSet(); L139: } L140: }) L141: .named(parentBuilder.getName() + " descending") L142: .withFeatures(features)...
    github.com/google/guava/guava-testlib/src/com/g...
    Wed Oct 30 16:15:19 UTC 2024
      6.2K bytes
  4. MultisetTestSuiteBuilder.java

    samples() { L175: return gen.samples(); L176: } L177: L178: @Override L179: public Set<E> create(Object... elements) { L180: Object[] duplicated = new Object[elements.length * 2]; L181: for (int i = 0; i < elements.length; i++) { L182: duplicated[i] = elements[i]; L183: duplicated[i + elements.length] = elements[i]; L184: } L185: return ((Multiset<E>) gen.create(duplicated)).elementSet(); L186: } L187: L188: @Override L189: public E[] createArray(int...
    github.com/google/guava/android/guava-testlib/s...
    Wed Oct 30 16:15:19 UTC 2024
      10.4K bytes
  5. ListTestSuiteBuilder.java

    L128: this.gen = gen; L129: } L130: L131: @Override L132: public SampleElements<E> samples() { L133: return gen.samples(); L134: } L135: L136: @Override L137: public List<E> create(Object... elements) { L138: return (List<E>) SerializableTester.reserialize(gen.create(elements)); L139: } L140: L141: @Override L142: public E[] createArray(int length) { L143: return gen.createArray(length); L144: } L145: L146: @Override L147: public Iterable<E>...
    github.com/google/guava/android/guava-testlib/s...
    Wed Oct 30 16:15:19 UTC 2024
      6.3K bytes
  6. SettableFuture.java

    L36:@ElementTypesAreNonnullByDefault L37:public final class SettableFuture<V extends @Nullable Object> L38: extends AbstractFuture.TrustedFuture<V> { L39: /** L40: * Creates a new {@code SettableFuture} that can be completed or cancelled by a later method call. L41: */ L42: public static <V extends @Nullable Object> SettableFuture<V> create() { L43: return new SettableFuture<>(); L44: } L45: L46: @CanIgnoreReturnValue L47: @Override L48: public boolean set(@ParametricNullness V value) { L49:...
    github.com/google/guava/guava/src/com/google/co...
    Fri Oct 01 17:18:04 UTC 2021
      2.4K bytes
  7. TestQueueGenerator.java

    java.util.Queue; L21:import org.checkerframework.checker.nullness.qual.Nullable; L22: L23:/** L24: * Creates queues, containing sample elements, to be tested. L25: * L26: * @author Jared Levy L27: */ L28:@GwtCompatible L29:@ElementTypesAreNonnullByDefault L30:public interface TestQueueGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> { L31: @Override L32: Queue<E> create(Object... elements); L33:}...
    github.com/google/guava/android/guava-testlib/s...
    Wed Feb 21 16:49:06 UTC 2024
      1.1K bytes
  8. TestListGenerator.java

    java.util.List; L21:import org.checkerframework.checker.nullness.qual.Nullable; L22: L23:/** L24: * Creates sets, containing sample elements, to be tested. L25: * L26: * @author Kevin Bourrillion L27: */ L28:@GwtCompatible L29:@ElementTypesAreNonnullByDefault L30:public interface TestListGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> { L31: @Override L32: List<E> create(Object... elements); L33:}...
    github.com/google/guava/guava-testlib/src/com/g...
    Wed Feb 21 16:49:06 UTC 2024
      1.1K bytes
  9. MultisetTestSuiteBuilder.java

    samples() { L176: return gen.samples(); L177: } L178: L179: @Override L180: public Set<E> create(Object... elements) { L181: Object[] duplicated = new Object[elements.length * 2]; L182: for (int i = 0; i < elements.length; i++) { L183: duplicated[i] = elements[i]; L184: duplicated[i + elements.length] = elements[i]; L185: } L186: return ((Multiset<E>) gen.create(duplicated)).elementSet(); L187: } L188: L189: @Override L190: public E[] createArray(int...
    github.com/google/guava/guava-testlib/src/com/g...
    Wed Oct 30 16:15:19 UTC 2024
      10.5K bytes
  10. ListMultimapTestSuiteBuilder.java

    MultimapGetGenerator( L119: OneSizeTestContainerGenerator<ListMultimap<K, V>, Entry<K, V>> multimapGenerator) { L120: super(multimapGenerator); L121: } L122: L123: @Override L124: public List<V> create(Object... elements) { L125: return (List<V>) super.create(elements); L126: } L127: } L128: L129: private static class MultimapAsMapGetGenerator<K, V> L130: extends MultimapTestSuiteBuilder.MultimapAsMapGetGenerator<K, V, ListMultimap<K, V>> L131: implements ...
    github.com/google/guava/android/guava-testlib/s...
    Wed Oct 30 16:15:19 UTC 2024
      5.4K bytes
Back to top