摘要:        
在java中我们经常可以看到StringBuffer和String的用法,但是我自己在使用过程中,经常会将两者弄混淆,今天我们就来了解一下两者的区别: 我们首先来看一下我们的官方API中的简单介绍: A string buffer is like a String, but can be modif    阅读全文
posted @ 2017-11-23 20:18
SnailsCoffee
阅读(641)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1. atList方法:返回一个固定大小的list Returns a fixed-size list backed by the specified array. 应用: 2. binarySearch方法 :折半查找法 ,返回所给元素的索引 Searches a range of the spe    阅读全文
posted @ 2017-11-23 14:47
SnailsCoffee
阅读(651)
评论(0)
推荐(0)
        
            
        
        
摘要:        
由PAT1017例题展开: Suppose a bank has K windows open for service. There is a yellow line in front of the windows which devides the waiting area into two pa    阅读全文
posted @ 2017-11-23 12:12
SnailsCoffee
阅读(305)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号