This file contains 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.io.IOException; | |
import java.util.LinkedList; | |
public class SequencedProcessExecuter { | |
private LinkedList<ProcessBuilder> processbuilders = new LinkedList<ProcessBuilder>(); | |
public SequencedProcessExecuter() { | |
super(); | |
} |
This file contains 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 Assistance { | |
private static Scanner scanner = new Scanner(System.in); | |
public static void main(String[] args) { | |
String choice = null; | |
while(choice == null || !choice.equalsIgnoreCase("no")){ | |
calculateBill(); | |
System.out.println("Do you need to calculate more?"); |
This file contains 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 SpringEl; | |
import org.springframework.context.ApplicationContext; | |
import org.springframework.context.support.ClassPathXmlApplicationContext; | |
public class Application { | |
public static void main(String[] args) { | |
ApplicationContext context = new ClassPathXmlApplicationContext("spring-beans.xml"); |
This file contains 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.Date; | |
public class Artist { | |
String mNickname; | |
String mName; | |
String mDescription; | |
String mScene; | |
String mDay; | |
String mTime; |
This file contains 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 ArrayCloneExample { | |
public static void main(String[] args) { | |
int[] a = {1,2,3}; | |
int[] b = a.clone(); | |
System.out.println(a == b ? "Same Instance":"Different Instance"); | |
//Outputs different instance | |
This file contains 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.Date; | |
import java.util.List; | |
import org.quartz.Job; | |
import org.quartz.JobExecutionContext; | |
import org.quartz.JobExecutionException; | |
import org.quartz.JobKey; | |
import org.quartz.Scheduler; | |
import org.quartz.SchedulerException; | |
import org.quartz.Trigger; |
This file contains 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.Date; | |
import java.util.List; | |
import org.quartz.Job; | |
import org.quartz.JobBuilder; | |
import org.quartz.JobDetail; | |
import org.quartz.JobExecutionContext; | |
import org.quartz.JobExecutionException; | |
import org.quartz.JobKey; | |
import org.quartz.Scheduler; |
This file contains 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; | |
import java.util.Arrays; | |
import java.util.Collections; | |
import java.util.Comparator; | |
import java.util.List; | |
public class Student { | |
private String name; |
This file contains 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.text.DecimalFormat; | |
import javax.swing.JOptionPane; | |
public class TuitionCost { | |
public static void main(String[] args) { | |
int costHours; | |
int student; | |
String input; |
This file contains 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 org.mvc.test; | |
public class Environment { | |
private String name; | |
private String path; | |
public String getName() { | |
return name; | |
} |