随笔分类 -  Java

上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页
Java zone
摘要:String Literals package testPackage; class Test { public static void main(String[] args) { String hello = "Hello", lo = "lo"; System.out.println(hello 阅读全文
posted @ 2022-03-16 20:34 西北逍遥 阅读(66) 评论(0) 推荐(0)
摘要:java中,归一化list里面的数据 /** * 归一化 * @param listInt * @return */ public static List<Double> normalListInteger(List<Integer> listInt){ List<Double> list_d = 阅读全文
posted @ 2022-02-22 18:01 西北逍遥 阅读(330) 评论(0) 推荐(0)
摘要:java Earcut Maven dependency: <dependency> <groupId>io.github.earcut4j</groupId> <artifactId>earcut4j</artifactId> <version>2.2.2</version> </dependen 阅读全文
posted @ 2022-01-05 21:44 西北逍遥 阅读(126) 评论(0) 推荐(0)
摘要:java拷贝文件 FileInputStream FileOutputStream package com.vfsd.core; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; 阅读全文
posted @ 2021-12-27 17:08 西北逍遥 阅读(45) 评论(0) 推荐(0)
摘要:FileWriter /* * Copyright (c) 1996, 2001, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to lice 阅读全文
posted @ 2021-12-18 09:42 西北逍遥 阅读(117) 评论(0) 推荐(0)
摘要:输出Map数据 public static void printMapDType0(Map<String,Integer> D_type) { System.out.print("["); for(int m=1;m<totalDay;m++) { String indexKey = ""+(m); 阅读全文
posted @ 2021-12-16 09:02 西北逍遥 阅读(293) 评论(0) 推荐(0)
摘要:java判断linux还是windows System.getProperty("os.name").toLowerCase().contains("linux"); System.getProperty("os.name").toLowerCase().contains("windows"); # 阅读全文
posted @ 2021-12-12 18:14 西北逍遥 阅读(298) 评论(0) 推荐(0)
摘要:spring jdbc test <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> <dependency> 阅读全文
posted @ 2021-12-11 19:53 西北逍遥 阅读(58) 评论(0) 推荐(0)
摘要:eclipse创建springboot项目 pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocat 阅读全文
posted @ 2021-12-09 08:47 西北逍遥 阅读(337) 评论(0) 推荐(0)
摘要:java random public static double random() { return RandomNumberGeneratorHolder.randomNumberGenerator.nextDouble(); } ########################## 阅读全文
posted @ 2021-11-28 19:03 西北逍遥 阅读(35) 评论(0) 推荐(0)
摘要:Math.pow /** * Returns the value of the first argument raised to the power of the * second argument. Special cases: * * <ul><li>If the second argument 阅读全文
posted @ 2021-11-27 07:56 西北逍遥 阅读(193) 评论(0) 推荐(0)
摘要:java Arrays * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. package java.util; import java.lang.reflect.Array; import j 阅读全文
posted @ 2021-11-10 09:27 西北逍遥 阅读(28) 评论(0) 推荐(0)
摘要:java String * Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved. package java.lang; import java.io.ObjectStreamField; import 阅读全文
posted @ 2021-11-09 12:24 西北逍遥 阅读(23) 评论(0) 推荐(0)
摘要:java Method /* * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to lic 阅读全文
posted @ 2021-11-03 09:12 西北逍遥 阅读(39) 评论(0) 推荐(0)
摘要:jsoup connect /** * Creates a new {@link Connection} to a URL. Use to fetch and parse a HTML page. * <p> * Use examples: * <ul> * <li><code>Document d 阅读全文
posted @ 2021-11-01 08:53 西北逍遥 阅读(476) 评论(0) 推荐(0)
摘要:Elements package org.jsoup.select; import org.jsoup.helper.Validate; import org.jsoup.nodes.Element; import org.jsoup.nodes.FormElement; import org.js 阅读全文
posted @ 2021-10-31 19:04 西北逍遥 阅读(885) 评论(0) 推荐(0)
摘要:Document package org.jsoup.nodes; import org.jsoup.helper.StringUtil; import org.jsoup.helper.Validate; import org.jsoup.parser.ParseSettings; import 阅读全文
posted @ 2021-10-31 13:25 西北逍遥 阅读(757) 评论(0) 推荐(0)
摘要:java Map Map<String, Integer> map2=sortMapByValue(map1);for(Entry<String, Integer> indexEntry:map2.entrySet()) { System.out.println(" "+indexEntry.get 阅读全文
posted @ 2021-10-12 17:15 西北逍遥 阅读(33) 评论(0) 推荐(0)
摘要:提取ifc对象数据 if(elementType==1) { BuildingStorey buildingStoreyObj = new BuildingStorey(); buildingStoreyObj.setName(ifcObjName); buildingStoreyObj.setGl 阅读全文
posted @ 2021-06-03 12:54 西北逍遥 阅读(161) 评论(0) 推荐(0)
摘要:处理json文件中的文件名 package com.vfsd.core; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream 阅读全文
posted @ 2021-05-25 16:50 西北逍遥 阅读(310) 评论(0) 推荐(0)

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