{"blog_url":"https://quasistatic.hatenadiary.jp/","image_url":null,"url":"https://quasistatic.hatenadiary.jp/entry/20110610/p1","width":"100%","published":"2011-06-10 00:00:00","description":"\u6570\u5b57\u3067\u306f\u306a\u3044\u3082\u306e\u304c\u6bd4\u8f03\u5bfe\u8c61\u306b\u5165\u3063\u3066\u3044\u305f\u3089\u4f8b\u5916\u3092\u6295\u3052\u308b\u3002 Comparator\u3060\u3051\u3067\u691c\u8a3c\u3059\u308b\u4ed5\u7d44\u307f\u306a\u306e\u3067\u3001 \u6bd4\u8f03\u306e\u305f\u3081\u306bcompare\u304c\u547c\u3073\u51fa\u3055\u308c\u308b\u305f\u3073\u306b\u30c1\u30a7\u30c3\u30af\u3092\u884c\u3046\u52b9\u7387\u306e\u60aa\u3055\u3002 \u3084\u306f\u308a\u4f7f\u7528\u5074\u304c\u691c\u8a3c\u3059\u3079\u304d\u3060\u3002 NumericalComparator.java (deteriorated) public class NumericalComparator implements java.util.Comparator<String> { private java.util.regex.Matcher matcher = java.util.regex.Pattern.compile(\"\\\\d+\"\u2026","author_url":"https://blog.hatena.ne.jp/quasistatic/","blog_title":"\u501f\u308a\u3066\u304d\u305f\u732b\u306e\u3088\u3046\u306b\u9759\u304b","title":" \u6570\u5b57\u5217\u3092\u6570\u5024\u3068\u3057\u3066\u6bd4\u8f03\u3059\u308b #2","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fquasistatic.hatenadiary.jp%2Fentry%2F20110610%2Fp1\" title=\" \u6570\u5b57\u5217\u3092\u6570\u5024\u3068\u3057\u3066\u6bd4\u8f03\u3059\u308b #2 - \u501f\u308a\u3066\u304d\u305f\u732b\u306e\u3088\u3046\u306b\u9759\u304b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Java"],"height":"190","version":"1.0","author_name":"quasistatic","provider_name":"Hatena Blog","type":"rich","provider_url":"https://hatena.blog"}