• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

LearnLib / automatalib / 15186415914

22 May 2025 12:20PM CUT coverage: 92.115% (+0.06%) from 92.058%
15186415914

push

github

web-flow
Bump minimal Java version to 11 (#90)

* initial refactoring

* update doc

* cleanups

* simplify CF config

* fix errors when building javadoc jars

* remove IOUtil#copy

* further cleanups

* typo

28 of 28 new or added lines in 19 files covered. (100.0%)

16589 of 18009 relevant lines covered (92.12%)

1.71 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/api/src/main/java/net/automatalib/ts/TransitionPredicate.java
1
/* Copyright (C) 2013-2025 TU Dortmund University
2
 * This file is part of AutomataLib <https://automatalib.net>.
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 *     http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16
package net.automatalib.ts;
17

18
import java.util.function.Predicate;
19

20
@FunctionalInterface
21
public interface TransitionPredicate<S, I, T> {
22

23
    default Predicate<? super T> toUnaryPredicate(S source, I input) {
24
        return trans -> apply(source, input, trans);
×
25
    }
26

27
    boolean apply(S source, I input, T transition);
28
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc