public void attachCondition(CircleType minimumType, int minimumBackgroundValue) { for (CircleType type : CircleType.values()) { if (type.compareTo(minimumType) >= 0) { typesByMinimumValue.put(type, minimumBackgroundValue); } } }
private boolean isSpellCircleGreaterThanMaximumCircle(CircleType type) { return !ArrayUtilities.containsValue(type.getComparableCircles(), maximumCircle) || (maximumCircle.compareTo(type) < 0); }