/*
* Copyright (c) 2021 Goldman Sachs.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v. 1.0 which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
* and the Eclipse Distribution License is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*/
This package contains interfaces for Predicate API.
A Predicate is a lambda with a boolean result.
This package contains 2 interfaces.
-
Predicate
- a lambda with a boolean result.
-
Predicate2
- a two argument Predicate. Primarily used in methods like selectWith, detectWith, rejectWith.
/**
* This package contains interfaces for Predicate API.
* <p>
* A Predicate is a lambda with a boolean result.
* <p>
* This package contains 2 interfaces.
* <ul>
* <li>
* {@link org.eclipse.collections.api.block.predicate.Predicate} - a lambda with a boolean result.
* </li>
* <li>
* {@link org.eclipse.collections.api.block.predicate.Predicate2} - a two argument Predicate. Primarily used in methods like selectWith, detectWith, rejectWith.
* </li>
* </ul>
*/
package org.eclipse.collections.api.block.predicate;