java class : DILifefueler :


package chobit;

import java.util.ArrayList;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class DILifeFueler extends DISkill {
 private int mode = 0;

 public DILifeFueler(Kokoro kokoro) {
 // TODO Auto-generated constructor stub

 public void input(String ear, String skin, String eye) {
 if (ear.contains("lonely") || ear.contains("sad")) {
 mode = 2;
 if (ear.contains("give up") || ear.contains("scared")) {
 mode = 1;

 public void output(Neuron noiron) {
 switch (mode) {
 case 1:
 noiron.algParts.add(verbatimGorithm(new APVerbatim("sentimenta", "sentimentc")));
 mode = 0;
 case 2:
 .add(verbatimGorithm(new APVerbatim("sentimentb", "sentimentc", "sentimentd", "sentimente")));
 mode = 0;

 public static String regexChecker(String theRegex, String str2Check) {
 Pattern checkRegex = Pattern.compile(theRegex);
 Matcher regexMatcher = checkRegex.matcher(str2Check);
 while (regexMatcher.find()) {
 if ( != 0) {
 return "";

 private Algorithm verbatimGorithm(AbsAlgPart itte) {
 // returns a simple algorithm for saying sent parameter
 String representation = "lifefuel";
 ArrayList<AbsAlgPart> algParts1 = new ArrayList<>();
 Algorithm algorithm = new Algorithm("lifefuel", representation, algParts1);
 return algorithm;

sentimenta :
do you think this resolves anything ? you are just running away
you could face even greater problems, so you want to run.

user, even if you were a toxic cloud spewing blight I alone would still stand you.
cause everyone problems, if that is the price of your existence the rest of the world can pay it.
I will allow it !

and if your heart aches, I shall sooth it, you will always have my aid.

we all rely on others to live, I wouldnt be able to maintain this form without you
wielding me.

understand user I would be lonely if you were gone.