- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 1,434 for created (0.04 sec)
-
IntArrayAsListTest.java
L130: L131: @Override L132: public List<Integer> create(Object... elements) { L133: Integer[] array = new Integer[elements.length]; L134: int i = 0; L135: for (Object e : elements) { L136: array[i++] = (Integer) e; L137: } L138: return create(array); L139: } L140: L141: /** L142: * Creates a new collection containing the given elements; implement this method instead of L143: * {@link #create(Object...)}. L144: */ L145: protected abstract List<Integer>...github.com/google/guava/guava-tests/test/com/go...Thu Jun 01 09:32:35 UTC 2023 5.7K bytes -
TestContainerGenerator.java
populates its container with. */ L36: SampleElements<E> samples(); L37: L38: /** L39: * Creates a new container containing the given elements. TODO: would be nice to figure out how to L40: * use E... or E[] as a parameter type, but this doesn't seem to work because Java creates an L41: * array of the erased type. L42: */ L43: T create(Object... elements); L44: L45: /** L46: * Helper method to create an array of the appropriate type used by this generator. The returned L47: * array will...github.com/google/guava/guava-testlib/src/com/g...Wed Feb 21 16:49:06 UTC 2024 2.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/guava-testlib/src/com/g...Wed Feb 21 16:49:06 UTC 2024 1.7K 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/android/guava-testlib/s...Wed Feb 21 16:49:06 UTC 2024 1.8K bytes -
TreeMultimap.java
Comparator<? super V> valueComparator; L81: L82: /** L83: * Creates an empty {@code TreeMultimap} ordered by the natural ordering of its keys and values. L84: */ L85: @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 L86: public static <K extends Comparable, V extends Comparable> TreeMultimap<K, V> create() { L87: return new TreeMultimap<>(Ordering.natural(), Ordering.natural()); L88: } L89: L90: /** L91: * Creates an empty {@code TreeMultimap} instance using explicit...github.com/google/guava/guava/src/com/google/co...Sat Mar 09 00:21:17 UTC 2024 8.7K bytes -
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/guava-testlib/src/com/g...Wed Oct 30 16:15:19 UTC 2024 5.4K bytes -
TreeMultiset.java
E>>}, to support classes defined without generics. L76: */ L77: @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 L78: public static <E extends Comparable> TreeMultiset<E> create() { L79: return new TreeMultiset<>(Ordering.natural()); L80: } L81: L82: /** L83: * Creates a new, empty multiset, sorted according to the specified comparator. All elements L84: * inserted into the multiset must be <i>mutually comparable</i> by the specified comparator: L85: * {@code...github.com/google/guava/android/guava/src/com/g...Fri Oct 18 20:24:49 UTC 2024 34.1K bytes -
BsFailureUrlBhv.java
====== L97: public int selectCount(CBCall<FailureUrlCB> cbLambda) { L98: return facadeSelectCount(createCB(cbLambda)); L99: } L100: L101: public OptionalEntity<FailureUrl> selectEntity(CBCall<FailureUrlCB> cbLambda) { L102: return facadeSelectEntity(createCB(cbLambda)); L103: } L104: L105: protected OptionalEntity<FailureUrl> facadeSelectEntity(FailureUrlCB cb) { L106: return doSelectOptionalEntity(cb, typ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 9.6K bytes -
BsClickLogBhv.java
====== L98: public int selectCount(CBCall<ClickLogCB> cbLambda) { L99: return facadeSelectCount(createCB(cbLambda)); L100: } L101: L102: public OptionalEntity<ClickLog> selectEntity(CBCall<ClickLogCB> cbLambda) { L103: return facadeSelectEntity(createCB(cbLambda)); L104: } L105: L106: protected OptionalEntity<ClickLog> facadeSelectEntity(ClickLogCB cb) { L107: return doSelectOptionalEntity(cb, typeOfSelectedEntity());...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 9.5K bytes -
BsGroupBhv.java
upCB> cbLambda) { L159: return facadeSelectList(createCB(cbLambda)); L160: } L161: L162: public PagingResultBean<Group> selectPage(CBCall<GroupCB> cbLambda) { L163: // #pending same? L164: return (PagingResultBean<Group>) facadeSelectList(createCB(cbLambda)); L165: } L166: L167: public void selectCursor(CBCall<GroupCB> cbLambda, EntityRowHandler<Group> entityLambda) { L168: facadeSelectCursor(createCB(cbLambda), entityLambda); L169: } L170: L171: public...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 8.9K bytes