上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页

2017年9月27日

交替打印数字

摘要: package example; public class TestAB { public static void main(String[] args) { new TestAB().test(); } public void test() { Object obj = new Object(); new Threa... 阅读全文

posted @ 2017-09-27 16:00 jis117 阅读(174) 评论(0) 推荐(0) 编辑

2017年9月23日

spring boot jsp web项目部署

摘要: mvn clean spring-boot:run 阅读全文

posted @ 2017-09-23 14:22 jis117 阅读(156) 评论(0) 推荐(0) 编辑

2017年9月21日

找错题

摘要: public void test() { List tasks = new ArrayList(); int i = 0; do { tasks.add("" + i); } while (i++ { executor.submit(() -> { ... 阅读全文

posted @ 2017-09-21 19:08 jis117 阅读(131) 评论(0) 推荐(0) 编辑

2017年9月20日

MAVEN

摘要: releases-repo Internal Releases http://${nexus.proxy.location}/nexus/content/repositories/releases/ snapshot-repo ... 阅读全文

posted @ 2017-09-20 16:54 jis117 阅读(108) 评论(0) 推荐(0) 编辑

2017年9月19日

解决git总是提示输入用户名密码

摘要: git config --global credential.helper store git config --global user.email "alice@aol.com" 操作的就是上面的email git config --global push.default matching 操作的就是上面的push段中的default字段 git config --global creden... 阅读全文

posted @ 2017-09-19 14:18 jis117 阅读(2608) 评论(0) 推荐(0) 编辑

2017年9月16日

Mockit

摘要: import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.Mockito; import o... 阅读全文

posted @ 2017-09-16 10:11 jis117 阅读(379) 评论(0) 推荐(0) 编辑

2017年9月11日

Spring Boot Test

摘要: package com.example.demo; import static org.hamcrest.Matchers.containsString; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post; import static org.springframewor... 阅读全文

posted @ 2017-09-11 10:14 jis117 阅读(325) 评论(0) 推荐(0) 编辑

交替打印0-100

摘要: package com.wolaidai.loanprocedure; public class ABC { public static void main(String[] args) throws Exception { Object obj = new Object(); new Thread(new Printer(obj)).start()... 阅读全文

posted @ 2017-09-11 09:22 jis117 阅读(238) 评论(0) 推荐(0) 编辑

2017年9月10日

交替打印素数

摘要: package test; import java.util.LinkedList; import java.util.List; /** * * @author jis * */ public class TestB { public static void main(String[] args) { BlockList list = new Block... 阅读全文

posted @ 2017-09-10 16:46 jis117 阅读(140) 评论(0) 推荐(0) 编辑

2017年9月7日

EventLoop

摘要: https://my.oschina.net/andylucc/blog/618179 摘要: Infoq有篇文章提到通过Netty4+Thrift压缩二进制编码技术有人实现了10W TPS(1K的复杂POJO对象)跨节点远程服务调用,对于RPC应用来说高性能的三个主题永远是IO模型、数据协议、线程 阅读全文

posted @ 2017-09-07 09:28 jis117 阅读(121) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页

导航