- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 1,456 for created (0.04 sec)
-
TestsForSetsInJavaUtil.java
r() { L131: return emptySet(); L132: } L133: L134: public Test testsForEmptySet() { L135: return SetTestSuiteBuilder.using( L136: new TestStringSetGenerator() { L137: @Override L138: public Set<String> create(String[] elements) { L139: return emptySet(); L140: } L141: }) L142: .named("emptySet") L143: .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO) L144: .suppressing(suppressForEmptySet())...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 15K bytes -
TestsForListsInJavaUtil.java
{ L124: return emptySet(); L125: } L126: L127: public Test testsForEmptyList() { L128: return ListTestSuiteBuilder.using( L129: new TestStringListGenerator() { L130: @Override L131: public List<String> create(String[] elements) { L132: return emptyList(); L133: } L134: }) L135: .named("emptyList") L136: .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO) L137: .suppressing(suppressForEmptyList())...github.com/google/guava/guava-testlib/src/com/g...Wed Oct 30 16:15:19 UTC 2024 12.1K bytes -
HashMultisetTest.java
TestStringMultisetGenerator hashMultisetGenerator() { L65: return new TestStringMultisetGenerator() { L66: @Override L67: protected Multiset<String> create(String[] elements) { L68: return HashMultiset.create(asList(elements)); L69: } L70: }; L71: } L72: L73: public void testCreate() { L74: Multiset<String> multiset = HashMultiset.create(); L75: multiset.add("foo", 2); L76: multiset.add("bar"); L77: assertEquals(3, multiset.size()); L78: assertEquals(2, multiset.count("foo"));...github.com/google/guava/guava-tests/test/com/go...Sat Oct 19 00:05:46 UTC 2024 4.4K bytes -
BenchmarkHelpers.java
HashMultiset.create(contents); L298: } L299: }, L300: LinkedHashMultisetImpl { L301: @Override L302: public <E extends Comparable<E>> Multiset<E> create(Collection<E> contents) { L303: return LinkedHashMultiset.create(contents); L304: } L305: }, L306: ConcurrentHashMultisetImpl { L307: @Override L308: public <E extends Comparable<E>> Multiset<E> create(Collection<E> contents) { L309: return ConcurrentHashMultiset.create(contents); L310: } L311:...github.com/google/guava/android/guava-tests/tes...Wed Oct 30 16:15:19 UTC 2024 12.4K bytes -
TestsForQueuesInJavaUtil.java
e() { L92: return emptySet(); L93: } L94: L95: public Test testsForArrayDeque() { L96: return QueueTestSuiteBuilder.using( L97: new TestStringQueueGenerator() { L98: @Override L99: public Queue<String> create(String[] elements) { L100: return new ArrayDeque<>(MinimalCollection.of(elements)); L101: } L102: }) L103: .named("ArrayDeque") L104: .withFeatures( L105: CollectionFeature.GENERAL_PURPOSE,...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 7.6K bytes -
DerivedCollectionGenerators.java
this.mapGenerator = mapGenerator; L53: } L54: L55: @Override L56: public SampleElements<Entry<K, V>> samples() { L57: return mapGenerator.samples(); L58: } L59: L60: @Override L61: public Set<Entry<K, V>> create(Object... elements) { L62: return mapGenerator.create(elements).entrySet(); L63: } L64: L65: @Override L66: public Entry<K, V>[] createArray(int length) { L67: return mapGenerator.createArray(length); L68: } L69: L70: @Override L71: public Iterable<Entry<K,...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 18.2K bytes -
ClRuntimeException.java
L33: L34: private final String message; L35: L36: private final String simpleMessage; L37: L38: /** L39: * Creates {@link ClRuntimeException}. L40: * L41: * @param messageCode message code L42: */ L43: public ClRuntimeException(final String messageCode) { L44: this(messageCode, new Object[0], null); L45: } L46: L47: /** L48: * Creates {@link ClRuntimeException}. L49: * L50: * @param messageCode message code L51: * @param args arguments for messages...github.com/codelibs/corelib/src/main/java/org/c...Thu Mar 07 01:59:08 UTC 2024 2.9K bytes -
AdminFileauthAction.java
L194: // Actually Crud L195: // ------------- L196: @Execute L197: @Secured({ ROLE }) L198: public HtmlResponse create(final CreateForm form) { L199: verifyCrudMode(form.crudMode, CrudMode.CREATE); L200: validate(form, messages -> {}, this::asEditHtml); L201: verifyToken(this::asEditHtml); L202: getFileAuthentication(form).ifPresent(entity -> { L203: try { L204: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 15.5K bytes -
AdminReqheaderAction.java
L192: // Actually Crud L193: // ------------- L194: @Execute L195: @Secured({ ROLE }) L196: public HtmlResponse create(final CreateForm form) { L197: verifyCrudMode(form.crudMode, CrudMode.CREATE); L198: validate(form, messages -> {}, this::asEditHtml); L199: verifyToken(this::asEditHtml); L200: getRequestHeader(form).ifPresent(entity -> { L201: try { L202: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 14.6K bytes -
ContiguousSetTest.java
L94: .addEqualityGroup( L95: ContiguousSet.create(Range.closed(1, 3), integers()), L96: ContiguousSet.closed(1, 3), L97: ContiguousSet.create(Range.closedOpen(1, 4), integers()), L98: ContiguousSet.closedOpen(1, 4), L99: ContiguousSet.create(Range.openClosed(0, 3), integers()), L100: ContiguousSet.create(Range.open(0, 4), integers()), L101: ContiguousSet.create(Range.closed(1, 3), NOT_EQUAL_TO_INTEGERS), L102: ...github.com/google/guava/guava-tests/test/com/go...Tue Oct 15 17:36:06 UTC 2024 19K bytes