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

LearnLib / learnlib / 6433387082

06 Oct 2023 03:10PM UTC coverage: 92.296% (-0.007%) from 92.303%
6433387082

push

github

mtf90
update Falk's developer id

11573 of 12539 relevant lines covered (92.3%)

1.67 hits per line

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

85.71
/algorithms/active/procedural/src/main/java/de/learnlib/algorithms/procedural/SymbolWrapper.java
1
/* Copyright (C) 2013-2023 TU Dortmund
2
 * This file is part of LearnLib, http://www.learnlib.de/.
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 de.learnlib.algorithms.procedural;
17

18
/**
19
 * A utility class to annotate an input symbol with a (boolean) <i>continuable</i> flag.
20
 *
21
 * @param <I>
22
 *         input symbol type
23
 */
24
public class SymbolWrapper<I> {
25

26
    private final I delegate;
27
    private final boolean continuable;
28

29
    public SymbolWrapper(I delegate, boolean continuable) {
2✔
30
        this.delegate = delegate;
2✔
31
        this.continuable = continuable;
2✔
32
    }
2✔
33

34
    public I getDelegate() {
35
        return delegate;
2✔
36
    }
37

38
    public boolean isContinuable() {
39
        return continuable;
2✔
40
    }
41

42
    @Override
43
    public String toString() {
44
        return delegate + " (" + continuable + ')';
×
45
    }
46
}
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