- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 1,434 for created (0.05 sec)
-
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/android/guava-testlib/s...Wed Feb 21 16:49:06 UTC 2024 1.1K bytes -
LinkedHashMultiset.java
final class LinkedHashMultiset<E extends @Nullable Object> L39: extends AbstractMapBasedMultiset<E> { L40: L41: /** Creates a new, empty {@code LinkedHashMultiset} using the default initial capacity. */ L42: public static <E extends @Nullable Object> LinkedHashMultiset<E> create() { L43: return create(ObjectCountHashMap.DEFAULT_SIZE); L44: } L45: L46: /** L47: * Creates a new, empty {@code LinkedHashMultiset} with the specified expected number of distinct L48: * elements. L49: * L50:...github.com/google/guava/android/guava/src/com/g...Mon Apr 01 16:15:01 UTC 2024 3K bytes -
TestCharacterListGenerator.java
Chars(); L35: } L36: L37: @Override L38: public List<Character> create(Object... elements) { L39: Character[] array = new Character[elements.length]; L40: int i = 0; L41: for (Object e : elements) { L42: array[i++] = (Character) e; L43: } L44: return create(array); L45: } L46: L47: /** L48: * Creates a new collection containing the given elements; implement this method instead of {@link L49: * #create(Object...)}. L50: */ L51: protected abstract List<Character> create(Character[]...github.com/google/guava/guava-testlib/src/com/g...Wed Feb 21 16:49:06 UTC 2024 1.8K bytes -
LinkedHashMultiset.java
L44:public final class LinkedHashMultiset<E extends @Nullable Object> L45: extends AbstractMapBasedMultiset<E> { L46: L47: /** Creates a new, empty {@code LinkedHashMultiset} using the default initial capacity. */ L48: public static <E extends @Nullable Object> LinkedHashMultiset<E> create() { L49: return new LinkedHashMultiset<>(); L50: } L51: L52: /** L53: * Creates a new, empty {@code LinkedHashMultiset} with the specified expected number of distinct L54: * elements. L55: * L56: * @param...github.com/google/guava/guava/src/com/google/co...Mon Apr 01 16:15:01 UTC 2024 4K bytes -
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/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 6.2K bytes -
TestUnhashableCollectionGenerator.java
new Unhashables(); L36: } L37: L38: @Override L39: public T create(Object... elements) { L40: UnhashableObject[] array = createArray(elements.length); L41: int i = 0; L42: for (Object e : elements) { L43: array[i++] = (UnhashableObject) e; L44: } L45: return create(array); L46: } L47: L48: /** L49: * Creates a new collection containing the given elements; implement this method instead of {@link L50: * #create(Object...)}. L51: */ L52: protected abstract T create(UnhashableObject[]...github.com/google/guava/android/guava-testlib/s...Wed Feb 21 16:49:06 UTC 2024 1.9K bytes -
ListenableFutureTask.java
executionList = new ExecutionList(); L55: L56: /** L57: * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code L58: * Callable}. L59: * L60: * @param callable the callable task L61: * @since 10.0 L62: */ L63: public static <V extends @Nullable Object> ListenableFutureTask<V> create(Callable<V> callable) { L64: return new ListenableFutureTask<>(callable); L65: } L66: L67: /** L68: * Creates a {@code ListenableFutureTask} that will upon running, execute...github.com/google/guava/guava/src/com/google/co...Tue Apr 04 09:45:04 UTC 2023 4.3K bytes -
SetTestSuiteBuilder.java
gen) { L94: this.gen = gen; L95: } L96: L97: @Override L98: public SampleElements<E> samples() { L99: return gen.samples(); L100: } L101: L102: @Override L103: public Set<E> create(Object... elements) { L104: return (Set<E>) SerializableTester.reserialize(gen.create(elements)); L105: } L106: L107: @Override L108: public E[] createArray(int length) { L109: return gen.createArray(length); L110: } L111: L112: @Override L113: public Iterable<E> order(List<E>...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 4.7K bytes -
HashMultiset.java
onnullByDefault L37:public final class HashMultiset<E extends @Nullable Object> extends AbstractMapBasedMultiset<E> { L38: L39: /** Creates a new, empty {@code HashMultiset} using the default initial capacity. */ L40: public static <E extends @Nullable Object> HashMultiset<E> create() { L41: return new HashMultiset<>(); L42: } L43: L44: /** L45: * Creates a new, empty {@code HashMultiset} with the specified expected number of distinct L46: * elements. L47: * L48: * @param distinctElements...github.com/google/guava/guava/src/com/google/co...Mon Apr 01 16:15:01 UTC 2024 3.4K bytes -
TestStringListGenerator.java
return new Strings(); L34: } L35: L36: @Override L37: public List<String> create(Object... elements) { L38: String[] array = new String[elements.length]; L39: int i = 0; L40: for (Object e : elements) { L41: array[i++] = (String) e; L42: } L43: return create(array); L44: } L45: L46: /** L47: * Creates a new collection containing the given elements; implement this method instead of {@link L48: * #create(Object...)}. L49: */ L50: protected abstract List<String> create(String[]...github.com/google/guava/android/guava-testlib/s...Wed Feb 21 16:49:06 UTC 2024 1.7K bytes