MCPcopy Create free account
hub / github.com/Hiro420/NikkeTools / LBoolean

Class LBoolean

UnLuac/src/unluac/parse/LBoolean.java:3–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1package unluac.parse;
2
3public class LBoolean extends LObject {
4
5 public static final LBoolean LTRUE = new LBoolean(true);
6 public static final LBoolean LFALSE = new LBoolean(false);
7
8 private final boolean value;
9
10 private LBoolean(boolean value) {
11 this.value = value;
12 }
13
14 public boolean value() {
15 return value;
16 }
17
18 public String toPrintString() {
19 return Boolean.toString(value);
20 }
21
22 @Override
23 public boolean equals(Object o) {
24 return this == o;
25 }
26
27}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected