Skip to content

Commit

Permalink
align for naming consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
hohwille committed Jan 5, 2025
1 parent a3abd9e commit 273db69
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions core/src/main/java/io/github/mmm/base/lang/Conjunction.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public boolean evalEmpty() {
}

@Override
public boolean isNegating() {
public boolean isNegated() {

return false;
}
Expand Down Expand Up @@ -57,7 +57,7 @@ public boolean evalEmpty() {
}

@Override
public boolean isNegating() {
public boolean isNegated() {

return false;
}
Expand Down Expand Up @@ -87,7 +87,7 @@ public boolean evalEmpty() {
}

@Override
public boolean isNegating() {
public boolean isNegated() {

return true;
}
Expand Down Expand Up @@ -117,7 +117,7 @@ public boolean evalEmpty() {
}

@Override
public boolean isNegating() {
public boolean isNegated() {

return true;
}
Expand Down Expand Up @@ -148,7 +148,7 @@ public boolean evalEmpty() {
}

@Override
public boolean isNegating() {
public boolean isNegated() {

return true;
}
Expand Down Expand Up @@ -195,7 +195,7 @@ public boolean evalEmpty() {
}

@Override
public boolean isNegating() {
public boolean isNegated() {

return false;
}
Expand Down Expand Up @@ -233,10 +233,10 @@ private Conjunction(String name, String syntax) {
public abstract boolean eval(boolean arg1, boolean arg2);

/**
* @return {@code true} if this {@link Conjunction} is negating the final result and therefore not left-associative,
* {@code false} otherwise.
* @return {@code true} if this {@link Conjunction} is {@link #negate() negated} and therefore not left-associative,
* {@code false} otherwise (normal form).
*/
public abstract boolean isNegating();
public abstract boolean isNegated();

/**
* Evaluates this {@link Conjunction} for the given boolean {@code arguments}. <br>
Expand All @@ -249,7 +249,7 @@ private Conjunction(String name, String syntax) {
*/
public boolean eval(boolean... arguments) {

if (isNegating()) {
if (isNegated()) {
return !negate().eval(arguments);
}
if (arguments.length == 0) {
Expand Down

0 comments on commit 273db69

Please sign in to comment.