-
java中用不可见字符作为分隔符
文章描述了使用非可见字符作为字符串分隔符的处理方式。
Date: 2021-06-22 View: 1520
-
Openwrt luci 用模板做页面报错: unfinished string near '"'
记录在用模板方式开发luci的时候,一个一不小心的产生的报错:unfinished string near '"',这个问题最大的可能就是windows下编辑的文件,直接上传到linux下用产生的。
Date: 2021-03-11 View: 1520
-
关于持续集成CI的建议记录
以前的朋友让我给他一点持续集成方面的建议,我说网上已经很多这种文章了,一抓一大把,没必要再说了。在他的再次要求之下,我讲了下以前项目中用到的东西,说白了也就是几个开源框架配合使用,最后用Hadson/jekins集成起来就好了。其实麻烦再与配置,关于配置不想多说,各个开源系统的说明文档以及很详细了。这里只列出一些清单,一般持续集成有如下几个开源系统组成就足够了.图片链接图片来源于网络.
Date: 2018-06-26 View: 1520
-
java中对BigDecimal 进行格式化的一个小工具类
java 编程,如果涉及到金额的计算,最好采用Decimal 或者BigDecimal,原因是这样不会怎么丢精度,如果用其他类型会丢精度。但用Decimal 表示的数字,最终显示在界面上的时候,还是需要格式化的,否则很难看,这里贴一个在自己项目里用到的格式化工具类,如果要其他格式,可以按例子改.
Date: 2015-04-20 View: 1520
-
java中将中文转换成unicode native2ascii命令
经常在JAVA中写程序要用到配置文件,比如 a.properities a=中文e=英文
Date: 2010-03-02 View: 1520
-
ASCII Art Java example
A funny Java example to create an ASCII art graphic. The concept is simple, get the image’s rgb color in “integer mode”, later, replace the color’s integer with ascii text.
Date: 2019-08-18 View: 1520
-
Java AWT Drawing rectangle, line and circle
The java.awt libraries are set of classes provided by Java in order to draw shapes on a window. The abbreviation AWT stands for Abstract Windowing Toolkit. Today, the library has been converted into a huge set of classes which allows the user to create an entire GUI based application. The visual appearance of these classes depends on the platform on which the application runs.
Date: 2019-08-17 View: 1520
-
Java Display double in 2 decimal places
In Java, there are few ways to display double in 2 decimal places.
Date: 2019-08-17 View: 1520
-
Spring Boot Custom Banner example
This article shows you how to replace the default Spring’s banner below with your custom banner.
Date: 2019-08-11 View: 1520
-
Java 8 Stream.iterate examples
In Java 8, we can use Stream.iterate to create stream values on demand, so called infinite stream.
Date: 2019-08-11 View: 1520
-
Java Fibonacci examples
Fibonacci number – Every number after the first two is the sum of the two preceding.
Date: 2019-08-11 View: 1520
-
Java Fork/Join Framework examples
The fork/join framework is available since Java 7, to make it easier to write parallel programs. We can implement the fork/join framework by extending either RecursiveTask or RecursiveAction
Date: 2019-08-11 View: 1520