From 93575a9499ed4e75282b1a54fd04bb79d6f07554 Mon Sep 17 00:00:00 2001 From: leebj Date: Thu, 25 Jul 2024 17:43:40 +0900 Subject: [PATCH] =?UTF-8?q?=EC=97=91=EC=85=80=20=ED=86=B5=EA=B3=84=20?= =?UTF-8?q?=ED=85=8C=EC=8A=A4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cokr/xit/adds/cmmn/xls/FormatMaker.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/main/java/cokr/xit/adds/cmmn/xls/FormatMaker.java diff --git a/src/main/java/cokr/xit/adds/cmmn/xls/FormatMaker.java b/src/main/java/cokr/xit/adds/cmmn/xls/FormatMaker.java new file mode 100644 index 0000000..efe63d6 --- /dev/null +++ b/src/main/java/cokr/xit/adds/cmmn/xls/FormatMaker.java @@ -0,0 +1,16 @@ +package cokr.xit.adds.cmmn.xls; + +import java.util.Map; + +import cokr.xit.base.docs.xls.Format; + +public class FormatMaker { + + @SuppressWarnings("rawtypes") + public static Format a_slash_ab(Format format, String a, String b) { + return format.of(a).value(o -> { + return ((Map) o).get(a) + " / " + ((Map) o).get(a+b); + }); + } + +}