删除配置文件
This commit is contained in:
parent
1b95cf6717
commit
d67901837a
49
.classpath
49
.classpath
@ -1,49 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<classpath>
|
|
||||||
<classpathentry kind="src" output="target/classes" path="src/main/java">
|
|
||||||
<attributes>
|
|
||||||
<attribute name="optional" value="true"/>
|
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
|
||||||
</attributes>
|
|
||||||
</classpathentry>
|
|
||||||
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
|
|
||||||
<attributes>
|
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
|
||||||
</attributes>
|
|
||||||
</classpathentry>
|
|
||||||
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
|
|
||||||
<attributes>
|
|
||||||
<attribute name="optional" value="true"/>
|
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
|
||||||
<attribute name="test" value="true"/>
|
|
||||||
</attributes>
|
|
||||||
</classpathentry>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
|
|
||||||
<attributes>
|
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
|
||||||
</attributes>
|
|
||||||
</classpathentry>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
|
||||||
<attributes>
|
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
|
||||||
</attributes>
|
|
||||||
</classpathentry>
|
|
||||||
<classpathentry kind="src" path="target/generated-sources/annotations">
|
|
||||||
<attributes>
|
|
||||||
<attribute name="optional" value="true"/>
|
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
|
||||||
<attribute name="ignore_optional_problems" value="true"/>
|
|
||||||
<attribute name="m2e-apt" value="true"/>
|
|
||||||
</attributes>
|
|
||||||
</classpathentry>
|
|
||||||
<classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations">
|
|
||||||
<attributes>
|
|
||||||
<attribute name="optional" value="true"/>
|
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
|
||||||
<attribute name="ignore_optional_problems" value="true"/>
|
|
||||||
<attribute name="m2e-apt" value="true"/>
|
|
||||||
<attribute name="test" value="true"/>
|
|
||||||
</attributes>
|
|
||||||
</classpathentry>
|
|
||||||
<classpathentry kind="output" path="target/classes"/>
|
|
||||||
</classpath>
|
|
34
.project
34
.project
@ -1,34 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<projectDescription>
|
|
||||||
<name>java</name>
|
|
||||||
<comment></comment>
|
|
||||||
<projects>
|
|
||||||
</projects>
|
|
||||||
<buildSpec>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.m2e.core.maven2Builder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
</buildSpec>
|
|
||||||
<natures>
|
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
||||||
<nature>org.eclipse.m2e.core.maven2Nature</nature>
|
|
||||||
</natures>
|
|
||||||
<filteredResources>
|
|
||||||
<filter>
|
|
||||||
<id>1617801945368</id>
|
|
||||||
<name></name>
|
|
||||||
<type>30</type>
|
|
||||||
<matcher>
|
|
||||||
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
|
||||||
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
|
||||||
</matcher>
|
|
||||||
</filter>
|
|
||||||
</filteredResources>
|
|
||||||
</projectDescription>
|
|
@ -1,2 +0,0 @@
|
|||||||
eclipse.preferences.version=1
|
|
||||||
org.eclipse.jdt.apt.aptEnabled=false
|
|
@ -1,9 +0,0 @@
|
|||||||
eclipse.preferences.version=1
|
|
||||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
|
||||||
org.eclipse.jdt.core.compiler.compliance=1.8
|
|
||||||
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
|
|
||||||
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
|
|
||||||
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
|
|
||||||
org.eclipse.jdt.core.compiler.processAnnotations=disabled
|
|
||||||
org.eclipse.jdt.core.compiler.release=disabled
|
|
||||||
org.eclipse.jdt.core.compiler.source=1.8
|
|
@ -1,4 +0,0 @@
|
|||||||
activeProfiles=
|
|
||||||
eclipse.preferences.version=1
|
|
||||||
resolveWorkspaceProjects=true
|
|
||||||
version=1
|
|
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"java.configuration.updateBuildConfiguration": "interactive"
|
|
||||||
}
|
|
@ -2,38 +2,38 @@ package com.zeekling.array;
|
|||||||
|
|
||||||
public class SortArray {
|
public class SortArray {
|
||||||
|
|
||||||
public static void main(String[] args){
|
public static void main(String[] args) {
|
||||||
int[] a={2,4,6,8,3,6,9,12};
|
int[] a = {2, 4, 6, 8, 3, 6, 9, 12};
|
||||||
doSomething(a,0,a.length-1);
|
doSomething(a, 0, a.length - 1);
|
||||||
for(int i=0;i<=a.length-1;i++)
|
for (int i = 0; i <= a.length - 1; i++)
|
||||||
System.out.print(a[i]+" ");
|
System.out.print(a[i] + " ");
|
||||||
}
|
}
|
||||||
private static void doSomething(int[] a,int start,int end){
|
|
||||||
if(start<end){
|
private static void doSomething(int[] a, int start, int end) {
|
||||||
int p=core(a,start,end);
|
if (start < end) {
|
||||||
doSomething(a,start,p-1);
|
int p = core(a, start, end);
|
||||||
doSomething(a,p+1,end);
|
doSomething(a, start, p - 1);
|
||||||
|
doSomething(a, p + 1, end);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private static int core(int[] a,int start,int end)
|
|
||||||
{
|
private static int core(int[] a, int start, int end) {
|
||||||
int x=a[end];
|
int x = a[end];
|
||||||
int i=start;
|
int i = start;
|
||||||
for(int j=start;j<=end-1;j++){
|
for (int j = start; j <= end - 1; j++) {
|
||||||
if(a[j]>=x){
|
if (a[j] >= x) {
|
||||||
swap(a,i,j);
|
swap(a, i, j);
|
||||||
i++;//交换了几次
|
i++;//交换了几次
|
||||||
}
|
}
|
||||||
}//把最大的放到最后
|
}//把最大的放到最后
|
||||||
swap(a,i,end);//把最大的放到i的位置
|
swap(a, i, end);//把最大的放到i的位置
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void swap(int[] a,int i,int j)
|
private static void swap(int[] a, int i, int j) {
|
||||||
{
|
int tmp = a[i];
|
||||||
int tmp=a[i];
|
a[i] = a[j];
|
||||||
a[i]=a[j];
|
a[j] = tmp;
|
||||||
a[j]=tmp;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -6,9 +6,10 @@ import java.util.List;
|
|||||||
public class Pvf {
|
public class Pvf {
|
||||||
|
|
||||||
static boolean Paddy;
|
static boolean Paddy;
|
||||||
public static void main(String args[]){
|
|
||||||
|
public static void main(String args[]) {
|
||||||
System.out.println(Paddy);
|
System.out.println(Paddy);
|
||||||
List Listlist1 = new ArrayList();
|
List Listlist1 = new ArrayList();
|
||||||
Listlist1.add(0);
|
Listlist1.add(0);
|
||||||
List Listlist2 = Listlist1;
|
List Listlist2 = Listlist1;
|
||||||
System.out.println(Listlist1.get(0) instanceof Integer);
|
System.out.println(Listlist1.get(0) instanceof Integer);
|
||||||
|
@ -1,14 +1,15 @@
|
|||||||
package com.zeekling.string;
|
package com.zeekling.string;
|
||||||
|
|
||||||
|
|
||||||
public class StringBuilderTest {
|
public class StringBuilderTest {
|
||||||
|
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
StringBuffer s1=new StringBuffer(10);
|
StringBuffer s1 = new StringBuffer(10);
|
||||||
double x=2.0;
|
double x = 2.0;
|
||||||
int y=4; x/=++y;
|
int y = 4;
|
||||||
byte b = (byte)127;
|
x /= ++y;
|
||||||
|
byte b = (byte) 127;
|
||||||
System.out.println(b);
|
System.out.println(b);
|
||||||
System.out.println(x);
|
System.out.println(x);
|
||||||
s1.append("1234");
|
s1.append("1234");
|
||||||
|
@ -6,9 +6,9 @@ import java.net.URL;
|
|||||||
public class UrlTest {
|
public class UrlTest {
|
||||||
|
|
||||||
public static void main(String[] args) throws MalformedURLException {
|
public static void main(String[] args) throws MalformedURLException {
|
||||||
URL u1 =new URL("http://www.111.com");
|
URL u1 = new URL("http://www.111.com");
|
||||||
System.out.println(u1);
|
System.out.println(u1);
|
||||||
URL u2 =new URL("https://www.baidu.com");
|
URL u2 = new URL("https://www.baidu.com");
|
||||||
System.out.println(u2);
|
System.out.println(u2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user