text
stringlengths
3
1.18M
package core.controller.cmds; import core.controller.CommandController; import core.dal.WeightFunctionality; import exceptions.UserNotFoundException; public class CalculateNettoCMD implements ICmd{ CommandController cc; WeightFunctionality functionality; final String level = "WeightApplication"; ICmd ...
package core.controller.cmds; import exceptions.UserNotFoundException; public interface ICmd{ public void execute(String cmd); public String getInfo(); void setNextCmd(ICmd nextCmd); String getLevel(); }
package core.controller.cmds; import java.util.ArrayList; import core.controller.CommandController; import core.dal.AdminFunctionality; import core.dto.IOperatorDTO; import exceptions.UserNotFoundException; public class ShowAllUsersCMD implements ICmd { AdminFunctionality functionality; final String l...
package core.dto; public interface IOperatorDTO { public int getOprId(); public void setOprId(int oprId); public String getOprNavn(); public void setOprNavn(String oprNavn); public String getIni(); public void setIni(String ini); public String getCpr(); public void setCpr(String cpr);...
package core.dto; public class OperatorDTO implements IOperatorDTO { private int oprId; private String oprNavn; private String ini; private String cpr; private String password; public int getOprId() { return oprId; } public void setOprId(int oprId) { this.oprId = oprId; } public Str...
package core.dto; public class AdminDTO implements IOperatorDTO { private int oprId; private String oprNavn; private String ini; private String cpr; private String password; public int getOprId() { return oprId; } public void setOprId(int oprId) { this.oprId = oprId; } public Stri...
package core.dto; public class VirtualWeight { private String password = "1234"; private double tara = 0; private double brutto = 0; private double netto = 0; public String getPassword(){ return password; } public double getTara() { return tara; } public void setTara(doubl...
package core.dto; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import exceptions.UserNotFoundException; public class Database implements IDatabase { private Map<Integer, IOperatorDTO> userMap = new HashMap<Integer, IOperatorDTO>(); @Override pu...
package core.dto; import java.util.List; import exceptions.UserNotFoundException; public interface IDatabase { public IOperatorDTO getUser(int id) throws UserNotFoundException; public List getUserList(); public void add(IOperatorDTO user); public void remove(int id) throws UserNotFoundException...
package core.dal; import java.util.ArrayList; import utilities.PasswordGenerator; import core.dto.IDatabase; import core.dto.IOperatorDTO; import core.dto.OperatorDTO; import exceptions.UserNotFoundException; public class AdminFunctionality implements IFunctionality{ private PasswordGenerato...
package core.dal; import core.dto.IDatabase; import core.dto.IOperatorDTO; import exceptions.UserNotFoundException; import exceptions.WrongPasswordException; public class OperatorFunctionality implements IFunctionality{ IDatabase currentDB; public OperatorFunctionality(IDatabase db){ currentDB = d...
package core.dal; public interface IFunctionality{ }
package core.dal; import core.dto.VirtualWeight; public class WeightFunctionality implements IFunctionality { VirtualWeight vW; public WeightFunctionality(VirtualWeight vW) { this.vW = vW; } public double calculateNetto(double brutto, double tara) { vW.setBrutto(brutto); vW.setTara(tara); ...
package core.boundary; public interface IInputReader { public String getUserString(); public float getUserFloat(); public int getUserInt(); }
package core.boundary; //MADE FOR TESTING public class TestInputReader implements IInputReader{ String userString; float userFloat; int userInt; @Override public String getUserString() { return userString; } @Override public float getUserFloat() { return userFloat; } @Override ...
package core.boundary; import java.util.ArrayList; import core.controller.CommandController; import core.controller.cmds.ICmd; import exceptions.UserNotFoundException; public class UserInterfaceTUI { public UserInterfaceTUI() { InputReader.init(new UserInputReader()); } public void UserInterface...
package core.boundary; public class InputReader{ private IInputReader inputReader; private static InputReader instance; private InputReader() {} public static InputReader getInstance() { if (instance == null) { instance = new InputReader(); } return instance; } public static void ...
package core.boundary; import java.util.Scanner; public class UserInputReader implements IInputReader{ Scanner sc = new Scanner(System.in); @Override public String getUserString() { return sc.nextLine(); } @Override public float getUserFloat() { return sc.nextFloat(); } @Override ...
package other; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.net.ServerSocket; import java.net.Socket; public class Vaegtsimulator_med_consol_opg{ static ServerSocket listener; private static double brutto=0...
import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.util.LinkedList; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JEditorPane; import javax.swing.JLabel; import javax.swing.JMenu; imp...
import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.LinkedList; import java.util.ListIterator; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JScrollPane; import jav...
import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JTextField; import javax.swing.WindowConstants; import javax.swing.SwingUtilities; import java.util.LinkedList; import java.u...
import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.BorderFactory; import javax.swing.ButtonGroup; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swing.JColorChooser; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; im...
import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.LinkedList; import java.util.ListIterator; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JScrollPane; import jav...
import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.LinkedList; import java.util.ListIterator; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JScrollPane; import jav...
import java.util.LinkedList; import javax.swing.table.AbstractTableModel; public class ModeloDatosJTableAprobados extends AbstractTableModel { LinkedList<Estudiante> LisEst = new LinkedList<Estudiante>(); String [] titulos = {"Cedula", "Nombre", "Apellido", "Nota final", "Estatus"}; String [][] datos; public...
import java.util.LinkedList; import javax.swing.table.AbstractTableModel; public class ModeloDatosJTableAplazados extends AbstractTableModel { LinkedList<Estudiante> LisEst = new LinkedList<Estudiante>(); LinkedList<Profesor> LisPro1 = new LinkedList<Profesor>(); String [] titulos = {"Cedula", "Nombre", "Apellid...
import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.LinkedList; import java.util.ListIterator; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import java...
//Interfas de Profesor public interface Maestro { public abstract float evaluarEstudiantes (); }
package src; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.WindowConstants; import javax.swing.border.LineBorder; import javax.swing.SwingUtilities; /** *...
import java.util.*; public class Profesor extends Persona { private String Titulo_Academico; private Estudiante Est; LinkedList<Estudiante> LisEst = new LinkedList<Estudiante>(); public Profesor(int cedula, String nombre, String apellido, String titulo_Academico) { super(cedula, nom...
//Interfas de Estdiante public interface Alumno { public abstract float presentarEvaluaciones(); }
import java.util.StringTokenizer; public abstract class Persona { protected int cedula; protected String Nombre; protected String Apellido; public Persona(int cedula, String nombre, String apellido) { super(); this.cedula = cedula; Nombre = nombre; Apellido = apellido; } public int getC...
import java.util.LinkedList; import javax.swing.table.AbstractTableModel; public class ModeloDatosJTableNotas extends AbstractTableModel { LinkedList<Estudiante> LisEst = new LinkedList<Estudiante>(); LinkedList<Profesor> LisPro1 = new LinkedList<Profesor>(); String [] titulos = {"Cedula", "Nombre", "Apellido", ...
package controlador; import java.awt.event.ActionListener; import java.awt.event.FocusListener; import java.awt.event.FocusEvent; import java.awt.event.ActionEvent; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.awt.event.KeyListener; import java.awt.event.KeyEvent; import java.awt...
/* Seccion: 2 Integrantes: -Jesus Baute.CI.18.249.214. -Josnner Ortiz.CI.18.059.188 -Beleanny Atacho.CI.19.253.757 -Maria Flores.C.I.18263016. */ package controlador; import vista.VentanaPrincipal; import modelo.Seccion; public class Principal { public static void main(String[] args) { Ven...
package controlador; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import vista.Mensaje; import vista.VentanaEvaluaciones; import vista.VentanaPrincipal; import modelo.Seccion; public class EscuchadorVentanaE...
package controlador; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import vista.VentanaPrincipal; import vista.VentanaProfesor; import vista.VentanaEstudiante; import vista.VentanaEvaluaciones; import vista.VentanaReportes; import modelo.Seccion; public class EscuchadorVentanaPrincipal impl...
package controlador; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import java.awt.event.ItemListener; import java.awt.event.ItemEvent; import java.util.Collection; import javax.swing.table.DefaultTableModel; import java...
package controlador; import java.awt.event.FocusEvent; import java.awt.event.FocusListener; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import java.awt...
package vista; import javax.swing.JOptionPane; public class Mensaje { public static void mostrarAdvertencia(String msj) { JOptionPane.showMessageDialog(null,msj, "ADVERTENCIA", JOptionPane.WARNING_MESSAGE); } public static void mostrarError(String msj) { JOptionPane.showMessageDial...
package vista; import java.awt.Dimension; import java.awt.Font; import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JToolBar; import javax.swing.SwingConstants; import javax.swing.ImageIcon; import java.io.File; import modelo.Seccion; import controlador.EscuchadorVentan...
package vista; import javax.swing.JPanel; import java.awt.Color; import java.awt.Graphics; import javax.swing.BorderFactory; import javax.swing.border.EtchedBorder; public class PanelFrente extends JPanel { public void paintComponent(Graphics g) { super.paintComponent(g); this.setBack...
package vista; import java.awt.Dimension; import java.awt.Font; import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JTextField; import javax.swing.JToolBar; import javax.swing.JComboBox; import javax.swing.ButtonGroup; import javax.swing.JRadioButton; import javax.swing...
package vista; import javax.swing.JPanel; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.GradientPaint; import java.awt.geom.Rectangle2D; public class PanelFondo extends JPanel { public void paintComponent(Graphics g) { super.paintComponent(g); G...
package vista; import javax.swing.JFrame; import java.awt.Dimension; import javax.swing.JToolBar; import javax.swing.SwingConstants; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.ImageIcon; import java.io.File; import controlador.EscuchadorVentanaPrincipal; import modelo.Seccion; public cl...
package vista; import java.awt.Dimension; import java.awt.Font; import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JTextField; import javax.swing.JToolBar; import javax.swing.ButtonGroup; import javax.swing.JRadioButton; import javax.swing.SwingConstants; import javax....
package vista; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JTable; import javax.swing.JScrollPane; import javax.swing.JToolBar; import javax.swing.JComboBox; import javax.swing.SwingConstant...
package modelo; public interface Validacion { boolean validar(); }
package modelo; import java.util.TreeSet; import java.util.Collection; import java.util.Collections; import java.util.LinkedList; import java.io.File; import java.io.BufferedOutputStream; import java.io.FileOutputStream; import java.io.PrintWriter; import java.io.IOException; public class Seccion { private int n...
package modelo; public class Profesor extends Persona implements Cloneable { private String titulo; public Profesor() { titulo=""; } public Profesor(String cedula,String nombre,String apellido,String titulo) { super(cedula,nombre,apellido); this.titulo= titulo; } ...
package modelo; /*Clase Abstracta Persona validar() de la interfaz Validacion no esta implementado */ public abstract class Persona implements Validacion { private String cedula; private String nombre; private String apellido; public Persona() { cedula=""; nombre= ""; ap...
package modelo; import java.util.Random; public class Estudiante extends Persona implements Comparable<Estudiante>,Cloneable { private float[] notas; private float notaFinal; private boolean status; public Estudiante() { notas= new float[3]; notaFinal=0.0f; status=false; ...
package modelo; import java.util.Comparator; /*Clase necesaria para ordenar los estudiantes segun la nota final*/ public class ComparadorNotaFinal implements Comparator<Estudiante> { public int compare(Estudiante o1, Estudiante o2) { return (int)(o2.getNotaFinal() - o1.getNotaFinal()); } }
package com.gadberry.utility; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import org.junit.Test; import com.gadberry.utility.expression.Expression; import com.gadberry.utility.expression.InvalidExpressionException; import com.gadberry.utility.expression.SimpleResolver; ...
package com.gadberry.utility; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.util.ArrayList; import java.util.Calendar; import java.util.List; import java.util.Map; import org.junit.Test; import com.gadberr...
package com.gadberry.utility; /** * @author Aaron Gadberry * */ public class FuzzyEquals { /** * */ public static double TOLERANCE = .0001; }
package com.gadberry.utility.expression; import static org.junit.Assert.fail; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.expression.symbol.AdditionSymbol; import com.gadberry.utility.expression.symbol.SubtractionSymbol; /*...
package com.gadberry.utility.expression; /** * @author Aaron Gadberry * */ public class MockResolver implements Resolver { public boolean canResolve(String path) { return true; } public Object resolve(String path) { return path; } }
package com.gadberry.utility.expression; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import org.junit.Test; import com.gadberry.utility....
package com.gadberry.utility.expression; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import com.gadberry.utility.CalendarUtils; import com.gadberry.utility.CalendarUtils.Unit; /** * @author Aaron Gadberry * */ public class SimpleResolver implements Resol...
package com.gadberry.utility.expression; import java.util.ArrayList; import java.util.List; /** * @author Aaron Gadberry */ public class MockOperator extends OperatorImpl { MockOperator(Expression expression) { super(expression); } @Override protected void checkArgs(List<Argument> args) thr...
package com.gadberry.utility.expression.function; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.FuzzyEquals; import ...
package com.gadberry.utility.expression.function; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.FuzzyEquals; import ...
package com.gadberry.utility.expression.function; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.FuzzyEquals; import ...
package com.gadberry.utility.expression.function; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.FuzzyEquals; import ...
package com.gadberry.utility.expression.function; import static org.junit.Assert.assertEquals; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.expression.Argument; import com.gadberry.utility.expressio...
package com.gadberry.utility.expression.function; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; ...
package com.gadberry.utility.expression.function; import java.util.List; import com.gadberry.utility.expression.Argument; import com.gadberry.utility.expression.Expression; import com.gadberry.utility.expression.Function; import com.gadberry.utility.expression.InvalidArgumentsException; /** * @author Aaro...
package com.gadberry.utility.expression.function; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.FuzzyEquals; import ...
package com.gadberry.utility.expression.function; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.expression.Argument; ...
package com.gadberry.utility.expression.function; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.FuzzyEquals; import ...
package com.gadberry.utility.expression.function; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.FuzzyEquals; import ...
package com.gadberry.utility.expression.function; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.FuzzyEquals; import ...
package com.gadberry.utility.expression.function; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.FuzzyEquals; import ...
package com.gadberry.utility.expression.function; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.FuzzyEquals; import ...
package com.gadberry.utility.expression.function; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.FuzzyEquals; import ...
package com.gadberry.utility.expression.function; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.FuzzyEquals; import ...
package com.gadberry.utility.expression.function; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.expression.Argument; ...
package com.gadberry.utility.expression.function; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.FuzzyEquals; import ...
package com.gadberry.utility.expression.function; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.FuzzyEquals; import ...
package com.gadberry.utility.expression; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; /** * @author Aaron Gadberry * */ public class Oper...
package com.gadberry.utility.expression; import org.junit.Test; import com.gadberry.utility.expression.symbol.AdditionSymbol; import com.gadberry.utility.expression.symbol.SubtractionSymbol; import junit.framework.TestCase; /** * @author Aaron Gadberry * */ public class ExpressionTests extends Test...
package com.gadberry.utility.expression.symbol; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; ...
package com.gadberry.utility.expression.symbol; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; ...
package com.gadberry.utility.expression.symbol; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.FuzzyEquals; import co...
package com.gadberry.utility.expression.symbol; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.expression.Argument; i...
package com.gadberry.utility.expression.symbol; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.expression.Argument; i...
package com.gadberry.utility.expression.symbol; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; ...
package com.gadberry.utility.expression.symbol; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.FuzzyEquals; import co...
package com.gadberry.utility.expression.symbol; import static org.junit.Assert.assertEquals; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.expression.Argument; import com.gadberry.utility.expression....
package com.gadberry.utility.expression.symbol; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; ...
package com.gadberry.utility.expression.symbol; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.FuzzyEquals; import co...
package com.gadberry.utility.expression.symbol; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.FuzzyEquals; import co...
package com.gadberry.utility.expression.symbol; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.gadberry.utility.FuzzyEquals; import co...
package com.gadberry.utility.expression.symbol; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; ...
package com.gadberry.utility.expression.symbol; import java.util.List; import com.gadberry.utility.expression.Argument; import com.gadberry.utility.expression.Expression; import com.gadberry.utility.expression.InvalidArgumentsException; import com.gadberry.utility.expression.Symbol; /** * @author Aaron Ga...
package com.gadberry.utility; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; /** * @author Aaron Gadberry */ public class CalendarUtils { /** * Unit is utilized to dis...
package com.gadberry.utility.expression; import java.util.ArrayList; import java.util.List; /** * @author Aaron Gadberry */ public abstract class Symbol extends OperatorImpl { /** * Create a symbol with a given parent expression. * * @param expression * parent */ public Sy...
package com.gadberry.utility.expression; /** * @author Aaron Gadberry */ public interface Resolver { /** * Determine if this resolver can resolve the given variable to an Object. * * @param variable * to resolve * * @return whether or not this variable can be resolved. */...