java 学习路线
http://blog.csdn.net/qq_25827845/article/details/52956630
BASE644
点击(此处)折叠或打开<dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactI...
BASE643
点击(此处)折叠或打开public class SanyiDecodeTest { public static void main(String[] args) { String json="{\"ST_TOT\":12345...
BASE642
点击(此处)折叠或打开/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding cop...
BASE641
点击(此处)折叠或打开import java.math.BigInteger;import java.util.Arrays;public class SanyiDecode extends SanyiCodec { private static final int BITS_PER_ENCODED_BYTE = 6;...
java CountDownLatch 详解
CountDownLatch的一个非常典型的应用场景是:有一个任务想要往下执行,但必须要等到其他的任务执行完毕后才可以继续往下执行。假如我们这个想要继续往下执行的任务调用一个CountDownLatch对象的await()方法,其他的任务执行完自己的任务后调用同一个CountDownLatch对象上的countDown()方法,这个调用await()方法的任务将...
log4j配置文件示例
### set log levels ###log4j.rootLogger = INFO,D,D1### \u8F93\u51FA\u5230\u63A7\u5236\u53F0 ###log4j.appender.stdout = org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.Target = System.outlog4j.appender.stdout.layout = org.apache.log4j.PatternLayoutlog4j.appender.stdout.layout.ConversionPa...
LRU缓存
参考链接:http://blog.csdn.net/beiyeqingteng/article/details/7010411