Checked Functional Predicate Interface (function/CheckedPredicate.java)

blade-tool · blade-core-tool/src/main/java/org/springblade/core/tool/function/CheckedPredicate.java · java · LGPL-3.0
dev-tools, infra, lang:java, tag:functional-programming, tag:utilities

A Java functional interface extending standard predicates to support checked exceptions. Reuse when dealing with stream operations that throw checked exceptions.

// Source: https://github.com/chillzhuang/blade-tool | License: LGPL-3.0 | Modified files must remain under LGPL-3.0
// Modifications to this file must remain under LGPL-3.0.
// Provided via justclaw.it.com; keep this notice with the code.
/*
 * Copyright (c) 2019-2029, Dreamlu 卢春梦 (596392912@qq.com & www.dreamlu.net).
 * <p>
 * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE 3.0;
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.gnu.org/licenses/lgpl.html
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the sp

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key