{"id":1242,"date":"2021-05-18T00:18:21","date_gmt":"2021-05-17T15:18:21","guid":{"rendered":"http:\/\/blog.box.kr\/?p=1242"},"modified":"2021-05-18T00:18:26","modified_gmt":"2021-05-17T15:18:26","slug":"dart-cascade-operator","status":"publish","type":"post","link":"https:\/\/blog.box.kr\/?p=1242","title":{"rendered":"Dart : Cascade operator"},"content":{"rendered":"\n<p>\ubc18\ubcf5\ub418\ub294 keyword\ub97c \uc904\uc5ec \uc900\ub2e4.. <br><br>final addressBook = AddressBookBuilder();<br>addressBook.name = &#8220;kims&#8221;<br>addressBook.address = &#8220;kims@box.cokr&#8221;<br>addressBook.phone = PhoneNumberBuilder();<br>addressBook.phone.number = &#8216;111-1111-1111&#8217;<br>addressBook.phone.tag = &#8220;Office&#8221; ).build()<br>addressBook.build();<br><br>\ub97c \uc544\ub798\uc640 \uac19\uc774 \uac04\uacb0\ud558\uac8c \ubcc0\uacbd \ud560 \uc218 \uc788\ub2e4.<br><br>   final addressBook = ( AddressBookBuilder()<br>                        ..name = &#8220;kims&#8221;<br>                        ..address = &#8220;kims@box.cokr&#8221;<br>                        ..phone = ( PhoneNumberBuilder()<br>                                ..number = &#8216;111-1111-1111&#8217;<br>                                ..tag = &#8220;Office&#8221; ).build())<br>                        .build();<br><br><br><\/p>\n\n\n\n<p>\u00a0\u00a0\u00a0\u00a0StringBuffer\u00a0sb\u00a0=\u00a0<em>new<\/em>\u00a0StringBuffer()\u00a0\u00a0\u00a0\u00a0\u00a0<br>                         ..write(&#8220;test1&#8221;)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<br>                         ..write(&#8220;test2&#8221;)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<br>                         ..write(&#8220;test3&#8221;);\u00a0\u00a0\u00a0<br>\u00a0print(&#8220;text\u00a0:\u00a0&#8221;\u00a0+\u00a0sb.toString());<\/p>\n\n\n\n<p>\uc774\ub807\uac8c \uc904\uc5ec \uc4f8\uc218\ub3c4&#8230;<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ubc18\ubcf5\ub418\ub294 keyword\ub97c \uc904\uc5ec \uc900\ub2e4.. final addressBook = AddressBookBuilder();addressBook.name = &#8220;kims&#8221;addressBook.address = &#8220;kims@box.cokr&#8221;addressBook.phone = PhoneNumberBuilder();addressBook.phone.number = &#8216;111-1111-1111&#8217;addressBook.phone.tag = &#8220;Office&#8221; ).build()addressBook.build(); \ub97c \uc544\ub798\uc640 \uac19\uc774 \uac04\uacb0\ud558\uac8c \ubcc0\uacbd \ud560 \uc218 \uc788\ub2e4. final addressBook = ( AddressBookBuilder() ..name = &#8220;kims&#8221; ..address = &#8220;kims@box.cokr&#8221; ..phone = ( PhoneNumberBuilder() ..number = &#8216;111-1111-1111&#8217; ..tag = &#8220;Office&#8221; ).build()) .build(); \u00a0\u00a0\u00a0\u00a0StringBuffer\u00a0sb\u00a0=\u00a0new\u00a0StringBuffer()\u00a0\u00a0\u00a0\u00a0\u00a0 ..write(&#8220;test1&#8221;)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ..write(&#8220;test2&#8221;)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ..write(&#8220;test3&#8221;);\u00a0\u00a0\u00a0\u00a0print(&#8220;text\u00a0:\u00a0&#8221;\u00a0+\u00a0sb.toString()); \uc774\ub807\uac8c \uc904\uc5ec \uc4f8\uc218\ub3c4&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"ngg_post_thumbnail":0,"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[41],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5q9Zn-k2","jetpack-related-posts":[{"id":257,"url":"https:\/\/blog.box.kr\/?p=257","url_meta":{"origin":1242,"position":0},"title":"JQuery Ajax \ud1b5\uc2e0\uacfc Spring \uc778\uc218 \ucc98\ub9ac \ubc29\ubc95","date":"2014-07-24","format":false,"excerpt":"JQuery\uc758 Ajax\ud1b5\uc2e0\uc744 \ud558\uba74 \ud558\uae30\uc640 \uac19\uc774 \ubcf4\ub0b8\ub2e4. $.ajax({ type:\"POST\", url:'http:\/\/localhost:8180\/GisProject\/MainService', data:{mydata:JSON.stringify(params)}, datatype:\"json\", success:function(msg){ console.log(msg);}, error:function(xhr,status){ console.log(status);},}); \uc774 \uacbd\uc6b0 \u00a0Spring \uc758 \uae30\ubcf8 Parameter\ub85c\ub294 \ubc1b\uc744 \ubc29\ubc95\uc774 \uc5c6\ub2e4.. \uc65c \ub0d0\uba74. Requert.payload \ud615\uc2dd\uc73c\ub85c \ub118\uc5b4 \uac00\uae30 \ub54c\ubb38\uc5d0.. \u00a0 \uc774\ub97c \ubc1b\uae30 \uc704\ud574\uc120 \ud558\uae30\uc640 \uac19\uc740 \ucc98\ub9ac\uac00 \ud544\uc694 \ud558\ub2e4.. \/\/ Request playload Data \uac00\uc838\uc624\uae30. BufferedReader bfr= req.getReader(); \u00a0\/\/ getReader\ub97c\u2026","rel":"","context":"In &quot;JAVA&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":154,"url":"https:\/\/blog.box.kr\/?p=154","url_meta":{"origin":1242,"position":1},"title":"Reading a UTF-8 Encoded File","date":"2014-07-06","format":false,"excerpt":"public static String parseTemplate(String templatePath) { File aFile = new File(templatePath); InputStreamReader reader = null; String template; StringBuffer temp = new StringBuffer(); int counter = 0; try { FileInputStream inStream = new FileInputStream(aFile); reader = new InputStreamReader(inStream, \"utf8\"); BufferedReader inBuf = new BufferedReader(reader); while ((template=inBuf.readLine()) != null) { if(counter ==\u2026","rel":"","context":"In &quot;JAVA&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":214,"url":"https:\/\/blog.box.kr\/?p=214","url_meta":{"origin":1242,"position":2},"title":"UTF-8 \uc778\ucf54\ub529\ub41c \ud30c\uc77c \uc77d\uace0 EUC-KR \ubcc0\uacbd encoded file read","date":"2014-07-22","format":false,"excerpt":"package com.javawide.files; import java.io.*; public class UTF8Reader { public static void main(String[] args) { UTF8Reader reader = new UTF8Reader(); try { String utf8String = reader.readFully(\"C:\/utf8test.txt\"); System.out.println(utf8String); System.out.println(new String(utf8String.getBytes(), \"EUC-KR\")); } catch (Exception e) { e.printStackTrace(); } } \u00a0public String readFully(String fileName) throws Exception { File f = new File(fileName); if(!f.exists())\u2026","rel":"","context":"In &quot;JAVA&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":375,"url":"https:\/\/blog.box.kr\/?p=375","url_meta":{"origin":1242,"position":3},"title":"spring mybatis @Repository","date":"2014-09-15","format":false,"excerpt":"\u00a0 http:\/\/blog.naver.com\/PostView.nhn?blogId=vikong&logNo=60180414100 application-context.xml \u00a0 1) @Respository \ub85c DAO scanning \ubc0f bean \uc124\uc815 \ubb38\uc7a5 <context:component-scan base-package=\"trust.repository\" use-default-filters=\"false\"> <context:include-filter type=\"annotation\" expression=\"org.springframework.stereotype.Repository\" \/> <\/context:component-scan> \u00a0 2) @Transactional \uc744 \uc704\ud55c \uc124\uc815 \ubb38\uc7a5 <!-- enable the configuration of transactional behavior based on annotations --> <tx:annotation-driven transaction-manager=\"txManager\" proxy-target-class=\"true\"\/> \u00a0 <!-- a PlatformTransactionManager is still required -->\u2026","rel":"","context":"In &quot;\ucc38\uace0\ub97c \uc704\ud55c \uc800\uc7a5\ubb3c&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":367,"url":"https:\/\/blog.box.kr\/?p=367","url_meta":{"origin":1242,"position":4},"title":"[\ud38c]Scala \uc2dc\uc791\ud558\uae30","date":"2014-09-15","format":false,"excerpt":"\u00a0 http:\/\/ppassa.wordpress.com\/2012\/02\/19\/getting_started_scala\/ Scala \uc2dc\uc791\ud558\uae30 \uc694\uc998 \ub4e4\uc5b4\uc11c\u00a0Scala\ub97c \uacf5\ubd80\ud558\uace0 \uc788\ub2e4. \uc544\uc9c1 \ub9ce\uc774 \ubd80\uc871\ud558\uc9c0\ub9cc, \uc9c0\uae08\uae4c\uc9c0 \ubc30\uc6b4 \uac83\ub4e4 \uae30\ub85d\ud574\ub450\uace0, \ub610 \ud639\uc2dc \uc870\uae08\uc774\ub77c\ub3c4 \ub3c4\uc6c0\uc774 \ub418\ub294 \ubd84\ub4e4\uc774 \uc788\uc744 \uc9c0 \ubab0\ub77c \uacf5\uc720\ud574\ubcf4\uace0\uc790 \ud55c\ub2e4. 1. \ub4e4\uc5b4\uac00\uba70 \ubb58 \ub610 \ubc30\uc6cc\uc57c \ud55c\ub2e8 \ub9d0\uc778\uac00? \uc774\ubbf8 C++, Java, Python, Ruby, JavaScript \ub4f1 \ub9ce\uc740 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\ub4e4\uc774 \uc788\ub294\ub370, \uc65c \uc790\uafb8 \uc0c8\ub85c\uc6b4 \uc5b8\uc5b4\uac00 \ub098\uc624\uace0 \uc788\ub0d0?\u2026","rel":"","context":"In &quot;\ucc38\uace0\ub97c \uc704\ud55c \uc800\uc7a5\ubb3c&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1254,"url":"https:\/\/blog.box.kr\/?p=1254","url_meta":{"origin":1242,"position":5},"title":"\uc571 \ud654\uba74 \ud06c\uae30 \uc54c\uc544\ub0b4\uae30(App Screen Size)","date":"2021-05-18","format":false,"excerpt":"Js\ucc98\ub7fc.. MediaQuery \ub77c\ub294\uac78 \uc0ac\uc6a9\ud55c\ub2e4. MediaQuery.of(context).size \/\/\uc571 \ud654\uba74 \ud06c\uae30 size Ex> Size(360.0, 692.0) MediaQuery.of(context).size.height \/\/\uc571 \ud654\uba74 \ub192\uc774 double Ex> 692.0 MediaQuery.of(context).size.width \/\/\uc571 \ud654\uba74 \ub113\uc774 double Ex> 360.0 MediaQuery.of(context).devicePixelRatio \/\/\ud654\uba74 \ubc30\uc728 double Ex> 4.0 MediaQuery.of(context).padding.top \/\/\uc0c1\ub2e8 \uc0c1\ud0dc \ud45c\uc2dc\uc904 \ub192\uc774 double Ex> 24.0 \uc704\uc758 \uac12\ub4e4\uc740 \uc2e4\uc81c \ud53d\uc140 \uac12\uc774 \uc544\ub2cc \ub17c\ub9ac\uc801 \ud53d\uc140 \uac12\uc774\ub2e4. \uc5ec\uae30\uc5d0\u2026","rel":"","context":"In &quot;flutter&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/1242"}],"collection":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1242"}],"version-history":[{"count":1,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/1242\/revisions"}],"predecessor-version":[{"id":1243,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/1242\/revisions\/1243"}],"wp:attachment":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}