This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class NewClass { | |
public static boolean chooseDB() throws FileNotSelected { | |
File f = null; | |
if (!checkIfDatabaseIsInProject()) { | |
f = FilePicker.chooseDBFile(); | |
if (f == null) { | |
return false; | |
} | |
} else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class hello { | |
public String foo(String s) { | |
s = "hello world"; | |
String x = "eren"; | |
System.out.println("s: " + s + "x: " + x); | |
System.out.println("s: " + s + "x: " + x); | |
System.out.println("s: " + s + "x: " + x); | |
System.out.println(s = s + x); | |
magic(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.nerzid.autocomment.generator; | |
import com.github.javaparser.ASTHelper; | |
import com.github.javaparser.JavaParser; | |
import com.github.javaparser.ParseException; | |
import com.github.javaparser.ast.CompilationUnit; | |
import com.github.javaparser.ast.body.MethodDeclaration; | |
import com.github.javaparser.ast.body.Parameter; | |
import com.github.javaparser.ast.body.TypeDeclaration; | |
import com.github.javaparser.ast.comments.JavadocComment; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
public class EvenFibonacciNumbers { | |
public static void main(String[] args) { | |
ArrayList<Integer> liste = new ArrayList<>(); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class EulersNumber { | |
public static void main(String[] args) { | |
double euler = 1; | |
for (int i = 1; i < 100; i++) { | |
double fact = 1; | |
for(int j = i; j > 1; j--) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
public class AsalSayilar { | |
public static void main(String[] args) { | |
ArrayList<Integer> asal_sayilar = new ArrayList<>(); | |
asal_sayilar.add(2); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(t.getKind() != Tree.Kind.METHOD) | |
continue; |
NewerOlder