- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for IoPredicate (0.11 sec)
-
platforms/core-runtime/functional/src/main/java/org/gradle/internal/io/IoPredicate.java
*/ package org.gradle.internal.io; import java.io.IOException; import java.io.UncheckedIOException; import java.util.function.Predicate; public interface IoPredicate<T> { boolean test(T t) throws IOException; static <T> Predicate<T> wrap(IoPredicate<T> predicate) { return t -> { try { return predicate.test(t); } catch (IOException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:22:02 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/io/IoPredicateTest.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.io import static org.gradle.internal.io.IoPredicate.wrap class IoPredicateTest extends AbstractIoTest { def "executed when it doesn't throw (result: #expected)"() { when: String encountered = null
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:22:02 UTC 2023 - 1.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Aug 29 15:25:58 UTC 2023 - 3K bytes - Viewed (0)