text
stringlengths
3
1.18M
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Admin */ public class DriveWithXBox extends CommandBase { public DriveWithXBox() { requires(chassis); // reserve...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.Timer; import edu.wpi.first.wpilibj.templates.R...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.Relay; /** * * @author Admin */ public...
package edu.wpi.first.wpilibj.templates.commands; /** * * @author bradmiller */ public class ExampleCommand extends CommandBase { public ExampleCommand() { // Use requires() here to declare subsystem dependencies // eg. requires(chassis); } // Called just before this Com...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import Team102Lib.MathLib; import Team102Lib.MessageLogger; /** * * @...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.command.CommandGroup; import edu.wpi.first.wpil...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Admin */ public class LightALight extends CommandBase ...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.Relay; import edu.wpi.first.wpilibj.command.Com...
package edu.wpi.first.wpilibj.templates.commands; import Team102Lib.MessageLogger; import edu.wpi.first.wpilibj.command.Command; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; import edu.wpi.first.wpilibj.templates.OI; import edu.wpi.first.wpilibj.templates.subsystems.Chassis; import edu.wpi.first....
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Admin */ public class PrintEncoder extends CommandBase...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import Team102Lib.MessageLogger; /** * * @author Admin */ public cl...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Admin */ public class InitGyro extends CommandBase { ...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; /** * * @author Admin */ public class GetGyroAngle extends CommandBase...
package edu.wpi.first.wpilibj.templates; import Team102Lib.MessageLogger; import edu.wpi.first.wpilibj.DigitalOutput; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.buttons.Button; import edu.wpi.first.wpilibj.buttons.DigitalIOButton; import edu.wpi.first.wpilibj.buttons.JoystickButton; im...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.subsystems; import Team102Lib.MathLib; import Team102Lib.MessageLogger; import edu.wp...
package edu.wpi.first.wpilibj.templates.subsystems; import edu.wpi.first.wpilibj.command.Subsystem; /** * */ public class ExampleSubsystem extends Subsystem { // Put methods for controlling this subsystem // here. Call these from Commands. public void initDefaultCommand() { // Set...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.subsystems; import Team102Lib.MathLib; import Team102Lib.MessageLogger; import edu.wp...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.subsystems; import edu.wpi.first.wpilibj.Relay; import edu.wpi.first.wpilibj.command.S...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.subsystems; import Team102Lib.MathLib; import Team102Lib.MessageLogger; import edu.wp...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.subsystems; import Team102Lib.MessageLogger; import edu.wpi.first.wpilibj.command.Subs...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.subsystems; import Team102Lib.MathLib; import Team102Lib.MessageLogger; import edu.wp...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.subsystems; import Team102Lib.MathLib; import Team102Lib.MessageLogger; import edu.wp...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Team102Lib; /** * * @author Administrator */ public class TextMeter { char majorTick = '|'; char minorTick = '\''; int majorTickIncrement = 10; int width; double lowerBound; double up...
/* * Class to extend particle to let us do calculations on the backboards of FRC 2012 */ package Team102Lib; import edu.wpi.first.wpilibj.image.ParticleAnalysisReport; public class BackboardParticle { // public static final double CAMERA_FIELD_OF_VIEW = 43.5; // degrees // NOTE: These need to be tuned. ...
package Team102Lib; /* * Javolution - Java(TM) Solution for Real-Time and Embedded Systems * Copyright (C) 2006 - Javolution (http://javolution.org/) * All rights reserved. * * Permission to use, copy, modify, and distribute this software is * freely granted, provided that this notice is preserved. */ import j...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Team102Lib; import edu.wpi.first.wpilibj.DriverStationLCD; import edu.wpi.first.wpilibj.Timer; /** * * @author Administrator */ public class MessageLogger { public static boolean disableLog = false; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Team102Lib; /** * * @author Administrator */ // Class to implement a deadband. // Assumes a centered deadband around 0.0 // rangeRadius - the radius of the area of expected inputs. Values outside this range ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Team102Lib; /* * This Class came from Team 2587 DiscoBots. * MaxbotixSonar class for reading values from the Maxbotix Sonars. * Will have functions for running them in daisy chain mode which will require * ...
/* * Class to implement a moving average calculator. */ package Team102Lib; /** * * @author us1468 */ public class MovingAverage { int numElements; double lastMovingAverage; public MovingAverage(double initMovingAverage) { init(); lastMovingAverage = initMovingAverage; } ...
package org.semo.java.basics.samples; /** * * @author Sergio Moreno Pedro * @date 23-mar-2014 * ¡Viva yo! */ public class PruebaRepositorio { public static void main(String[] args) { String mensaje = "Hola Gente"; System.out.println(mensaje); } }
import static org.junit.Assert.*; import org.junit.Test; public class MainTest { @Test public void test() { Main.main(null); } }
import java.math.BigDecimal; /** * DebitCards are unusual because they have a CheckingAccount * member they need to check against whenever they make a * transaction. Kind of a toss-up if they should extend Account * * @author svene_000 * */ public class DebitCard { public static int lastDebitCard...
import static org.junit.Assert.*; import java.math.BigDecimal; import org.junit.After; import org.junit.Before; import org.junit.Test; public class DebitCardTest { DebitCard testCard; @Before public void setUp() throws Exception { Customer testCustomer = new Customer("test first name", "test last name", "12...
import static org.junit.Assert.*; import java.math.BigDecimal; import org.junit.After; import org.junit.Before; import org.junit.Test; public class SavingsAccountTest { SavingsAccount testAccount; @Before public void setUp() throws Exception { Customer testCustomer = new Customer("test first name", "test la...
import java.math.BigDecimal; /** * SavingsAccount is just an Account that can calculate interest. * * @author svene_000 * */ public class SavingsAccount extends Account{ private static BigDecimal interestRate = new BigDecimal("1.25"); public SavingsAccount(Customer acctCustomer) { super(acctC...
/** * Data class containing customer information. * * Getters and setters. Nothing unusual. * * @author svene_000 * */ public class Customer { private String firstName; private String lastName; private String streetAddress; private String zipcode; private String town; private String count...
import static org.junit.Assert.*; import java.math.BigDecimal; import org.junit.After; import org.junit.Before; import org.junit.Test; public class CreditCardTest { CreditCard testCard; @Before public void setUp() throws Exception { Customer testCustomer = new Customer("test first name", "test last name", "...
import static org.junit.Assert.*; import java.math.BigDecimal; import java.util.Vector; import org.junit.After; import org.junit.Before; import org.junit.Test; import static org.hamcrest.CoreMatchers.*; public class BankTest { Bank testBank; Customer testCustomer; @Before public void setUp() throws Exception...
import java.math.BigDecimal; import java.util.Vector; /** * Does many of the things an actual bank does. * * Has 3 Vectors that manage CheckingAccounts, * SavingAccounts and CreditCards. * * @author svenb * */ public class Bank { public String name; public Vector<CreditCard> creditCards; ...
import java.math.BigDecimal; /** * CreditCard is an account that has a "limit" * and it's own special withdrawal. * * The limit is a negative number, indicating debt. * A balance of -100 would mean the Customer owes * $100. For this reason it can't use withdrawal * inherited from Account. * * @au...
import static org.junit.Assert.*; import org.junit.After; import org.junit.Before; import org.junit.Test; /** * */ /** * @author svene_000 * */ public class CustomerTest { Customer testCustomer; /** * @throws java.lang.Exception */ @Before public void setUp() throws Exception {...
import java.math.BigDecimal; /** * CheckingAccount inherits from Account and is * unremarkable except that it can be linked to a * DebitCard, which also contains a reference back to it. * * @author svenb * */ public class CheckingAccount extends Account { public DebitCard debitCard; public stat...
import static org.junit.Assert.*; import java.math.BigDecimal; import org.junit.After; import org.junit.Before; import org.junit.Test; public class CheckingAccountTest { // public CheckingAccount(String name, String street, String zipcode, String town, String country) // public CheckingAccount(String name, String ...
import java.math.BigDecimal; public class Main { public static void main(String[] args) { Bank bank = new Bank("Bank of America"); Customer newCustomer = new Customer("Bob", "Smith", "1 Main St.", "12345", "Tacoma", "USA"); int accountnumber = bank.openCheckingAccount(newCustomer); if(bank.withd...
import java.math.BigDecimal; /** * */ /** * @author svenb * * Abstract class to support CheckingAccount, SavingsAccount and CreditCard * * */ public class Account { protected Customer accountHolder; protected BigDecimal balance = new BigDecimal(0); protected int accountNumber; protect...
import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; @RunWith(Suite.class) @SuiteClasses({ BankTest.class, CheckingAccountTest.class, CreditCardTest.class, CustomerTest.class, DebitCardTest.class, SavingsAccountTest.class, MainTest.class }) public ...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.dao\\AdherentsDao.java package fr.afpa.biblio.dao; public class AdherentsDao { private fr.afpa.biblio.metier.Adherent[] adherentDB; /** * @roseuid 5240E3CF0093 */ public AdherentsDao() { ...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.dao\\EmployesDao.java package fr.afpa.biblio.dao; import fr.afpa.biblio.metier.*; public class EmployesDao { private fr.afpa.biblio.metier.Employe[] employeDB; /** * @roseuid 5240E3CF0057 */ publ...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.dao\\ExemplaireDao.java package fr.afpa.biblio.dao; import fr.afpa.biblio.metier.*; public class ExemplaireDao { private Exemplaire[] exemplaireDB; /** * @roseuid 5240E3CF00AE */ public Exemplair...
package fr.afpa.util; import javax.tools.JavaCompiler; /** * @author pev Cette classe contient des outil facilitant les tests * @version 0.1 * @category Utils */ public class Utils { /** * Cette methode permet de remplacer une valeur null par un new du type concerne <br\> * <blockquote><pre>...
/** * */ /** * @author pev * @version 0.1 * Un package contenant des méthodes utilitaire. * */ package fr.afpa.util;
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.dao\\AdherentsDao.java package fr.afpa.biblio.dao; public class AdherentsDao { private fr.afpa.biblio.metier.Adherent[] adherentDB; /** * @roseuid 5240E3CF0093 */ public AdherentsDao() { ...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.dao\\EmployesDao.java package fr.afpa.biblio.dao; import fr.afpa.biblio.metier.*; public class EmployesDao { private fr.afpa.biblio.metier.Employe[] employeDB; /** * @roseuid 5240E3CF0057 */ publ...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.dao\\ExemplaireDao.java package fr.afpa.biblio.dao; import fr.afpa.biblio.metier.*; public class ExemplaireDao { private Exemplaire[] exemplaireDB; /** * @roseuid 5240E3CF00AE */ public static Ex...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\EnumStatusExemplaire.java package fr.afpa.biblio.metier; public class EnumStatusExemplaire { private int PRETE; private int DISPONIBLE; private int SUPPRIME; /** * @roseuid 5240E3CF0233 */ public EnumStatusE...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.metier\\EmpruntEnCours.java package fr.afpa.biblio.metier; import java.util.Date; public class EmpruntEnCours { private Date dateEmprunt; private Utilisateur emprunteur; private Exemplaire exemplaire; /** ...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.metier\\EmpruntArchive.java package fr.afpa.biblio.metier; import java.util.Date; /** * @author afpa * */ /** * @author afpa * */ public class EmpruntArchive { private Date dateRestitutionEff; private...
/** * */ package fr.afpa.biblio.metier; /** * @author pev * Exception métier qui et lancée à chaque éxecption particulière du * logiciel */ public class BiblioExeception extends Exception { private static final long serialVersionUID = 6781744237292782745L; /** LES CONSTRUCTEURS */ /** ...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.metier\\Personne.java package fr.afpa.biblio.metier; import java.util.Date; import fr.afpa.util.Utils; /** * @author pev * @version 1.0 * Cette classe décrit les particularité d'une personne * */ public class Pe...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.metier\\Adherent.java package fr.afpa.biblio.metier; /** * @author pev * @version 1.0 Classe qui décrit les adherents de la bibliotheque * */ public class Adherent extends Utilisateur { private String telephone = new ...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.metier\\Utilisateur.java package fr.afpa.biblio.metier; import java.util.ArrayList; import fr.afpa.util.*; /** * @author pev Classe qui décrit les utilisateurs de la bibliotheque * @version 1.0 */ public class Utilisa...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\EnumCategorieEmploye.java package fr.afpa.biblio.metier; public class EnumCategorieEmploye { public int BIBLIOTHECAIRE; public int RESPONSABLE; public int GESTIONNAIRE_DE_FOND; /** * @roseuid 5240E3CF0204 */ ...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.metier\\Employe.java package fr.afpa.biblio.metier; public class Employe extends fr.afpa.biblio.metier.Utilisateur { private String codeMatricule; private EnumCategorieEmploye categorieEmploye; /** * @thro...
package fr.afpa.util; import javax.tools.JavaCompiler; /** * @author pev Cette classe contient des outil facilitant les tests * @version 0.1 * @category Utils */ public class Utils { /** * Cette methode permet de remplacer une valeur null par un new du type concerne <br\> * <blockquote><pre>...
/** * */ /** * @author pev * @version 0.1 * Un package contenant des méthodes utilitaire. * */ package fr.afpa.util;
// Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.dao\\ExemplaireDao.java package fr.afpa.biblio.dao; import java.util.ArrayList; import java.util.Date; import java.util.Iterator; import fr.afpa.biblio.metier.*; /** * * Mock class simulant une partie d'un DAO pour ...
// Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.dao\\AdherentsDao.java package fr.afpa.biblio.dao; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Iterator; import fr.afpa.biblio.exception.BiblioException;...
// Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.dao\\EmployesDao.java package fr.afpa.biblio.dao; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Iterator; import fr.afpa.biblio.exception.BiblioException; ...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\EnumStatusExemplaire.java package fr.afpa.biblio.metier; /** * @author pev * @version 1.6 * Cette enumeration donne les differents etats / status d'un exemplaire */ public enum EnumStatusExemplaire { @SuppressWarnings("javadoc") ...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.metier\\EmpruntArchive.java package fr.afpa.biblio.metier; import java.util.Date; import fr.afpa.biblio.exception.BiblioException; /** * @author afpa * */ /** * @author afpa * */ public class EmpruntArch...
/** * */ package fr.afpa.biblio.metier; /** * @author pev * Exception métier qui et lancée à chaque éxecption particulière du * logiciel */ public class BiblioExeception extends Exception { private static final long serialVersionUID = 6781744237292782745L; /** LES CONSTRUCTEURS */ /** ...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.metier\\Personne.java package fr.afpa.biblio.metier; import java.util.Date; import fr.afpa.util.Utils; /** * @author pev * @version 1.0 * Cette classe décrit les particularité d'une personne * */ public class Pe...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\EnumCategorieEmploye.java package fr.afpa.biblio.metier; /** * @author pev * @version 1.6 * Contient les differents types d'employes de la bibliotheque. */ public enum EnumCategorieEmploye { @SuppressWarnings("javadoc") BIBLIOTHECA...
package fr.afpa.util; import javax.tools.JavaCompiler; /** * @author pev Cette classe contient des outil facilitant les tests * @version 0.1 * @category Utils */ public class Utils { /** * Cette methode permet de remplacer une valeur null par un new du type concerne <br\> * <blockquote><pre>...
/** * */ /** * @author pev * @version 0.1 * Un package contenant des méthodes utilitaire. * */ package fr.afpa.util;
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.dao\\AdherentsDao.java package fr.afpa.biblio.dao; import java.text.ParseException; import java.text.SimpleDateFormat; import fr.afpa.biblio.metier.Adherent; import fr.afpa.biblio.metier.BiblioExeception; import fr.afpa.bib...
// Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.dao\\EmployesDao.java package fr.afpa.biblio.dao; import java.util.ArrayList; import java.util.Iterator; import fr.afpa.biblio.metier.*; /** * Classe de Mock d'un DAO pour la classe Adherent * @author pev * @version...
// Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.dao\\ExemplaireDao.java package fr.afpa.biblio.dao; import java.util.Date; import fr.afpa.biblio.metier.*; /** * * Mock class simulant une partie d'un DAO pour les objets Exemplaire * * @author jonathan * @v0.1...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\EnumStatusExemplaire.java package fr.afpa.biblio.metier; /** * @author pev * @version 1.6 * Cette enumeration donne les differents etats / status d'un exemplaire */ public enum EnumStatusExemplaire { @SuppressWarnings("javadoc") ...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.metier\\EmpruntEnCours.java package fr.afpa.biblio.metier; import java.util.Date; public class EmpruntEnCours { private Date dateEmprunt; private Utilisateur emprunteur; private Exemplaire exemplaire; /** ...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.metier\\EmpruntArchive.java package fr.afpa.biblio.metier; import java.util.Date; /** * @author afpa * */ /** * @author afpa * */ public class EmpruntArchive { private Date dateRestitutionEff; private...
/** * */ package fr.afpa.biblio.metier; /** * @author pev * Exception métier qui et lancée à chaque éxecption particulière du * logiciel */ public class BiblioExeception extends Exception { private static final long serialVersionUID = 6781744237292782745L; /** LES CONSTRUCTEURS */ /** ...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.metier\\Personne.java package fr.afpa.biblio.metier; import java.util.Date; import fr.afpa.util.Utils; /** * @author pev * @version 1.0 * Cette classe décrit les particularité d'une personne * */ public class Pe...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\EnumCategorieEmploye.java package fr.afpa.biblio.metier; /** * @author pev * @version 1.6 * Contient les differents types d'employes de la bibliotheque. */ public enum EnumCategorieEmploye { @SuppressWarnings("javadoc") BIBLIOTHECA...
package fr.afpa.util; import javax.tools.JavaCompiler; /** * @author pev Cette classe contient des outil facilitant les tests * @version 0.1 * @category Utils */ public class Utils { /** * Cette methode permet de remplacer une valeur null par un new du type concerne <br\> * <blockquote><pre>...
/** * */ /** * @author pev * @version 0.1 * Un package contenant des méthodes utilitaire. * */ package fr.afpa.util;
// Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.dao\\ExemplaireDao.java package fr.afpa.biblio.dao; import java.util.ArrayList; import java.util.Date; import java.util.Iterator; import fr.afpa.biblio.metier.*; /** * * Mock class simulant une partie d'un DAO pour ...
// Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.dao\\AdherentsDao.java package fr.afpa.biblio.dao; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Iterator; import fr.afpa.biblio.exception.BiblioException;...
// Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.dao\\EmployesDao.java package fr.afpa.biblio.dao; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Iterator; import fr.afpa.biblio.exception.BiblioException; ...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\EnumStatusExemplaire.java package fr.afpa.biblio.metier; /** * @author pev * @version 1.6 * Cette enumeration donne les differents etats / status d'un exemplaire */ public enum EnumStatusExemplaire { @SuppressWarnings("javadoc") ...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.metier\\EmpruntArchive.java package fr.afpa.biblio.metier; import java.util.Date; import fr.afpa.biblio.exception.BiblioException; /** * @author afpa * */ /** * @author afpa * */ public class EmpruntArch...
/** * */ package fr.afpa.biblio.metier; /** * @author pev * Exception métier qui et lancée à chaque éxecption particulière du * logiciel */ public class BiblioExeception extends Exception { private static final long serialVersionUID = 6781744237292782745L; /** LES CONSTRUCTEURS */ /** ...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.metier\\Personne.java package fr.afpa.biblio.metier; import java.util.Date; import fr.afpa.util.Utils; /** * @author pev * @version 1.0 * Cette classe décrit les particularité d'une personne * */ public class Pe...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\EnumCategorieEmploye.java package fr.afpa.biblio.metier; /** * @author pev * @version 1.6 * Contient les differents types d'employes de la bibliotheque. */ public enum EnumCategorieEmploye { @SuppressWarnings("javadoc") BIBLIOTHECA...
package fr.afpa.util; import javax.tools.JavaCompiler; /** * @author pev Cette classe contient des outil facilitant les tests * @version 0.1 * @category Utils */ public class Utils { /** * Cette methode permet de remplacer une valeur null par un new du type concerne <br\> * <blockquote><pre>...
/** * */ /** * @author pev * @version 0.1 * Un package contenant des méthodes utilitaire. * */ package fr.afpa.util;
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.dao\\AdherentsDao.java package fr.afpa.biblio.dao; import java.text.ParseException; import java.text.SimpleDateFormat; import fr.afpa.biblio.metier.Adherent; import fr.afpa.biblio.metier.BiblioExeception; import fr.afpa.bib...
// Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.dao\\EmployesDao.java package fr.afpa.biblio.dao; import java.util.ArrayList; import java.util.Iterator; import fr.afpa.biblio.metier.*; /** * Classe de Mock d'un DAO pour la classe Adherent * @author pev * @version...
// Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\fr.afpa.biblio.dao\\ExemplaireDao.java package fr.afpa.biblio.dao; import java.util.Date; import fr.afpa.biblio.metier.*; /** * * Mock class simulant une partie d'un DAO pour les objets Exemplaire * * @author jonathan * @v0.1...
//Source file: D:\\Users\\afpa\\Documents\\workspace\\20-otarie\\src\\EnumStatusExemplaire.java package fr.afpa.biblio.metier; /** * @author pev * @version 1.6 * Cette enumeration donne les differents etats / status d'un exemplaire */ public enum EnumStatusExemplaire { @SuppressWarnings("javadoc") ...