Java
文章平均质量分 69
micky_Kiko
本科非计算机相关专业的准码农!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Java文件操作(File类)
Java文件操作我个人认为重要的问题有: a:如何跨平台问题 b:文件编码问题,尤其是多语言平台情况下如何正常工作。 c:文件读写效率、操作效率 d:文件加密和文件安全 e:文件快速检索,强烈建议使用lence进行文件检索及文件管理。 以下是本人做的一些整理: 一:建立文件 File file1 = new File ("C转载 2016-08-06 16:57:15 · 434 阅读 · 0 评论 -
spring bean setter属性注入
我们可以方便的通过构造函数来注入spring bean,也可以通过setter属性来做spring bean的注入。注入简单类型的属性一个简单的示例,我们给Person类定义age和name两个属性,然后在spring配置文件中通过属性注入值。Person类的定义如下:package cn.outofmemory.spring;public class Person { pr转载 2016-09-01 10:56:53 · 576 阅读 · 0 评论 -
leetcode算法——136. Single Number(基于JAVA)
Given an array of integers, every element appears twice except for one. Find that single one.Note:Your algorithm should have a linear runtime complexity. Could you implement it without using extra原创 2016-09-04 10:58:44 · 579 阅读 · 0 评论 -
leetcode算法——237. Delete Node in a Linked List(基于JAVA)
原题:Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is 1 -> 2 -> 3 -> 4 and you are given the third node with原创 2016-09-06 15:50:51 · 458 阅读 · 0 评论 -
leetcode算法——389. Find the Difference(基于JAVA)
Given two strings s and t which consist of only lowercase letters.String t is generated by random shuffling string s and then add one more letter at a random position.Find the letter that was ad原创 2016-09-06 11:48:56 · 2220 阅读 · 0 评论
分享