自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 收藏
  • 关注

原创 String to Integer (atoi)

Implement atoi which converts a string to an integer.The function first discards as many whitespace characters as necessary until the first non-whitespace character is found. Then, starting from this ...

2018-07-07 22:12:32 180

原创 Reverse Integer

Given a 32-bit signed integer, reverse digits of an integer.Example 1:Input: 123Output: 321Example 2:Input: -123Output: -321Example 3:Input: 120Output: 21Note:Assume we are dealing with an envir...

2018-07-05 20:44:12 239

原创 旋转图像

You are given an n x n 2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Note:You have to rotate the image in-place, which means you have to modify the input 2D matrix directl...

2018-07-01 00:17:26 230

原创 Plus One

Given a non-empty array of digits representing a non-negative integer, plus one to the integer.The digits are stored such that the most significant digit is at the head of the list, and each element i...

2018-06-25 22:28:29 232

原创 旋转数组

给定一个数组,将数组中的元素向右移动 k 个位置,其中 k 是非负数。示例 1:输入: [1,2,3,4,5,6,7] 和 k = 3输出: [5,6,7,1,2,3,4]解释:向右旋转 1 步: [7,1,2,3,4,5,6]向右旋转 2 步: [6,7,1,2,3,4,5]向右旋转 3 步: [5,6,7,1,2,3,4]示例 2:输入: [-1,-100,3,99] 和 k = ...

2018-06-23 19:26:22 242

原创 Powerdesigner概念模型并将概念模型转换成物理模型

(这里假设你已经下载安装powerdesigner)步骤1、首先打开powerdesigner,鼠标点击File,然后New Model,选择Information,最后选择概念模型步骤2、在打开的页面的左方ToolBox栏,可以看到Conceptual Diagram的下方有实体和其他图标,鼠标点击实体然后将鼠标点击diagram页面,就会生成实体,这是你继续点击是继续生成实体的,如果想要编辑实...

2018-05-25 16:47:58 21597 1

原创 缓冲流简单copy文件例子

1、BufferedInputStream,BufferedOutputStream2、BufferedReader,BufferedWriter

2018-05-19 10:48:05 141

原创 实现Runable接口方式写多线程

实现Runable接口方式对多线程的基本操作1、打印车票例子2、实现方式写多线程的通信3、多线程实现消费者与生产者问题

2018-05-16 20:33:34 1245

原创 FilenameUtils常用的方法

/** * getExtension * 获取文件的后缀名 */ public static void testGetExtension() { String extension = FilenameUtils.getExtension("D:"+File.separator+"data.txt"); System.out.println(extension); } ...

2018-05-15 09:23:26 6071

原创 ArrayUtils常用方法的基本操作

PS(首先需要导入commons-lang.jar,我的是3-3.6版本package com.zyy.common;import java.util.ArrayList;import java.util.List;import org.apache.commons.lang3.ArrayUtils;/** * ArrayUtils常用方法除了下面的,还有isEmpty(),add(...

2018-05-14 08:12:24 11730 2

原创 commons.lang3.StringUtils常用方法的使用

PS:首先需要导入commons-lang.jar,我用的是3-3.6版本package com.zyy.common;import org.apache.commons.lang3.StringUtils;/** * StringUtils常用方法 *  * @author ZYY * */public class TestStringUtils { public static void mai...

2018-05-13 10:25:51 1471 1

原创 IOUtils常用方法的使用

/** * apache.commons.io.IOUtils常用方法的使用 * 对字节流inputStream,outStream,writer,reader字符流的常用方法的使用 * @author ZYY * */ public class TestCommon { public static void main(String[] args) throws I...

2018-05-12 16:04:39 31067 1

原创 常见IO流基本操作

1、File类,常见的有创建文件和文件夹,删除文件,其中有获取指定文件夹的文件f.list(),f.listFiles()包括隐藏文件,还有判断是否是文件夹f.isDirectory()没有列举出来,有兴趣的朋友可以继续尝试2、FileInputStream3、FileOutputStream  4、Reader和Writer5、随机流...

2018-05-11 23:45:01 1273

原创 Eclipse项目http转https并部署在云服务器

步骤一:首先需要购买一个云服务器可以选择腾讯云服务器,和域名,然后将域名与服务器绑定步骤二:在服务器上安装需要所需要的工具有,linux系统,mysql,tomcat和jdk(ps:可以在百度查找安装方法,后期这些安装方法我会陆续补齐,欢迎大家留言)步骤三:申请SSL证书,填写相应的信息(首先需要登录账号),需要大概一天的时间,申请通过后下载jks文件,选择你要的服务器如tomcat,下面是tom...

2018-05-10 23:20:28 1520

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除