id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
hamcrest_classes/class-Cake.Collection.Collection.html7_21_0.txt | * ##### compile() public
Iterates once all elements in this collection and executes all stacked
operations of them, finally it returns a new collection with the result. This
is useful for converting non-rewindable internal iterators into a collection
that can be rewound and used multiple times. | |
hamcrest_classes/class-Cake.Collection.Collection.html7_161_0.txt |
first(): mixed
Returns the first result in this collection | |
hamcrest_classes/class-Cake.Collection.Collection.html7_311_0.txt | Combines the elements of this collection with each of the elements of the
passed iterables, using their positional index as a reference.
### Example: | |
hamcrest_classes/hamcrest_classes_23_0.txt | * * *
| [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/HasProperty.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../help-doc.... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_281_0.txt | ### through() ¶ public
through(callable $handler): Cake\Collection\CollectionInterface | |
hamcrest_classes/query-methods-details.html7_41_0.txt |
` Page<T> ` | ` Pageable.getPageSize() ` at ` Pageable.getOffset() ` | One to many queries starting at ` Pageable.getOffset() ` applying limiting. Additionally, ` COUNT(…) ` query to determine the total number of elements can be required. | Often times, ` COUNT(…) ` queries are required that are costly.
* Of... | |
hamcrest_classes/hamcrest_classes_74_2.txt | escribeTo\(org.hamcrest.Description\)) ` **
Generates a description of the object. The description may be part of a a description of a larger object of which this is just a component, so it should be worded appropriately.
**Parameters:** ` description ` \- The description to be built or
appended to.
... | |
hamcrest_classes/hamcrest_classes_75_0.txt | * * *
| [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/StringContains.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../help-d... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_284_0.txt | ` callable ` $handler
| |
hamcrest_classes/class-Cake.Collection.Collection.html7_189_0.txt |
jsonSerialize(): array
Convert a result set into JSON. | |
hamcrest_classes/class-Cake.Collection.Collection.html7_70_0.txt | ` array `
### _createMatcherFilter() ¶ protected | |
hamcrest_classes/class-Cake.Collection.Collection.html7_236_0.txt | Filtering even numbers in an array, at the end only values 1 and 3 will be
present in the resulting collection:
$collection = (new Collection([1, 2, 3]))->reject(function ($value, $key) {
return $value % 2 === 0;
}); | |
hamcrest_classes/hamcrest_classes_44_0.txt | * * *
| [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/IsAnything.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../help-doc.h... | |
hamcrest_classes/hamcrest_classes_71_1.txt |
**Methods inherited from class org.hamcrest.[ BaseMatcher
](../../../org/hamcrest/BaseMatcher.html "class in org.hamcrest") **
---
` [ _dont_implement_Matcher___instead_extend_BaseMatcher_
](../../../org/hamcrest/BaseMatcher.html#_dont_implement_Matcher___instead_extend_BaseMatcher_\(\))
, [ toString ](../../../... | |
hamcrest_classes/hamcrest_classes_61_0.txt | * * *
| [ **Overview** ](../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/Condition.Step.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../deprecated-list.html) | [ **Index** ](../../index-all.html) | [ **Help** ](../../help-doc.html)
-... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_173_0.txt |
indexBy(callable|string $callback): Cake\Collection\CollectionInterface
Given a list and a callback function that returns a key for each element in
the list (or a property name), returns an object with an index of each item.
Just like groupBy, but for when you know your keys are unique. | |
hamcrest_classes/class-Cake.Collection.Collection.html7_243_0.txt | ` Cake\Collection\CollectionInterface `
### serialize() ¶ public | |
hamcrest_classes/class-Cake.Collection.Collection.html7_76_0.txt | Returns a column from $data that can be extracted by iterating over the column
names contained in $path. It will return arrays for elements in represented
with ` {*} `
###### Parameters | |
hamcrest_classes/query-methods-details.html7_46_0.txt | Defining sort expressions by using the Querydsl API
QSort sort = QSort.by(QPerson.firstname.asc())
.and(QSort.by(QPerson.lastname.desc())); | |
hamcrest_classes/hamcrest_classes_3_0.txt | * * *
| [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/IsEventFrom.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../help-doc.... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_34_0.txt | * ##### isEmpty() public
Returns whether or not there are elements in this collection | |
hamcrest_classes/class-Cake.Collection.Collection.html7_313_0.txt | ` arrayTraversable ` $items
| |
hamcrest_classes/using-matchers6_0_0.txt | Skip to main content
Support Ukraine 🇺🇦 Help Provide Humanitarian Aid to Ukraine . | |
hamcrest_classes/hamcrest_classes_41_0.txt | * * *
| [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/IsCollectionWithSize.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../... | |
hamcrest_classes/hamcrest_classes_39_1.txt | on.
` | ` <T> [ Description ](../../org/hamcrest/Description.html "interface in org.hamcrest") `
---
` ` **[ appendValueList
](../../org/hamcrest/BaseDescription.html#appendValueList\(java.lang.String,
java.lang.String, java.lang.String, java.lang.Iterable\)) ** (java.lang.String
start, java.lang.String separato... | |
hamcrest_classes/hamcrest_classes_1_9.txt | mespaceContext\)) ** (java.lang.String xPath, javax.xml.namespace.NamespaceContext namespaceContext) `
Creates a matcher of ` Node ` s that matches when the examined node contains a
node at the specified ` xPath ` within the specified namespace context, with
any content.
` static [ Matcher ](../../org/hamcrest/Mat... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_135_0.txt |
###### Returns | |
hamcrest_classes/class-Cake.Collection.Collection.html7_31_0.txt | * ##### groupBy() public
Splits a collection into sets, grouped by the result of running each value
through the callback. If $callback is a string instead of a callable, groups
by the property named by $callback on each of the values. | |
hamcrest_classes/class-Cake.Collection.Collection.html7_303_0.txt | ### unserialize() ¶ public
unserialize(string $collection): void | |
hamcrest_classes/class-Cake.Collection.Collection.html7_317_0.txt | ### Example:
$collection = new Collection([1, 2]);
$zipped = $collection->zipWith([3, 4], [5, 6], function () {
return array_sum(func_get_args());
});
$zipped->toList(); // returns [9, 12]; [(1 + 3 + 5), (2 + 4 + 6)] | |
hamcrest_classes/hamcrest_classes_33_1.txt | Context namespaceContext) `
Creates a matcher of ` Node ` s that matches when the examined node contains a
node at the specified ` xPath ` within the specified namespace context, with
any content.
` static [ Matcher ](../../../org/hamcrest/Matcher.html "interface in org.hamcrest") <org.w3c.dom.Node> ` | ` **[ has... | |
hamcrest_classes/hamcrest_classes_7_0.txt | * * *
| [ **Overview** ](../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/TypeSafeMatcher.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../deprecated-list.html) | [ **Index** ](../../index-all.html) | [ **Help** ](../../help-doc.html)
... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_24_0.txt | * ##### countBy() public
Sorts a list into groups and returns a count for the number of elements in
each group. Similar to groupBy, but instead of returning a list of values,
returns a count for the number of values in that group. | |
hamcrest_classes/using-matchers6_16_0.txt | For example:
test('null', () => {
const n = null;
expect(n).toBeNull();
expect(n).toBeDefined();
expect(n).not.toBeUndefined();
expect(n).not.toBeTruthy();
expect(n).toBeFalsy();
});
test('zero', () => {
const z = 0;
expec... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_181_0.txt | Insert ages into a collection containing users:
$items = [
['comment' => ['body' => 'cool', 'user' => ['name' => 'Mark']],
['comment' => ['body' => 'awesome', 'user' => ['name' => 'Renan']]
];
$ages = [25, 28];
$inserted = (new Collection($items))->insert('comment.user.age', $ages);... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_1_0.txt | * Help & Support
* Forum
* Stack Overflow
* IRC
* Slack
* Paid Support
## C CakePHP 3.3 Red Velvet API | |
hamcrest_classes/class-Cake.Collection.Collection.html7_275_0.txt |
###### Returns | |
hamcrest_classes/class-Cake.Collection.Collection.html7_25_0.txt | * ##### each() public
Executes the passed callable for each of the elements in this collection and
passes both the value and key for them on each step. Returns the same
collection for chaining. | |
hamcrest_classes/query-methods-details.html7_37_0.txt | Using ` Pageable ` , ` Slice ` , ` Sort ` and ` Limit ` in query methods
Page<User> findByLastname(String lastname, Pageable pageable);
Slice<User> findByLastname(String lastname, Pageable pageable);
List<User> findByLastname(String lastname, Sort sort);
List<User> findByLastna... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_8_0.txt | Namespace: Cake\Collection
## Method Summary | |
hamcrest_classes/hamcrest_classes_47_1.txt | org.hamcrest.Matcher,
org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher,
org.hamcrest.Matcher\)) ** ( [ Matcher ](../../org/hamcrest/Matcher.html
"interface in org.hamcrest") <? super T> first, [ Matcher
](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <? super T>
second, [ Matcher ](../../... | |
hamcrest_classes/hamcrest_classes_1_1.txt | cher, org.hamcrest.Matcher,
org.hamcrest.Matcher\)) ** ( [ Matcher ](../../org/hamcrest/Matcher.html
"interface in org.hamcrest") <? super T> first, [ Matcher
](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <? super T>
second, [ Matcher ](../../org/hamcrest/Matcher.html "interface in
org.hamcrest") <? su... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_66_0.txt |
Items. | |
hamcrest_classes/class-Cake.Collection.Collection.html7_102_0.txt | {@inheritDoc}
###### Parameters | |
hamcrest_classes/hamcrest_classes_0_1.txt | Safely
](../../../org/hamcrest/FeatureMatcher.html#matchesSafely\(T,
org.hamcrest.Description\)) `
**Methods inherited from class org.hamcrest.[ TypeSafeDiagnosingMatcher
](../../../org/hamcrest/TypeSafeDiagnosingMatcher.html "class in
org.hamcrest") **
---
` [ describeMismatch
](../../../org/hamcrest/TypeSafeDia... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_196_0.txt | It is possible to return all elements from bottom to top using a Breadth First
Search approach by passing the '$dir' parameter with 'asc'. That is, it will
return all elements for the same tree depth first and from bottom to top.
Finally, you can specify to only get a collection with the leaf nodes in the
tree structu... | |
hamcrest_classes/query-methods-details.html7_40_0.txt | Table 1. Consuming Large Query Results Method | Amount of Data Fetched | Query Structure | Constraints
---|---|---|---
` List<T> ` | All results. | Single query. | Query results can exhaust all memory. Fetching all data can be time-intensive.
` Streamable<T> ` | All results. | Single query. | Q... | |
hamcrest_classes/hamcrest_classes_47_6.txt | [Matcher](../../org/hamcrest/Matcher.html "interface in org.hamcrest")<? super T> fourth,
[Matcher](../../org/hamcrest/Matcher.html "interface in org.hamcrest")<? super T> fifth)
Creates a matcher that matches if the examined object matche... | |
hamcrest_classes/using-matchers6_7_0.txt | Version: 29.7
On this page | |
hamcrest_classes/hamcrest_classes_32_0.txt | * * *
| [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/SubstringMatcher.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../help... | |
hamcrest_classes/using-matchers6_13_0.txt | ` toEqual ` ignores object keys with ` undefined ` properties, ` undefined `
array items, array sparseness, or object type mismatch. To take these into
account use ` toStrictEqual ` instead.
You can also test for the opposite of a matcher using ` not ` : | |
hamcrest_classes/hamcrest_classes_45_0.txt | * * *
| [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/IsSame.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../help-doc.html)... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_260_0.txt | ### Example:
$items = $collection->sortBy(function ($user) {
return $user->age;
});
// alternatively
$items = $collection->sortBy('age');
// or use a property path
$items = $collection->sortBy('department.name');
// output all user name order by their age in d... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_254_0.txt | Each time the callback is executed it will receive the value of the element in
the current iteration and the key of the element as arguments, in that order.
### Example: | |
hamcrest_classes/class-Cake.Collection.Collection.html7_49_0.txt | * ##### some() public
Returns true if any of the values in this collection pass the truth test
provided in the callback. | |
hamcrest_classes/hamcrest_classes_1_3.txt | java.util.List\)) **
(java.util.List< [ Matcher ](../../org/hamcrest/Matcher.html "interface in
org.hamcrest") <? super E>> itemMatchers) `
Creates a matcher for arrays that matches when each item in the examined array
satisfies the corresponding matcher in the specified list of matchers.
` static | ` <E> [ Match... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_90_0.txt | Path to extract from.
###### Returns | |
hamcrest_classes/hamcrest_classes_58_1.txt | quals, finalize, getClass, hashCode, notify, notifyAll, wait, wait,
wait `
**Constructor Detail**
---
### StringContainsInOrder
public **StringContainsInOrder**(java.lang.Iterable<java.lang.String> substrings)
**Method Detail**
---
### matchesSafely
public boolean **m... | |
hamcrest_classes/using-matchers6_22_0.txt | You can check if an array or iterable contains a particular item using `
toContain ` :
const shoppingList = [
'diapers',
'kleenex',
'trash bags',
'paper towels',
'milk',
];
test('the shopping list has milk on it', () => {
expect(shoppingL... | |
hamcrest_classes/hamcrest_classes_70_3.txt | cond,
[Matcher](../../../org/hamcrest/Matcher.html "interface in org.hamcrest")<? super T> third)
Creates a matcher that matches if the examined object matches **ANY** of the specified matchers.
For example:
assertThat("myValue", anyOf(startsWith("foo"), conta... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_125_0.txt | ` mixed ` $value
| |
hamcrest_classes/class-Cake.Collection.Collection.html7_191_0.txt | ` array `
### last() ¶ public | |
hamcrest_classes/class-Cake.Collection.Collection.html7_272_0.txt |
sumOf(string|callable|null $matcher = null): float|int
Returns the total sum of all the values extracted with $matcher or of this
collection. | |
hamcrest_classes/hamcrest_classes_1_0.txt | * * *
| [ **Overview** ](../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/Matchers.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../deprecated-list.html) | [ **Index** ](../../index-all.html) | [ **Help** ](../../help-doc.html)
---|---... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_318_0.txt | ###### Parameters
` arrayTraversable ` $items | |
hamcrest_classes/hamcrest_classes_1_10.txt | rg.hamcrest") <java.lang.Iterable<E>> `
---
` ` **[ iterableWithSize
](../../org/hamcrest/Matchers.html#iterableWithSize\(int\)) ** (int size) `
Creates a matcher for ` Iterable ` s that matches when a single pass over the
examined ` Iterable ` yields an item count that is equal to the specified `
size ` argument... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_227_0.txt |
` string ` $nestingKey optional
| |
hamcrest_classes/hamcrest_classes_18_0.txt | * * *
| [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/Every.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../help-doc.html) ... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_89_0.txt | ` array ` $path
| |
hamcrest_classes/class-Cake.Collection.Collection.html7_85_0.txt | ` callable `
### _simpleExtract() ¶ protected | |
hamcrest_classes/hamcrest_classes_12_0.txt | * * *
| [ **Overview** ](../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/Description.NullDescription.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../deprecated-list.html) | [ **Index** ](../../index-all.html) | [ **Help** ](../../help-... | |
hamcrest_classes/hamcrest_classes_53_0.txt | * * *
| [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/Is.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../help-doc.html)
-... | |
hamcrest_classes/query-methods-details.html7_6_0.txt | light
Spring Data JPA 3.2.5 | |
hamcrest_classes/hamcrest_classes_39_0.txt | * * *
| [ **Overview** ](../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/BaseDescription.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../deprecated-list.html) | [ **Index** ](../../index-all.html) | [ **Help** ](../../help-doc.html)
... | |
hamcrest_classes/hamcrest_classes_67_1.txt | ely\(T,
org.hamcrest.Description\)) `
**Methods inherited from class org.hamcrest.[ TypeSafeDiagnosingMatcher
](../../../org/hamcrest/TypeSafeDiagnosingMatcher.html "class in
org.hamcrest") **
---
` [ describeMismatch
](../../../org/hamcrest/TypeSafeDiagnosingMatcher.html#describeMismatch\(java.lang.Object,
org.h... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_59_0.txt | * ##### unserialize() public
Unserializes the passed string and rebuilds the Collection instance | |
hamcrest_classes/hamcrest_classes_1_23.txt | y at least one entry `
valueMatcher ` \- the value matcher that, in combination with the keyMatcher,
must be satisfied by at least one entry
* * *
### hasKey
public static <K> [Matcher](../../org/hamcrest/Matcher.html "interface in org.hamcrest")<java.util.Map<? extends K,?>> **hasKey**([Matcher]... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_231_0.txt | ` callable ` $c
` mixed ` $zero optional | |
hamcrest_classes/query-methods-details.html7_38_0.txt | | APIs taking ` Sort ` , ` Pageable ` and ` Limit ` expect non- ` null `
values to be handed into methods. If you do not want to apply any sorting or
pagination, use ` Sort.unsorted() ` , ` Pageable.unpaged() ` and `
Limit.unlimited() ` .
---|---
The first method lets you pass an ` org.springframework.data.doma... | |
hamcrest_classes/hamcrest_classes_47_11.txt | target ` \- the target instance against which others
should be assessed
* * *
### containsString
public static [Matcher](../../org/hamcrest/Matcher.html "interface in org.hamcrest")<java.lang.String> **containsString**(java.lang.String substring)
Creates a matcher that matches if the examined `... | |
hamcrest_classes/hamcrest_classes_40_1.txt | tml "interface in org.hamcrest") description) `
Generates a description of the object.
` static | ` <LHS> [ CombinableMatcher.CombinableEitherMatcher ](../../../org/hamcrest/core/CombinableMatcher.CombinableEitherMatcher.html "class in org.hamcrest.core") <LHS> `
---
` ` **[ either
](../../../org/hamcrest/co... | |
hamcrest_classes/hamcrest_classes_47_2.txt | tatic | ` <T> [ AnyOf ](../../org/hamcrest/core/AnyOf.html "class in org.hamcrest.core") <T> `
---
` ` **[ anyOf
](../../org/hamcrest/CoreMatchers.html#anyOf\(org.hamcrest.Matcher,
org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher\)) ** ( [
Matcher ](../../org/hamcrest/Matcher.html "interface in or... | |
hamcrest_classes/hamcrest_classes_33_2.txt | feDiagnosingMatcher.html "class in
org.hamcrest") <org.w3c.dom.Node> `
* * *
### describeTo
public void **describeTo**([Description](../../../org/hamcrest/Description.html "interface in org.hamcrest") description)
**Description copied from interface:` [ SelfDescribing ](../../../org/hamcre... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_23_0.txt | * ##### count() public
Throws an exception. | |
hamcrest_classes/class-Cake.Collection.Collection.html7_294_0.txt | ### Example:
$items = [
['Products', '2012', '2013', '2014'],
['Product A', '200', '100', '50'],
['Product B', '300', '200', '100'],
['Product C', '400', '300', '200'],
]
$transpose = (new Collection($items))->transpose()->toList();
// Return... | |
hamcrest_classes/hamcrest_classes_26_0.txt | * * *
| [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/IsNot.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../help-doc.html) ... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_4_0.txt | Navigation
Class Navigation | |
hamcrest_classes/using-matchers6_24_0.txt |
function compileAndroidCode() {
throw new Error('you are using the wrong JDK!');
}
test('compiling android goes as expected', () => {
expect(() => compileAndroidCode()).toThrow();
expect(() => compileAndroidCode()).toThrow(Error);
// You can also u... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_204_0.txt | ### Example:
Getting a collection of booleans where true indicates if a person is female: | |
hamcrest_classes/class-Cake.Collection.Collection.html7_180_0.txt | If a column or property could not be found for a particular element in the
collection as part of the path, the element will be kept unchanged.
### Example: | |
hamcrest_classes/class-Cake.Collection.Collection.html7_16_0.txt | * ##### append() public
Returns a new collection as the result of concatenating the list of elements
in this collection with the passed list of elements | |
hamcrest_classes/class-Cake.Collection.Collection.html7_65_0.txt | ###### Parameters
` arrayTraversable ` $items | |
hamcrest_classes/class-Cake.Collection.Collection.html7_299_0.txt |
$items [[1, 2, 3], [4, 5]];
$unfold = (new Collection($items))->unfold(); // Returns [1, 2, 3, 4, 5]
Using a transformer | |
hamcrest_classes/class-Cake.Collection.Collection.html7_147_0.txt | ### extract() ¶ public
extract(string $matcher): Cake\Collection\CollectionInterface | |
hamcrest_classes/class-Cake.Collection.Collection.html7_30_0.txt | * ##### firstMatch() public
Returns the first result matching all of the key-value pairs listed in
conditions. | |
hamcrest_classes/hamcrest_classes_13_1.txt | ited from class java.lang.Object**
---
` clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait,
wait `
**Constructor Detail**
---
### IsEqualIgnoringCase
public **IsEqualIgnoringCase**(java.lang.String string)
**Method Detail**
---
### matchesSafely
... | |
hamcrest_classes/hamcrest_classes_42_1.txt | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD
* * *
| |
hamcrest_classes/using-matchers6_15_0.txt | In tests, you sometimes need to distinguish between ` undefined ` , ` null ` ,
and ` false ` , but you sometimes do not want to treat these differently. Jest
contains helpers that let you be explicit about what you want.
* ` toBeNull ` matches only ` null `
* ` toBeUndefined ` matches only ` undefined `
* ` toBe... | |
hamcrest_classes/hamcrest_classes_8_2.txt | eTo
](../../org/hamcrest/SelfDescribing.html#describeTo\(org.hamcrest.Description\))
`
**Method Detail**
---
### matches
boolean **matches**(java.lang.Object item)
Evaluates the matcher for argument item .
This method matches against Object, instead of the generic type T. This is
b... | |
hamcrest_classes/hamcrest_classes_12_1.txt | tring, java.lang.String, java.lang.Iterable\)) ** (java.lang.String
start, java.lang.String separator, java.lang.String end, java.lang.Iterable<T>
values) `
Appends a list of values to the description.
` | ` <T> [ Description ](../../org/hamcrest/Description.html "interface in org.hamcrest") `
---
` ` **[ appe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.