Code

/src/com/eleutherius/sample.java
public class App {
public static void main(String[] args) {
var statA = HeroStat.valueOf(10, 5, 0);
var statB = HeroStat.valueOf(10, 5, 0);
var statC = HeroStat.valueOf(5, 1, 8);
LOGGER.info(statA.toString());
LOGGER.info("Is statA and statB equal : {}", statA.equals(statB));
LOGGER.info("Is statA and statC equal : {}", statA.equals(statC));
}
}
- 문자 중간에 코드 강조도 가능합니다.
- 문자 중간에 `selectUserMasterMethod()`와 같은 코드 강조도 가능합니다.
- 문자 중간에
selectUserMasterMethod()와 같은 코드 강조도 가능합니다.