id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
hamcrest_classes/class-Cake.Collection.Collection.html7_108_0.txt
###### Parameters ` int ` $chunkSize
hamcrest_classes/class-Cake.Collection.Collection.html7_110_0.txt
` Cake\Collection\CollectionInterface ` ### combine() ¶ public
hamcrest_classes/class-Cake.Collection.Collection.html7_207_0.txt
###### Returns ` Cake\Collection\Iterator\ReplaceIterator `
hamcrest_classes/class-Cake.Collection.Collection.html7_316_0.txt
Combines the elements of this collection with each of the elements of the passed iterables, using their positional index as a reference. The resulting element will be the return value of the $callable function.
hamcrest_classes/class-Cake.Collection.Collection.html7_247_0.txt
Returns a new collection with the elements placed in a random order, this function does not preserve the original keys in the collection. ###### Returns
hamcrest_classes/using-matchers6_2_0.txt
* Next * 29.7 * 29.6 * 29.5 * 29.4 * 29.3 * 29.2 * 29.1 * 29.0 * 28.x * 27.x * 26.x * 25.x * 24.x * 23.x * 22.x * All versions Docs API Help Blog
hamcrest_classes/class-Cake.Collection.Collection.html7_217_0.txt
###### Returns
hamcrest_classes/class-Cake.Collection.Collection.html7_300_0.txt
$items [1, 2, 3]; $allItems = (new Collection($items))->unfold(function ($page) { return $service->fetchPage($page)->toArray(); }); ###### Parameters
hamcrest_classes/class-Cake.Collection.Collection.html7_156_0.txt
Each time the callback is executed it will receive the value of the element in the current iteration, the key of the element and this collection as arguments, in that order. ### Example:
hamcrest_classes/class-Cake.Collection.Collection.html7_228_0.txt
###### Returns ` Cake\Collection\CollectionInterface `
hamcrest_classes/hamcrest_classes_65_2.txt
*Description copied from interface:` [ SelfDescribing ](../../../org/hamcrest/SelfDescribing.html#describeTo\(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 appropria...
hamcrest_classes/class-Cake.Collection.Collection.html7_151_0.txt
It is also possible to extract a flattened collection out of nested properties $items = [ ['comment' => ['votes' => [['value' => 1], ['value' => 2], ['value' => 3]]], ['comment' => ['votes' => [['value' => 4]] ]; $extracted = (new Collection($items))->extract('comment.votes.{*}...
hamcrest_classes/class-Cake.Collection.Collection.html7_80_0.txt
###### Returns ` mixed `
hamcrest_classes/class-Cake.Collection.Collection.html7_210_0.txt
$items = [ ['comment' => ['body' => 'cool', 'user' => ['name' => 'Mark']], ['comment' => ['body' => 'very cool', 'user' => ['name' => 'Renan']] ]; $extracted = (new Collection($items))->match(['user.name' => 'Renan']); // Result will look like this when converted to array ...
hamcrest_classes/class-Cake.Collection.Collection.html7_54_0.txt
* ##### through() public Passes this collection through a callable as its first argument. This is useful for decorating the full collection with another object.
hamcrest_classes/hamcrest_classes_5_0.txt
* * * | [ **Overview** ](../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/TypeSafeDiagnosingMatcher.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../deprecated-list.html) | [ **Index** ](../../index-all.html) | [ **Help** ](../../help-do...
hamcrest_classes/hamcrest_classes_1_7.txt
? super V> valueMatcher) ` Creates a matcher for ` Map ` s matching when the examined ` Map ` contains at least one entry whose key satisfies the specified ` keyMatcher ` **and** whose value satisfies the specified ` valueMatcher ` . ` static | ` <T> [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.h...
hamcrest_classes/class-Cake.Collection.Collection.html7_193_0.txt
###### Returns ` mixed `
hamcrest_classes/hamcrest_classes_1_11.txt
ean properties that are equal to the corresponding values of the specified bean. ` static [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <java.lang.String> ` | ` **[ startsWith ](../../org/hamcrest/Matchers.html#startsWith\(java.lang.String\)) ** (java.lang.String prefix) ` Creates a mat...
hamcrest_classes/class-Cake.Collection.Collection.html7_274_0.txt
###### Parameters ` string|callable|null ` $matcher optional
hamcrest_classes/class-Cake.Collection.Collection.html7_221_0.txt
###### Parameters ` callable|string ` $callback
hamcrest_classes/class-Cake.Collection.Collection.html7_240_0.txt
sample(int $size = 10): Cake\Collection\CollectionInterface Returns a new collection with maximum $size random elements from this collection
hamcrest_classes/hamcrest_classes_1_22.txt
iterable. For example: assertThat(Arrays.asList("foo", "bar"), containsInAnyOrder(equalTo("bar"), equalTo("foo"))) **Parameters:** ` itemMatchers ` \- a list of matchers, each of which must be satisfied by an item provided by an examined ` Iterable ` * * * ### containsInAnyOrder ...
hamcrest_classes/class-Cake.Collection.Collection.html7_78_0.txt
Data. ` array ` $path
hamcrest_classes/hamcrest_classes_63_2.txt
scribeTo\(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_20_1.txt
appendText ](../../org/hamcrest/BaseDescription.html#appendText\(java.lang.String\)) , [ appendValue ](../../org/hamcrest/BaseDescription.html#appendValue\(java.lang.Object\)) , [ appendValueList ](../../org/hamcrest/BaseDescription.html#appendValueList\(java.lang.String, java.lang.String, java.lang.String, java.lang....
hamcrest_classes/class-Cake.Collection.Collection.html7_114_0.txt
` callable|string ` $valuePath ` callable|string|null ` $groupPath optional
hamcrest_classes/using-matchers6_20_0.txt
## Strings ​ You can check strings against regular expressions with ` toMatch ` :
hamcrest_classes/hamcrest_classes_47_7.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 matches **ANY** of the specified matchers. ...
hamcrest_classes/hamcrest_classes_1_18.txt
arrays * * * ### hasItemInArray public static <T> [Matcher](../../org/hamcrest/Matcher.html "interface in org.hamcrest")<T[]> **hasItemInArray**([Matcher](../../org/hamcrest/Matcher.html "interface in org.hamcrest")<? super T> elementMatcher) Creates a matcher for arrays that matches when the ex...
hamcrest_classes/class-Cake.Collection.Collection.html7_288_0.txt
` bool ` $preserveKeys optional
hamcrest_classes/class-Cake.Collection.Collection.html7_128_0.txt
Throws an exception. Issuing a count on a Collection can have many side effects, some making the Collection unusable after the count operation.
hamcrest_classes/query-methods-details.html7_23_0.txt
List<Person> findByAddress_ZipCode(ZipCode zipCode); Because we treat the underscore character as a reserved character, we strongly advise following standard Java naming conventions (that is, not using underscores in property names but using camel case instead).
hamcrest_classes/using-matchers6_9_0.txt
## Common Matchers ​ The simplest way to test a value is with exact equality.
hamcrest_classes/class-Cake.Collection.Collection.html7_291_0.txt
Returns an numerically-indexed array representation of the results. This is equivalent to calling ` toArray(false) ` ###### Returns
hamcrest_classes/class-Cake.Collection.Collection.html7_32_0.txt
* ##### indexBy() public 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_86_0.txt
_simpleExtract(arrayArrayAccess $data, array $path): mixed Returns a column from $data that can be extracted by iterating over the column names contained in $path
hamcrest_classes/hamcrest_classes_26_1.txt
the matcher for argument item . This method matches against Object, instead of the generic type T. This is because the caller of the Matcher does not know at runtime what the type is (because of type erasure with Java generics). It is down to the implementations to check the correct type. **Parameters:** ...
hamcrest_classes/query-methods-details.html7_18_0.txt
The actual result of parsing the method depends on the persistence store for which you create the query. However, there are some general things to notice: * The expressions are usually property traversals combined with operators that can be concatenated. You can combine property expressions with ` AND ` and ` OR ` ....
hamcrest_classes/class-Cake.Collection.Collection.html7_266_0.txt
This is handy for dealing with infinite iterators or any generator that could start returning invalid elements at a certain point. For example, when reading lines from a file stream you may want to stop the iteration after a certain value is reached. ### Example:
hamcrest_classes/class-Cake.Collection.Collection.html7_154_0.txt
` Cake\Collection\CollectionInterface ` ### filter() ¶ public
hamcrest_classes/hamcrest_classes_40_0.txt
* * * | [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/CombinableMatcher.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../hel...
hamcrest_classes/class-Cake.Collection.Collection.html7_121_0.txt
` bool ` $preserveKeys optional
hamcrest_classes/class-Cake.Collection.Collection.html7_107_0.txt
### Example: $items [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]; $chunked = (new Collection($items))->chunk(3)->toList(); // Returns [[1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11]]
hamcrest_classes/hamcrest_classes_10_0.txt
* * * | [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/IsInstanceOf.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../help-doc...
hamcrest_classes/class-Cake.Collection.Collection.html7_159_0.txt
###### Returns
hamcrest_classes/class-Cake.Collection.Collection.html7_253_0.txt
some(callable $c): bool Returns true if any of the values in this collection pass the truth test provided in the callback.
hamcrest_classes/hamcrest_classes_15_0.txt
* * * | [ **Overview** ](../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/Description.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../deprecated-list.html) | [ **Index** ](../../index-all.html) | [ **Help** ](../../help-doc.html) ---|...
hamcrest_classes/class-Cake.Collection.Collection.html7_48_0.txt
* ##### skip() public Returns a new collection that will skip the specified amount of elements at the beginning of the iteration.
hamcrest_classes/class-Cake.Collection.Collection.html7_143_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/hamcrest_classes_70_2.txt
it ` **Constructor Detail** --- ### AnyOf public **AnyOf**(java.lang.Iterable<[Matcher](../../../org/hamcrest/Matcher.html "interface in org.hamcrest")<? super [T](../../../org/hamcrest/core/AnyOf.html "type parameter in AnyOf")>> matchers) **Method Detail** --- ### matches ...
hamcrest_classes/class-Cake.Collection.Collection.html7_152_0.txt
###### Parameters ` string ` $matcher
hamcrest_classes/class-Cake.Collection.Collection.html7_136_0.txt
` Cake\Collection\CollectionInterface ` ### each() ¶ public
hamcrest_classes/class-Cake.Collection.Collection.html7_205_0.txt
$collection = (new Collection($people))->map(function ($person, $key) { return $person->gender === 'female'; }); ###### Parameters
hamcrest_classes/hamcrest_classes_34_1.txt
aseMatcher.html#_dont_implement_Matcher___instead_extend_BaseMatcher_\(\)) , [ toString ](../../../org/hamcrest/BaseMatcher.html#toString\(\)) ` **Methods inherited from class java.lang.Object** --- ` clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait ` **Constructor Detail** ...
hamcrest_classes/query-methods-details.html7_7_0.txt
Search * * Overview * Upgrading Spring Data * JPA * Getting Started * Core concepts * Defining Repository Interfaces * Configuration * Persisting Entities * Defining Query Methods * JPA Query Methods * Projections * Stored Procedures ...
hamcrest_classes/class-Cake.Collection.Collection.html7_289_0.txt
###### Returns ` array `
hamcrest_classes/hamcrest_classes_25_0.txt
* * * | [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/PropertyUtil.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../help-doc...
hamcrest_classes/hamcrest_classes_35_2.txt
tion/IsMapContaining.html "type parameter in IsMapContaining"),? extends [V](../../../org/hamcrest/collection/IsMapContaining.html "type parameter in IsMapContaining")> map) **Description copied from class:` [ TypeSafeMatcher ](../../../org/hamcrest/TypeSafeMatcher.html#matchesSafely\(T\)) ` ** Subclasses sh...
hamcrest_classes/class-Cake.Collection.Collection.html7_36_0.txt
* ##### last() public Returns the last result in this collection
hamcrest_classes/class-Cake.Collection.Collection.html7_169_0.txt
### Example: $items = [ ['id' => 1, 'name' => 'foo', 'parent_id' => 10], ['id' => 2, 'name' => 'bar', 'parent_id' => 11], ['id' => 3, 'name' => 'baz', 'parent_id' => 10], ]; $group = (new Collection($items))->groupBy('parent_id'); // Or $group = (new Collection($...
hamcrest_classes/hamcrest_classes_67_2.txt
leWithSize.html) [ **NO FRAMES** ](IsIterableWithSize.html) [ **All Classes** ](../../../allclasses-noframe.html) SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD * * *
hamcrest_classes/hamcrest_classes_36_2.txt
TED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD * * *
hamcrest_classes/hamcrest_classes_21_1.txt
./org/hamcrest/text/IsEqualIgnoringWhiteSpace.html "class in org.hamcrest.text") , [ IsEventFrom ](../../org/hamcrest/object/IsEventFrom.html "class in org.hamcrest.object") , [ IsIn ](../../org/hamcrest/collection/IsIn.html "class in org.hamcrest.collection") , [ IsInstanceOf ](../../org/hamcrest/core/IsInstanceOf.htm...
hamcrest_classes/using-matchers6_8_0.txt
# Using Matchers Jest uses "matchers" to let you test values in different ways. This document will introduce some commonly used matchers. For the full list, see the ` expect ` API doc .
hamcrest_classes/query-methods-details.html7_44_0.txt
For a more type-safe way to define sort expressions, start with the type for which to define the sort expression and use method references to define the properties on which to sort. Defining sort expressions by using the type-safe API
hamcrest_classes/class-Cake.Collection.Collection.html7_222_0.txt
` int ` $type optional
hamcrest_classes/class-Cake.Collection.Collection.html7_51_0.txt
* ##### stopWhen() public Creates a new collection that when iterated will stop yielding results if the provided condition evaluates to false.
hamcrest_classes/class-Cake.Collection.Collection.html7_73_0.txt
A key-value list of conditions to match where the key is the property path to get from the current item and the value is the value to be compared the item with.
hamcrest_classes/hamcrest_classes_49_0.txt
* * * | [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/DescribedAs.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../help-doc....
hamcrest_classes/hamcrest_classes_2_0.txt
* * * | [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/IsIterableContainingInAnyOrder.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ]...
hamcrest_classes/class-Cake.Collection.Collection.html7_129_0.txt
###### Returns ` void `
hamcrest_classes/class-Cake.Collection.Collection.html7_68_0.txt
### __debugInfo() ¶ public __debugInfo(): array
hamcrest_classes/hamcrest_classes_1_8.txt
../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T> ` --- ` ` **[ hasProperty ](../../org/hamcrest/Matchers.html#hasProperty\(java.lang.String, org.hamcrest.Matcher\)) ** (java.lang.String propertyName, [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <?> valueMatcher) ` Creat...
hamcrest_classes/class-Cake.Collection.Collection.html7_148_0.txt
Returns a new collection containing the column or property value found in each of the elements, as requested in the $matcher param. The matcher can be a string with a property name to extract or a dot separated path of properties that should be followed to get the last one in the path.
hamcrest_classes/class-Cake.Collection.Collection.html7_286_0.txt
### toArray() ¶ public toArray(bool $preserveKeys = true): array
hamcrest_classes/hamcrest_classes_47_5.txt
est/Matcher.html "interface in org.hamcrest") <T> ` --- ` ` **[ theInstance ](../../org/hamcrest/CoreMatchers.html#theInstance\(T\)) ** (T target) ` Creates a matcher that matches only when the examined object is the same instance as the specified target object. **Methods inherited from class java.lang.Object**...
hamcrest_classes/class-Cake.Collection.Collection.html7_117_0.txt
compile(bool $preserveKeys = true): Cake\Collection\CollectionInterface 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 ca...
hamcrest_classes/hamcrest_classes_1_21.txt
em. For example: assertThat(Arrays.asList("foo"), contains(equalTo("foo"))) **Parameters:** ` itemMatcher ` \- the matcher that must be satisfied by the single item provided by an examined ` Iterable ` * * * ### contains public static <E> [Matcher](../../org/hamcrest/Match...
hamcrest_classes/hamcrest_classes_63_1.txt
tcher in the specified matchers. ` static | ` <E> [ Matcher ](../../../org/hamcrest/Matcher.html "interface in org.hamcrest") <java.lang.Iterable<? extends E>> ` --- ` ` **[ contains ](../../../org/hamcrest/collection/IsIterableContainingInOrder.html#contains\(org.hamcrest.Matcher\)) ** ( [ Matcher ](../../../o...
hamcrest_classes/class-Cake.Collection.Collection.html7_255_0.txt
$hasYoungPeople = (new Collection([24, 45, 15]))->every(function ($value, $key) { return $value < 21; }); ###### Parameters
hamcrest_classes/hamcrest_classes_70_4.txt
mcrest.core") [ **NEXT CLASS** ](../../../org/hamcrest/core/CombinableMatcher.html "class in org.hamcrest.core") | [ **FRAMES** ](../../../index.html?org/hamcrest/core/AnyOf.html) [ **NO FRAMES** ](AnyOf.html) [ **All Classes** ](../../../allclasses-noframe.html) SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETA...
hamcrest_classes/class-Cake.Collection.Collection.html7_115_0.txt
###### Returns
hamcrest_classes/class-Cake.Collection.Collection.html7_12_0.txt
* ##### _extract() protected 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 ` {*} `
hamcrest_classes/class-Cake.Collection.Collection.html7_179_0.txt
Returns a new collection containing each of the elements found in ` $values ` as a property inside the corresponding elements in this collection. The property where the values will be inserted is described by the ` $path ` parameter. The $path can be a string with a property name or a dot separated path of properties ...
hamcrest_classes/hamcrest_classes_1_20.txt
at matches when the ` size() ` method returns a value equal to the specified ` size ` . For example: assertThat(Arrays.asList("foo", "bar"), hasSize(2)) **Parameters:** ` size ` \- the expected size of an examined ` Collection ` * * * ### empty public static <E> [Matcher](...
hamcrest_classes/class-Cake.Collection.Collection.html7_232_0.txt
###### Returns
hamcrest_classes/class-Cake.Collection.Collection.html7_33_0.txt
* ##### insert() public Returns a new collection containing each of the elements found in ` $values ` as a property inside the corresponding elements in this collection. The property where the values will be inserted is described by the ` $path ` parameter.
hamcrest_classes/class-Cake.Collection.Collection.html7_177_0.txt
###### Returns ` Cake\Collection\CollectionInterface `
hamcrest_classes/class-Cake.Collection.Collection.html7_55_0.txt
* ##### toArray() public Returns an array representation of the results
hamcrest_classes/class-Cake.Collection.Collection.html7_81_0.txt
### _propertyExtractor() ¶ protected _propertyExtractor(string|callable $callback): callable
hamcrest_classes/query-methods-details.html7_13_0.txt
* ` CREATE ` attempts to construct a store-specific query from the query method name. The general approach is to remove a given set of well known prefixes from the method name and parse the rest of the method. You can read more about query construction in “ Query Creation ”. * ` USE_DECLARED_QUERY ` tries to fi...
hamcrest_classes/class-Cake.Collection.Collection.html7_138_0.txt
### Example: $collection = (new Collection($items))->each(function ($value, $key) { echo "Element $key: $value"; });
hamcrest_classes/hamcrest_classes_59_1.txt
/../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 ](../../../org/hamcrest/BaseMatcher.html#toString\(\)) ` **Methods inherited ...
hamcrest_classes/hamcrest_classes_63_0.txt
* * * | [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/IsIterableContainingInOrder.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](.....
hamcrest_classes/hamcrest_classes_52_0.txt
* * * | [ **Overview** ](../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/Factory.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../deprecated-list.html) | [ **Index** ](../../index-all.html) | [ **Help** ](../../help-doc.html) ---|---|...
hamcrest_classes/hamcrest_classes_47_3.txt
tcher.html "interface in org.hamcrest") <T> ` --- ` ` **[ describedAs ](../../org/hamcrest/CoreMatchers.html#describedAs\(java.lang.String, org.hamcrest.Matcher, java.lang.Object...\)) ** (java.lang.String description, [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T> matcher, java.lang.O...
hamcrest_classes/class-Cake.Collection.Collection.html7_11_0.txt
* ##### _createMatcherFilter() protected Returns a callable that receives a value and will return whether or not it matches certain condition.
hamcrest_classes/class-Cake.Collection.Collection.html7_146_0.txt
###### Returns ` bool `
hamcrest_classes/query-methods-details.html7_16_0.txt
Query creation from method names interface PersonRepository extends Repository<Person, Long> { List<Person> findByEmailAddressAndLastname(EmailAddress emailAddress, String lastname); // Enables the distinct flag for the query List<Person> findDistinctPeopleByLastnameOrFirstnam...