<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:media="http://search.yahoo.com/mrss/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Java - 四号程序员</title>
	<atom:link href="https://www.coder4.com/archives/category/java/feed" rel="self" type="application/rss+xml" />
	<link>https://www.coder4.com</link>
	<description>Keep It Simple and Stupid</description>
	<lastBuildDate>Mon, 18 Aug 2025 16:26:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.5</generator>
	<item>
		<title>ES使用QueryBuilder时must和should无法同时生效的问题</title>
		<link>https://www.coder4.com/archives/8004</link>
					<comments>https://www.coder4.com/archives/8004#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Tue, 28 Nov 2023 10:45:08 +0000</pubDate>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[ElasticSearch]]></category>
		<category><![CDATA[es]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=8004</guid>

					<description><![CDATA[大概的代码类似这样： List&#60;Integer&#62; list = Arrays.asList(25,256,155); BoolQueryBuilder queryBuilder = QueryBuilders.boolQuery(); queryBuilder.must(QueryBuilders.termsQuery("field1","111")); //查询满足list集合任意一个条件的数据 list.forEach(x-&#62;{[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/8004/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>JVM的G1垃圾回收器调优参数</title>
		<link>https://www.coder4.com/archives/7978</link>
					<comments>https://www.coder4.com/archives/7978#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Tue, 31 Oct 2023 02:00:30 +0000</pubDate>
				<category><![CDATA[Java]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=7978</guid>

					<description><![CDATA[除了mx、ms外 [......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/7978/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>按照中文姓氏排序</title>
		<link>https://www.coder4.com/archives/7974</link>
					<comments>https://www.coder4.com/archives/7974#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Fri, 13 Oct 2023 10:31:56 +0000</pubDate>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Java && J2EE]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[姓氏排序]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=7974</guid>

					<description><![CDATA[js var names = ["王五", "李四", "赵六", "张三", "郝七", "陈二", "蔡八", "孙九", "黄十", "路一"]; // 中文姓氏排序 names.sort(function(a, b) { return a.localeCompare(b,"zh"); }); java List&#60;String&#62; names = Arrays.asList("王五", "李四", "赵六", "张三", "郝七", "陈二", "蔡八"[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/7974/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>如何用pdfbox添加一个cmyk的图片</title>
		<link>https://www.coder4.com/archives/7877</link>
					<comments>https://www.coder4.com/archives/7877#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Thu, 13 Jul 2023 11:31:06 +0000</pubDate>
				<category><![CDATA[Java]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=7877</guid>

					<description><![CDATA[如果你不知道怎么获得一个cmyk的img，可以参考 《Java如何将RGB图片转化为CMYK图片》  PDPage page = new PDPage(REC_B5_BLEED); page.setMediaBox(REC_B5_BLEED); // img必须是cmyk的 PDImageXObject pdImage = LosslessFactory.createFromImage(document, img); pdImage.setColorSpace(PDColorSpa[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/7877/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Java如何将RGB图片转化为CMYK图片</title>
		<link>https://www.coder4.com/archives/7876</link>
					<comments>https://www.coder4.com/archives/7876#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Thu, 13 Jul 2023 11:28:13 +0000</pubDate>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[cmyk]]></category>
		<category><![CDATA[Java && J2EE]]></category>
		<category><![CDATA[RGB]]></category>
		<category><![CDATA[图片]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=7876</guid>

					<description><![CDATA[首先声明： 只有jpeg才支持cmyk 默认Java是不能读取cmyk的jpg的，需要用 这里讨论的是如何在内存中把rgb转为cmyk // 假设file是png的，即rgb的 BufferedImage img = ImageIO.read(file); ColorSpace cpace = new ICC_ColorSpace( ICC_Profile.getInstance("/home/co[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/7876/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>G1垃圾回收器调优化</title>
		<link>https://www.coder4.com/archives/7834</link>
					<comments>https://www.coder4.com/archives/7834#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Mon, 13 Mar 2023 02:16:49 +0000</pubDate>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[G1]]></category>
		<category><![CDATA[垃圾回收]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=7834</guid>

					<description><![CDATA[官方指南：《Garbage First Garbage Collector Tuning》 一些摘要： MaxGCPauseMillis：最大GC暂停时间，默认是200，如果降低会降低应用停顿时间，但是会影响垃圾回收的吞吐。 如果出现形如“GC pause (G1 Evacuation Pause) (mixed) (to-space exhausted)”或“GC pause (G1 Evacuation Pause) (mixed) (to-space overflow[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/7834/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>在Spring框架3.X中使用AOP</title>
		<link>https://www.coder4.com/archives/7763</link>
					<comments>https://www.coder4.com/archives/7763#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Fri, 22 Jul 2022 09:47:34 +0000</pubDate>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[3.x]]></category>
		<category><![CDATA[AOP]]></category>
		<category><![CDATA[Spring]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=7763</guid>

					<description><![CDATA[为了简单期间，我从mykong上找了3.X的脚手架工程，可以参考这里。我略作了调整，改成了JDK 1.8. 1 添加依赖 &#60;!-- aop --&#62; &#60;dependency&#62; &#60;groupId&#62;org.aspectj&#60;/groupId&#62; &#60;artifactId&#62;aspectjrt&#60;/artifactId&#62; &#60;version&#62;1.8.9&#60;/version&#62; &#60;/depend[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/7763/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>在Spring框架3.X(非boot)中集成micrometer</title>
		<link>https://www.coder4.com/archives/7762</link>
					<comments>https://www.coder4.com/archives/7762#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Fri, 22 Jul 2022 09:40:17 +0000</pubDate>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[3.x]]></category>
		<category><![CDATA[micrometer]]></category>
		<category><![CDATA[Spring]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=7762</guid>

					<description><![CDATA[micrometer和Spring Boot 2.x是无缝集成的。 但是在有的情况下，我们需要在很老的框架下，也使用它，比如Spring 3.X。我略作了调整，改成了JDK 1.8。 为了简单期间，我从mykong上找了3.X的脚手架工程，可以参考这里。 1 添加pom依赖 &#60;!-- for micrometer --&#62; &#60;dependency&#62; &#60;groupId&#62;javax.servlet&#60;/groupId&#62; &#038;lt[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/7762/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Oracle驱动版本及对应关系</title>
		<link>https://www.coder4.com/archives/7758</link>
					<comments>https://www.coder4.com/archives/7758#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Mon, 11 Jul 2022 10:54:39 +0000</pubDate>
				<category><![CDATA[Java]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=7758</guid>

					<description><![CDATA[https://www.oracle.com/database/technologies/faq-jdbc.html#02_03 https://blog.51cto.com/u_7295170/2467597[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/7758/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>利用 Maven 自动化检测 License</title>
		<link>https://www.coder4.com/archives/7739</link>
					<comments>https://www.coder4.com/archives/7739#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Tue, 07 Jun 2022 14:51:53 +0000</pubDate>
				<category><![CDATA[Java]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=7739</guid>

					<description><![CDATA[参考：《利用 Maven 自动化检测 License 》 命令1（多模块）： mvn license:aggregate-add-third-party 命令2（单模块）： mvn license:add-third-party 执行后target\generated-sources\license\THIRD-PARTY.txt回有所有依赖项、license 更多可以参考插件文档https://www.mojohaus.org/license-maven-plugin/in[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/7739/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
