• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






BookShu

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

随笔分类 -  Java

 
maven单元测试设置代理
摘要:背景 环境需要设置代理才能够访问外部网络,如果只是运行java程序来访问网络,我们可以通过java jar test.jar DproxyHost=proxy_ip DproxyPort=proxy_port,但如果是java的maven项目中,单元测试需要访问网络,只执行mvn test则会导致单 阅读全文
posted @ 2017-08-02 07:42 布克多得 阅读(321) 评论(0) 推荐(0)
【LeetCode】476. Number Complement (java实现)
摘要:原题链接 "https://leetcode.com/problems/number complement/" 原题 Given a positive integer, output its complement number. The complement strategy is to flip 阅读全文
posted @ 2017-01-26 07:02 布克多得 阅读(445) 评论(0) 推荐(0)