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

LearnLib / automatalib / 19556867645

21 Nov 2025 01:27AM UTC coverage: 92.565%. First build
19556867645

Pull #97

github

web-flow
Merge d6a8da3c7 into 02482994f
Pull Request #97: Bump Java Version to 17/25

145 of 153 new or added lines in 51 files covered. (94.77%)

16496 of 17821 relevant lines covered (92.56%)

1.72 hits per line

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

25.0
/core/src/main/java/net/automatalib/alphabet/impl/AbstractSymbol.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.alphabet.impl;
17

18
import java.util.Objects;
19

20
import net.automatalib.common.util.nid.AbstractMutableNumericID;
21
import org.checkerframework.checker.nullness.qual.Nullable;
22

23
public abstract class AbstractSymbol<S extends AbstractSymbol<S>> extends AbstractMutableNumericID
2✔
24
        implements Comparable<S> {
25

26
    @Override
27
    public int compareTo(S that) {
28
        return this.id - that.id;
×
29
    }
30

31
    @Override
32
    public final boolean equals(@Nullable Object o) {
NEW
33
        return this == o || o instanceof AbstractSymbol<?> that && this.id == that.id;
×
34
    }
35

36
    @Override
37
    public final int hashCode() {
38
        return Objects.hashCode(super.id);
×
39
    }
40

41
}
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

© 2026 Coveralls, Inc