题目标签:HashMap 题目让我们设计一个 hashmap, 有put, get, remove 功能。 建立一个 int array, index 是key, 值是 value,具体看code。 Java Solution: Runtime: 76 ms, faster than 27.53%  ...
                            
                            
                                分类:
其他好文   时间:
2019-05-19 10:23:20   
                                阅读次数:
161
                             
                         
                    
                        
                            
                            
                                1、linq 写的不是很好总结一下 ①、数据 ②、linq ③、lambda 2、第二种 ...
                            
                            
                         
                    
                        
                            
                            
                                    在Java中使用Mybatis自动生成的方法,like需要自己写通配符 ...
                            
                            
                                分类:
其他好文   时间:
2019-04-18 16:57:05   
                                阅读次数:
2092
                             
                         
                    
                        
                            
                            
                                //接口中解析 JSON中string转List<String> List<String> pList = JSON.parseArray(svcCont4PlaceHolderReq.getMarksList(),String.class); ...
                            
                            
                                分类:
Web程序   时间:
2019-04-12 16:20:28   
                                阅读次数:
506
                             
                         
                    
                        
                            
                            
                                    1 安装hive 下载 http://mirrors.shu.edu.cn/apache/hive/hive-1.2.2/,红框中的不需要编译。 由于hive是默认将元数据保存在本地内嵌的 Derby 数据库中,但是这种做法缺点也很明显,Derby不支持多会话连接,因此本文将选择mysql作为元数据 ...
                            
                            
                                分类:
其他好文   时间:
2019-03-20 17:08:16   
                                阅读次数:
167
                             
                         
                    
                        
                            
                            
                                    学习Spring Boot 过程中遇到了下列这个问题 Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configu ...
                            
                            
                                分类:
数据库   时间:
2019-03-07 14:05:57   
                                阅读次数:
2838
                             
                         
                    
                        
                            
                            
                                1》基本操作(增删改查) (1)创建数据表新建类MyDatabaseHelper继承SQLiteOpenHelper类,具体代码如下如所示 通过按钮来使用这个类 点击按钮后数据库就建立好了,安卓同样给了我们一个查看数据库的工作,首先需要在环境变量中对path变量添加palteform-tool的路径 ...
                            
                            
                                分类:
移动开发   时间:
2019-01-30 07:20:26   
                                阅读次数:
284
                             
                         
                    
                        
                            
                            
                                    Difficulty: Easy Problem We have a list of on the plane. Find the closest points to the origin . (Here, the distance between two points on a plane is  ...
                            
                            
                                分类:
其他好文   时间:
2019-01-22 13:13:15   
                                阅读次数:
228
                             
                         
                    
                        
                            
                            
                                Go语言开发(十六)、Go语言常用标准库六一、json1、json简介Go的标准包encoding/json对JSON的编解码提供了完整的支持。2、编码在编码过程中,json包会将Go的类型转换为JSON类型,转换规则如下:bool转换为JSONboolean浮点数,整数,Number转换为:JSONnumberstring转换为:JSONstring数组、切片转换为:JSON数组[]byte转换
                            
                            
                                分类:
编程语言   时间:
2019-01-21 11:04:00   
                                阅读次数:
161