id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
hamcrest_classes/query-methods-details.html7_4_0.txt | Solutions
Overview Spring Runtime Spring Consulting Spring Academy For Teams
Security Advisories | |
hamcrest_classes/class-Cake.Collection.Collection.html7_203_0.txt | Returns another collection after modifying each of the values in this one
using the provided callable.
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. | |
hamcrest_classes/hamcrest_classes_35_1.txt | st") <? super K> keyMatcher, [ Matcher
](../../../org/hamcrest/Matcher.html "interface in org.hamcrest") <? 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 specifi... | |
hamcrest_classes/hamcrest_classes_30_1.txt | his.
**Methods inherited from class org.hamcrest.[ TypeSafeMatcher
](../../../org/hamcrest/TypeSafeMatcher.html "class in org.hamcrest") **
---
` [ describeMismatch
](../../../org/hamcrest/TypeSafeMatcher.html#describeMismatch\(java.lang.Object,
org.hamcrest.Description\)) , [ matches
](../../../org/hamcrest/Type... | |
hamcrest_classes/hamcrest_classes_11_3.txt | [Matcher](../../../org/hamcrest/Matcher.html "interface in org.hamcrest")<? super T> third,
[Matcher](../../../org/hamcrest/Matcher.html "interface in org.hamcrest")<? super T> fourth)
Creates a matcher that matches if the examined object matches **ALL** of the specifi... | |
hamcrest_classes/hamcrest_classes_48_1.txt | herited from class java.lang.Object**
---
` clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait,
wait `
**Constructor Detail**
---
### IsCompatibleType
public **IsCompatibleType**(java.lang.Class<[T](../../../org/hamcrest/object/IsCompatibleType.html "type paramete... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_142_0.txt |
every(callable $c): bool
Returns true if all values in this collection pass the truth test provided in
the callback. | |
hamcrest_classes/hamcrest_classes_71_0.txt | * * *
| [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/HasToString.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../help-doc.... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_153_0.txt |
###### Returns | |
hamcrest_classes/class-Cake.Collection.Collection.html7_141_0.txt | ` Cake\Collection\CollectionInterface `
### every() ¶ public | |
hamcrest_classes/class-Cake.Collection.Collection.html7_263_0.txt |
###### Returns | |
hamcrest_classes/hamcrest_classes_55_1.txt | erited 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 ](../../../org/hamcrest/Bas... | |
hamcrest_classes/hamcrest_classes_35_3.txt | V value)
Creates a matcher for ` Map ` s matching when the examined ` Map ` contains at least one entry whose key equals the specified ` key ` **and** whose value equals the specified ` value ` .
For example:
assertThat(myMap, hasEntry("bar", "foo"))
**Parameters:** ... | |
hamcrest_classes/hamcrest_classes_14_1.txt | lone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait,
wait `
**Constructor Detail**
---
### CustomTypeSafeMatcher
public **CustomTypeSafeMatcher**(java.lang.String description)
**Method Detail**
---
### describeTo
public final void **describeTo**(... | |
hamcrest_classes/using-matchers6_35_0.txt | The OpenJS Foundation | Terms of Use | Privacy Policy | Bylaws | Code of Conduct | Trademark Policy | Trademark List | Cookie Policy
Built with Docusaurus. | |
hamcrest_classes/hamcrest_classes_41_1.txt | 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/TypeSafeDiagnosingMatcher.htm... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_99_0.txt | Returns a new collection where the operations performed by this collection. No
matter how many times the new collection is iterated, those operations will
only be performed once.
This can also be used to make any non-rewindable iterator rewindable. | |
hamcrest_classes/hamcrest_classes_47_0.txt | * * *
| [ **Overview** ](../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/CoreMatchers.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../deprecated-list.html) | [ **Index** ](../../index-all.html) | [ **Help** ](../../help-doc.html)
---... | |
hamcrest_classes/using-matchers6_6_0.txt | * Upgrade Guides
* * Introduction
* Using Matchers | |
hamcrest_classes/hamcrest_classes_17_1.txt | org/hamcrest/integration/JMock1Adapter.html "class in org.hamcrest.integration") | [ **FRAMES** ](../../../index.html?org/hamcrest/integration/EasyMock2Adapter.html) [ **NO FRAMES** ](EasyMock2Adapter.html) [ **All Classes** ](../../../allclasses-noframe.html)
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL:... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_14_0.txt | * ##### _simpleExtract() protected
Returns a column from $data that can be extracted by iterating over the column
names contained in $path | |
hamcrest_classes/hamcrest_classes_49_1.txt | "interface in org.hamcrest")<[T](../../../org/hamcrest/core/DescribedAs.html "type parameter in DescribedAs")> matcher,
java.lang.Object[] values)
**Method Detail**
---
### matches
public boolean **matches**(java.lang.Object o)
**Description copied from interface:` [... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_301_0.txt | ` callable|null ` $transformer optional
| |
hamcrest_classes/class-Cake.Collection.Collection.html7_280_0.txt | ###### Returns
` Cake\Collection\CollectionInterface ` | |
hamcrest_classes/class-Cake.Collection.Collection.html7_283_0.txt |
$items = [1, 2, 3];
$decorated = (new Collection($items))->through(function ($collection) {
return new MyCustomCollection($collection);
});
###### Parameters | |
hamcrest_classes/hamcrest_classes_11_2.txt | wait,
wait `
**Constructor Detail**
---
### AllOf
public **AllOf**(java.lang.Iterable<[Matcher](../../../org/hamcrest/Matcher.html "interface in org.hamcrest")<? super [T](../../../org/hamcrest/core/AllOf.html "type parameter in AllOf")>> matchers)
**Method Detail**
---
### matches... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_163_0.txt | ### firstMatch() ¶ public
firstMatch(array $conditions): mixed | |
hamcrest_classes/class-Cake.Collection.Collection.html7_101_0.txt | ### cartesianProduct() ¶ public
cartesianProduct(callable $operation = null, callable $filter = null): Cake\Collection\CollectionInterface | |
hamcrest_classes/class-Cake.Collection.Collection.html7_194_0.txt | ### listNested() ¶ public
listNested(string|int $dir = 'desc', string|callable $nestingKey = 'children'): Cake\Collection\Iterator\TreeIterator | |
hamcrest_classes/class-Cake.Collection.Collection.html7_47_0.txt | * ##### shuffle() public
Returns a new collection with the elements placed in a random order, this
function does not preserve the original keys in the collection. | |
hamcrest_classes/hamcrest_classes_30_2.txt | escriptionEnd**()
Returns the string that ends the description. Can be overridden in subclasses to customise how the matcher is described.
* * *
### array
public static <T> [IsArray](../../../org/hamcrest/collection/IsArray.html "class in org.hamcrest.collection")<T> **array**([Matcher](.... | |
hamcrest_classes/hamcrest_classes_24_0.txt | * * *
| [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/IsIn.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../help-doc.html) ... | |
hamcrest_classes/hamcrest_classes_38_1.txt | iption copied from interface:` [ Matcher ](../../../org/hamcrest/Matcher.html#matches\(java.lang.Object\)) ` **
Evaluates 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
(becau... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_190_0.txt | Part of JsonSerializable interface.
###### Returns | |
hamcrest_classes/hamcrest_classes_16_1.txt | escribingValueIterator.html) [ **NO FRAMES** ](SelfDescribingValueIterator.html) [ **All Classes** ](../../../allclasses-noframe.html)
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD
* * *
| |
hamcrest_classes/hamcrest_classes_67_0.txt | * * *
| [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/IsIterableWithSize.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../he... | |
hamcrest_classes/hamcrest_classes_1_6.txt | html#equalTo\(T\)) ** (T
operand) `
Creates a matcher that matches when the examined object is logically equal to
the specified ` operand ` , as determined by calling the `
Object.equals(java.lang.Object) ` method on the **examined** object.
` static [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.ham... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_185_0.txt | ### isEmpty() ¶ public
isEmpty(): bool | |
hamcrest_classes/class-Cake.Collection.Collection.html7_226_0.txt | ` callable|string ` $idPath
` callable|string ` $parentPath | |
hamcrest_classes/class-Cake.Collection.Collection.html7_3_0.txt | * 3.3
* 5.0
* 4.4
* 4.3
* 4.2
* 4.1
* 4.0
* 3.10
* 3.9
* 3.8
* 3.7
* 3.6
* 3.5
* 3.4
* 3.3
* 3.2
* 3.1
* 3.0
* 2.10
* 2.9
* 2.8
* 2.7
* 2.6
* 2.5
* ... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_10_0.txt | * ##### __debugInfo() public
Returns an array that can be used to describe the internal state of this
object. | |
hamcrest_classes/class-Cake.Collection.Collection.html7_183_0.txt |
` mixed ` $values
| |
hamcrest_classes/class-Cake.Collection.Collection.html7_83_0.txt | ` string|callable ` $callback
| |
hamcrest_classes/hamcrest_classes_46_0.txt | * * *
| [ **Overview** ](../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/JavaLangMatcherAssert.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../deprecated-list.html) | [ **Index** ](../../index-all.html) | [ **Help** ](../../help-doc.ht... | |
hamcrest_classes/query-methods-details.html7_20_0.txt | ## Property Expressions
Property expressions can refer only to a direct property of the managed
entity, as shown in the preceding example. At query creation time, you already
make sure that the parsed property is a property of the managed domain class.
However, you can also define constraints by traversing nested pro... | |
hamcrest_classes/query-methods-details.html7_11_0.txt | * By using a manually defined query.
Available options depend on the actual store. However, there must be a
strategy that decides what actual query is created. The next section describes
the available options. | |
hamcrest_classes/class-Cake.Collection.Collection.html7_42_0.txt | * ##### nest() public
Returns a new collection where the values are nested in a tree-like structure
based on an id property path and a parent id property path. | |
hamcrest_classes/hamcrest_classes_6_2.txt | ")<java.lang.Iterable<? super T>> **hasItem**([Matcher](../../../org/hamcrest/Matcher.html "interface in org.hamcrest")<? super T> itemMatcher)
Creates a matcher for ` Iterable ` s that only matches when a single pass over the examined ` Iterable ` yields at least one item that is matched by the specified ` itemM... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_77_0.txt | ` arrayArrayAccess ` $data
| |
hamcrest_classes/hamcrest_classes_7_2.txt | m)
Methods made final to prevent accidental override. If you need to override this, there's no point on extending TypeSafeMatcher. Instead, extend the [ ` BaseMatcher ` ](../../org/hamcrest/BaseMatcher.html "class in org.hamcrest") .
**Parameters:** ` item ` \- the object against which the matcher is... | |
hamcrest_classes/query-methods-details.html7_17_0.txt | Parsing query method names is divided into subject and predicate. The first
part ( ` find…By ` , ` exists…By ` ) defines the subject of the query, the
second part forms the predicate. The introducing clause (subject) can contain
further expressions. Any text between ` find ` (or other introducing keywords)
and ` By ` i... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_174_0.txt | When $callback is a string it should be a property name to extract or a dot
separated path of properties that should be followed to get the last one in
the path.
### Example: | |
hamcrest_classes/class-Cake.Collection.Collection.html7_27_0.txt | * ##### extract() public
Returns a new collection containing the column or property value found in each
of the elements, as requested in the $matcher param. | |
hamcrest_classes/class-Cake.Collection.Collection.html7_249_0.txt |
skip(int $howMany): Cake\Collection\CollectionInterface
Returns a new collection that will skip the specified amount of elements at
the beginning of the iteration. | |
hamcrest_classes/hamcrest_classes_1_19.txt | E>... itemMatchers)
Creates an order agnostic matcher for arrays that matches when each item in the examined array satisfies one matcher anywhere in the specified matchers. For a positive match, the examined array must be of the same length as the number of specified matchers.
N.B. each of the specified matcher... | |
hamcrest_classes/hamcrest_classes_68_1.txt | ( [ E ](../../../org/hamcrest/collection/IsArrayContainingInAnyOrder.html "type parameter in IsArrayContainingInAnyOrder") [] item, [ Description ](../../../org/hamcrest/Description.html "interface in org.hamcrest") mismatchDescription) `
Subclasses should override this.
` void ` | ` **[ describeTo ](../../../or... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_259_0.txt | Returns a sorted iterator out of the elements in this collection, ranked in
ascending order by the results of running each value through a callback.
$callback can also be a string representing the column or property name.
The callback will receive as its first argument each of the elements in
$items, the value returne... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_103_0.txt | ` callable ` $operation optional
` callable ` $filter optional | |
hamcrest_classes/class-Cake.Collection.Collection.html7_234_0.txt |
reject(callable $c): Cake\Collection\Iterator\FilterIterator
Looks through each value in the collection, and returns another collection
with all the values that do not pass a truth test. This is the opposite of `
filter ` . | |
hamcrest_classes/class-Cake.Collection.Collection.html7_241_0.txt | ###### Parameters
` int ` $size optional | |
hamcrest_classes/query-methods-details.html7_50_0.txt | | Limiting the results in combination with dynamic sorting by using a ` Sort
` parameter lets you express query methods for the 'K' smallest as well as for
the 'K' biggest elements.
---|---
* Spring Data Commons
* 3.3.0-SNAPSHOT
* 3.3.0-RC1
* 3.2.6-SNAPSHOT
* 3.2.5 current
* Spring Dat... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_208_0.txt | ### match() ¶ public
match(array $conditions): Cake\Collection\CollectionInterface | |
hamcrest_classes/class-Cake.Collection.Collection.html7_197_0.txt | The possible values for the first argument are aliases for the following
constants and it is valid to pass those instead of the alias:
* desc: TreeIterator::SELF_FIRST
* asc: TreeIterator::CHILD_FIRST
* leaves: TreeIterator::LEAVES_ONLY | |
hamcrest_classes/hamcrest_classes_70_1.txt | in org.hamcrest.core") <T> `
---
` ` **[ anyOf
](../../../org/hamcrest/core/AnyOf.html#anyOf\(org.hamcrest.Matcher,
org.hamcrest.Matcher, org.hamcrest.Matcher, org.hamcrest.Matcher\)) ** ( [
Matcher ](../../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T>
first, [ Matcher ](../../../org/hamcrest/Match... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_126_0.txt | ###### Returns
` bool ` | |
hamcrest_classes/class-Cake.Collection.Collection.html7_168_0.txt | 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.
When $callback is a string it should be a property name to extract or a dot
separated path of properties that... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_304_0.txt | Unserializes the passed string and rebuilds the Collection instance
###### Parameters | |
hamcrest_classes/hamcrest_classes_29_0.txt | * * *
| [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/IsEmptyIterable.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../help-... | |
hamcrest_classes/hamcrest_classes_31_1.txt | eans.PropertyDescriptor descriptor,
java.lang.Object expectedObject)
**Method Detail**
---
### matches
public boolean **matches**(java.lang.Object actual,
[Description](../../../org/hamcrest/Description.html "interface in... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_218_0.txt | ` mixed `
### min() ¶ public | |
hamcrest_classes/query-methods-details.html7_28_0.txt | 1. The type implements ` Streamable ` .
2. The type exposes either a constructor or a static factory method named ` of(…) ` or ` valueOf(…) ` that takes ` Streamable ` as an argument. | |
hamcrest_classes/class-Cake.Collection.Collection.html7_98_0.txt | ### buffered() ¶ public
buffered(): Cake\Collection\Iterator\BufferedIterator | |
hamcrest_classes/class-Cake.Collection.Collection.html7_225_0.txt | Returns a new collection where the values are nested in a tree-like structure
based on an id property path and a parent id property path.
###### Parameters | |
hamcrest_classes/class-Cake.Collection.Collection.html7_7_0.txt | # Class Collection
A collection is an immutable list of elements with a handful of functions to
iterate, group, transform and extract information from it. | |
hamcrest_classes/class-Cake.Collection.Collection.html7_120_0.txt | You can think of this method as a way to create save points for complex
calculations in a collection.
###### Parameters | |
hamcrest_classes/class-Cake.Collection.Collection.html7_144_0.txt |
$overTwentyOne = (new Collection([24, 45, 60, 15]))->every(function ($value, $key) {
return $value > 21;
});
###### Parameters | |
hamcrest_classes/class-Cake.Collection.Collection.html7_235_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/using-matchers6_11_0.txt | ` toBe ` uses ` Object.is ` to test exact equality. If you want to check the
value of an object, use ` toEqual ` :
test('object assignment', () => {
const data = {one: 1};
data['two'] = 2;
expect(data).toEqual({one: 1, two: 2});
});
| |
hamcrest_classes/hamcrest_classes_29_2.txt | ` type ` \- the type of the iterable's content
* * *
| [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/IsEmptyIterable.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../.... | |
hamcrest_classes/hamcrest_classes_1_4.txt | e\)) ** (double operand, double error) `
Creates a matcher of ` Double ` s that matches when an examined double is
equal to the specified ` operand ` , within a range of +/- ` error ` .
` static | ` <T extends java.lang.Comparable<T>>
[ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_224_0.txt | ### nest() ¶ public
nest(callable|string $idPath, callable|string $parentPath, string $nestingKey = 'children'): Cake\Collection\CollectionInterface | |
hamcrest_classes/class-Cake.Collection.Collection.html7_127_0.txt | ### count() ¶ public
count(): void | |
hamcrest_classes/class-Cake.Collection.Collection.html7_307_0.txt | ` void `
### unwrap() ¶ public | |
hamcrest_classes/class-Cake.Collection.Collection.html7_287_0.txt | Returns an array representation of the results
###### Parameters | |
hamcrest_classes/query-methods-details.html7_35_0.txt | You can run repository queries asynchronously by using Spring’s asynchronous
method running capability . This means the method returns immediately upon
invocation while the actual query occurs in a task that has been submitted to
a Spring ` TaskExecutor ` . Asynchronous queries differ from reactive queries
and should... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_137_0.txt |
each(callable $c): Cake\Collection\CollectionInterface
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/hamcrest_classes_69_0.txt | * * *
| [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/ReflectiveTypeFinder.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../... | |
hamcrest_classes/query-methods-details.html7_49_0.txt | The limiting expressions also support the ` Distinct ` keyword for datastores
that support distinct queries. Also, for the queries that limit the result set
to one instance, wrapping the result into with the ` Optional ` keyword is
supported.
If pagination or slicing is applied to a limiting query pagination (and the
... | |
hamcrest_classes/hamcrest_classes_34_0.txt | * * *
| [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/SamePropertyValuesAs.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_96_0.txt | ` arrayTraversable ` $items
| |
hamcrest_classes/class-Cake.Collection.Collection.html7_248_0.txt | ` Cake\Collection\CollectionInterface `
### skip() ¶ public | |
hamcrest_classes/class-Cake.Collection.Collection.html7_158_0.txt | ###### Parameters
` callable|null ` $c optional | |
hamcrest_classes/query-methods-details.html7_26_0.txt | Using Streamable to combine query method results
interface PersonRepository extends Repository<Person, Long> {
Streamable<Person> findByFirstnameContaining(String firstname);
Streamable<Person> findByLastnameContaining(String lastname);
}
Streamable<Person> result = repository.fi... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_166_0.txt | ###### Returns
` mixed ` | |
hamcrest_classes/hamcrest_classes_29_1.txt | Object,
org.hamcrest.Description\)) , [ matches
](../../../org/hamcrest/TypeSafeMatcher.html#matches\(java.lang.Object\)) `
**Methods inherited from class org.hamcrest.[ BaseMatcher
](../../../org/hamcrest/BaseMatcher.html "class in org.hamcrest") **
---
` [ _dont_implement_Matcher___instead_extend_BaseMatcher_
]... | |
hamcrest_classes/using-matchers6_21_0.txt |
test('there is no I in team', () => {
expect('team').not.toMatch(/I/);
});
test('but there is a "stop" in Christoph', () => {
expect('Christoph').toMatch(/stop/);
});
## Arrays and iterables | |
hamcrest_classes/hamcrest_classes_6_0.txt | * * *
| [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/IsCollectionContaining.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../.... | |
hamcrest_classes/query-methods-details.html7_51_0.txt | © VMware , Inc. or its affiliates. Terms of Use • Privacy • Trademark
Guidelines • Thank you • Your California Privacy Rights • Cookie
Settings
Apache®, Apache Tomcat®, Apache Kafka®, Apache Cassandra™, and Apache Geode™
are trademarks or registered trademarks of the Apache Software Foundation in
the Unit... | |
hamcrest_classes/class-Cake.Collection.Collection.html7_215_0.txt |
// For a collection of employees
$max = $collection->max('age');
$max = $collection->max('user.salary');
$max = $collection->max(function ($e) {
return $e->get('user')->get('salary');
});
// Display employee name
echo $max->name;
###### Parameters | |
hamcrest_classes/hamcrest_classes_11_0.txt | * * *
| [ **Overview** ](../../../overview-summary.html) | [ **Package** ](package-summary.html) | **Class** | [ **Use** ](class-use/AllOf.html) | [ **Tree** ](package-tree.html) | [ **Deprecated** ](../../../deprecated-list.html) | [ **Index** ](../../../index-all.html) | [ **Help** ](../../../help-doc.html) ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.