待兔 待兔
1年前
手写Java HashMap源码
HashMap的使用教程HashMap的使用教程HashMap的使用教程HashMap的使用教程HashMap的使用教程22
Wesley13 Wesley13
3年前
java的gradle项目的基本配置
plugins{id'org.springframework.boot'version'2.1.4.RELEASE'id'java'}applyplugin:'io.spring.dependencymanagement'group'com.exampl
Wesley13 Wesley13
3年前
Java爬虫——常用的maven依赖
java实现爬虫常用的第三方包:httpclient,forhttpjsoup,fordomrhino,forjsjackson,forjsonpom.xml摘录<dependencies<!simulatewebbrowser
Stella981 Stella981
3年前
MyBatis异常 之 Mapped Statements collection does not contain value for xxx
背景执行mybatismapper中的一个方法时报错:java.lang.IllegalArgumentException:MappedStatementscollectiondoesnotcontainvalueforcom.xxx.mapper.SysDictionaryMapper.findByTypeCode
Stella981 Stella981
3年前
Linux系统小技巧(4):环境变量JAVA_TOOL_OPTIONS简介
_摘要:_ 对于通过JNI使用Java的应用,比如使用JNI来调用JVM。给JVM传递参数,环境变量JAVA\_TOOL\_OPTIONS很可能是你唯一的可选项。有关此环境变量的官方文档在此(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fdocs.oracle.com%2Fjava
Wesley13 Wesley13
3年前
Java8 Lambda(
一、简述Java8之前创建一个线程的代码:newThread(newRunnable(){@Overridepublicvoidrun(){System.out.println("Test");
Wesley13 Wesley13
3年前
Java实现Ping命令
前言在项目中有的时候需要检测两台服务器能不能正常通信,需要用到Ping命令。目前已知的可分为两类方法:1.使用JavaAPI的InetAddress方式2.使用Runtime.exec调用操作系统的命令CMD使用InetAddress实现Ping自Java1.5开始,java.
Stella981 Stella981
3年前
FusionChart的饼图和柱状图
1、JSP页面<%@pagelanguage"java"pageEncoding"UTF8"contentType"text/html;charsetUTF8"%<scripttype"text/javascript"$(function(){$('gys').combobo
Wesley13 Wesley13
3年前
Java是否支持默认参数值?
问题:_IcameacrosssomeJavacodethathadthefollowingstructure:_我遇到了一些具有以下结构的Java代码:publicMyParameterizedFunction(Stringparam1,intparam2){this
Stella981 Stella981
3年前
Linux下安装maven, mvn
官网下载maven上传至服务器,解压后,执行mvnv报错,错误内容如下:TheJAVA\_HOMEenvironmentvariableisnotdefinedcorrectlyThisenvironmentvariableisneededtorunthisprogramNB:JAVA\_HOMEsh