text
stringlengths
3
1.18M
import javax.swing.*; public class OddEven { public static void main(String[] args) { int number; number = Integer.parseInt(JOptionPane.showInputDialog( null, "Please enter a number: " )); OddNumber ( number ); EvenNumber ( number ); } private static void OddNumber ( int num ) { ...
package business.entities; public class Category { private String cat; public String getCat() { return cat; } public Category(String cat) { this.cat = cat; } }
package business.interfaces; import java.rmi.Remote; import java.rmi.RemoteException; import service.exceptions.DBWritingException; import service.exceptions.NotHereException; import business.entities.*; public interface ArticleMgt extends Remote { void addArticle(String name, String desc, int price, String ingr,...
package business.managers; import java.rmi.RemoteException; import java.util.ArrayList; import Articulo.src.business.entities.*; import Articulo.src.service.dataBase.*; import Articulo.src.business.entities.*; import Articulo.src.service.exceptions.*; import Articulo.src.*; /* import service.dataBase.BusinessConector...
package business.entities; public class Category { private String cat; public String getCat() { return cat; } public Category(String str){ this.cat = str; } public String toString(){ return "1"; } }
package business.entities; public class Ingredient { private String ingr; public String getIngr() { return ingr; } public Ingredient(String ingr) { this.ingr = ingr; } public String toString(){ return this.ingr; } }
package business.entities.categories; import business.entities.Category; public class Pizza extends Category{ public Pizza() { super("Pizza"); } }
package business.entities.categories; import business.entities.Category; public class Hamburguesa extends Category{ public Hamburguesa() { super("Hamburguesa"); } }
package business.entities.categories; import business.entities.Category; public class Bebida extends Category{ public Bebida() { super("Bebida"); } }
package Articulo.src.business.entities; import java.io.Serializable; public class Article implements Serializable { /** * */ private static final long serialVersionUID = 1L; private String name, descr; private int price, primaryKey; private Ingredient[] ingr; private Category cat; public String getName(...
package service.dataBase; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Statement; import service.exceptions.DBAlreadyRunningException; public class DataBase { private final static String JDBC_DRIVER = "com.mysql.jdbc.Driver"; private static final String ...
package service.dataBase; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import service.exceptions.BadQueryInputException; public class Query { private DataBase db; public Query(DataBase db) { this.db = db; } public ArrayList<Object[]> selectFromTable(String table, Str...
package service.dataBase; import java.sql.PreparedStatement; import java.sql.SQLException; import service.exceptions.DBInsertException; public class InsertData { private DataBase db; private PreparedStatement preparedStatment; public InsertData(DataBase db) { this.db = db; } public void insertIntoProd...
package service.dataBase; import java.util.ArrayList; import commons.business_db.interfaces.DBConnection; import business.entities.Article; import business.entities.Category; import service.exceptions.BadQueryInputException; import service.exceptions.DBAlreadyRunningException; import service.exceptions.DBWritingExce...
package service.dataBase; import java.sql.SQLException; import java.util.ArrayList; import service.exceptions.BadQueryInputException; import service.exceptions.DBAlreadyRunningException; import service.exceptions.DBInsertException; import service.exceptions.NotHereException; public class DBTester { /** * @param ...
package service.exceptions; public class DBAlreadyRunningException extends Exception { /** * */ private static final long serialVersionUID = 1L; public DBAlreadyRunningException(String str){ super(str); } }
package service.exceptions; public class EmptyDBException extends Exception{ /** * */ private static final long serialVersionUID = 1L; public EmptyDBException(String str){ super(str); } }
package service.exceptions; public class DBInsertException extends Exception { /** * */ private static final long serialVersionUID = 1L; public DBInsertException(String str){ super(str); } }
package service.exceptions; public class NotHereException extends Exception{ /** * */ private static final long serialVersionUID = 1L; public NotHereException(String str){ super(str); } }
package service.exceptions; public class BadQueryInputException extends Exception{ /** * */ private static final long serialVersionUID = 1L; public BadQueryInputException(String str){ super(str); } }
package service.exceptions; public class DBWritingException extends Exception{ /** * */ private static final long serialVersionUID = 1L; public DBWritingException(String str){ super(str); } }
package Articulo.src.view; import java.awt.BorderLayout; import java.awt.FlowLayout; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; public class Modificar2 extends JDialog { private final JPanel contentPanel = new JPanel(); /** * Launch...
package Articulo.src.view; import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; public class agr extends JFrame { private JPanel contentPane; /** * Launch the application. */ public static void main(String[] ar...
package Articulo.src.view; import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import java.awt.GridLayout; import net.miginfocom.swing.MigLayout; import javax.swing.JLabel; import javax.swing.JButton; import java.awt.ev...
package Articulo.src.view; import java.awt.BorderLayout; import java.awt.FlowLayout; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import java.awt.GridLayout; import javax.swing.JLabel; import java.awt.GridBagLayout; import java.awt.GridBag...
package Articulo.src.view; import java.rmi.RemoteException; import org.eclipse.jface.action.MenuManager; import org.eclipse.jface.action.StatusLineManager; import org.eclipse.jface.action.ToolBarManager; import org.eclipse.jface.window.ApplicationWindow; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Poi...
package Articulo.src.view; import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import net.miginfocom.swing.MigLayout; import javax.swing.JLabel; import javax.swing.JTextField; import javax.swing.JButton; import Artic...
package Articulo.src.view; import java.rmi.RemoteException; import org.eclipse.jface.action.MenuManager; import org.eclipse.jface.action.StatusLineManager; import org.eclipse.jface.action.ToolBarManager; import org.eclipse.jface.window.ApplicationWindow; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Poi...
package Articulo.src.view; import java.awt.BorderLayout; import java.awt.EventQueue; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JT...
package commons.business_aux; public class ArticleAux { }
package commons.business_db.interfaces; import business.entities.Article; import service.exceptions.DBWritingException; import service.exceptions.EmptyDBException; import service.exceptions.NotHereException; public interface DBConnection { public void articleToDB(Article art) throws DBWritingException; public Art...
package com.limk0032.a2048; import com.google.android.gms.ads.AdListener; import com.google.android.gms.ads.InterstitialAd; import android.annotation.SuppressLint; import android.app.Activity; import android.content.SharedPreferences; import android.content.pm.ActivityInfo; import android.content.res.Configuration; i...
class MyArrayList { private int[] MyArray; private int size; public MyArrayList(int value, int seed, int inc){ MyArray = new int[value]; size = value; for (int i = 0; i < size; i++) { MyArray[i] = seed; seed += inc; } } public void PrintList(){ for (int i = 0; i < size; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package first.activity; /** * * @author Students Account */ public class FirstActivity { /** * @param args the command line arguments */ public static void main(String[] args) { // TODO cod...
class MyArrayList{ private int[] MyArray; private int size; public MyArrayList(int value, int seed, int inc){ MyArray = new int[value]; size = value; for (int i = 0;i < size; i++) { MyArray[i] = seed; seed += inc; } } public void PrintList(){ for (int i = 0; i < size; i++) { ...
class MyArrayList{ private int[] MyArray; private int size; public MyArrayList(int value, int seed, int inc){ MyArray = new int[value]; size = value; for (int i = 0;i < size; i++) { MyArray[i] = seed; seed += inc; } } public void PrintList(){ for (int i = 0; i < size; i++) { ...
class Queue{ private int maxSize; private char[] queueArray; private int queueFront; private int queueRear; private int count; public Queue(int max){ maxSize = max; queueArray = new char[maxSize]; queueFront = 0; queueRear = maxSize - 1; count = 0; } /* Method for Enqueue */...
package Test; import static org.junit.Assert.*; import Spil.*; public class Test { @org.junit.Test public void testLandPåFelt() { Raflebaeger rafle = new Raflebaeger(); rafle.kastTerning(1, 1); assertEquals(250, rafle.udbetaltPenge()); rafle.kastTerning(1, 2); assertEquals(-200, rafle.udbetaltPen...
package Spil; import boundaryToMatador.*; public class Spil { private final int antalSpillere = 2; private int spillerNr; private int deltagerNr; private boolean gameOn = true; private String Tres = "", Vres = ""; public static void main(String[] args) { new Spil().start(); } public void ...
package Spil; import boundaryToMatador.GUI; public class Spiller extends Konto{ private String Navn; private boolean vinder; public Spiller (String Navn, int startbeløb){ super(startbeløb); this.Navn = Navn; GUI.addPlayer (this.Navn, super.visBalance()); //Tilføjer spiller i GUI this.vinder = false; } ...
package Spil; import boundaryToMatador.GUI; public class Raflebaeger { private int sum; private boolean ekstraSlag; private int penge; private String Besked; public void kastTerning(int terning1, int terning2) { ekstraSlag = false; GUI.setDice(terning1, terning2); sum = terning1 + terning2; //Summen af...
package Spil; public class Tekst { public static String Intro = "Dette terningespil er for 2 spillere."; public static String NySpiller = "Skriv navnet på spilleren du vil tilføje her:"; public static String Tur = "'s tur. "; public static String Kast = "Kast terningerne"; public static String EkstraTur = " har...
package Spil; public class Konto { protected int balance; protected boolean tabt; public Konto (int startbeløb) { this.balance = startbeløb; this.tabt = false; } public int visBalance() { return this.balance; } public boolean visTabt() { return this.tabt; } }
package Spil; import java.util.Random; public class Terning { private double d1; private int d2; public int slag() { Random generator = new Random(); d1 = generator.nextDouble() * 6; // 0.0 til 5.999999 - Ændring af terningen sker her! d2 = (int) d1 + 1; // 1 til 6 return d2; } }
class MyArrayList{ private int[] MyArray; private int size; public MyArrayList(int value, int seed, int inc){ MyArray = new int [value]; size = value; for(int i=0;i<size;i++){ MyArray[i]=seed; ...
public class HelloWorld { public static void main(String[] args) { int x; x=10; x+=2; x-=2; x*=2; x/=2; //System.out.println(x); if(x==20){ System.out.println("its 20"); } else{ System.out.println("its 20"); } } }
public class main { }
import javax.swing.*; public class Userinput { public static void main(String[] args) { String num =""; num = JOptionPane.showInputDialog( null, "Please enter your name"); if(num == null){ JOptionPane.showMessageDialog(null,"no name"); } else{ } JOptionPane.sh...
public class Main { public static void main(String[] args) { } }
import javax.swing.*; public class Calculator { public static void main(String[] args) { String num = ""; num = JOptionPane.showInputDialog( null, "Please enter an integer"); int x = Integer.parseInt(num); if(x%2 == 0){ JOptionPane.showMessageDialog(null,"the integer is even ")...
package model.ServeurXQuery; /** * @author AZRIA Nouriel * @version 1.0.0 * Nom de la classe : ServerBaseXUsedException * Description : Exception indiquant qu'un serveur BaseX ayant le meme port a deja ete initialise et non arrete. **/ public class ServerBaseXUsedException extends Exception{ public S...
package exemples_utilisation.serveur; import org.basex.*; import org.basex.core.*; import org.basex.core.cmd.*; import org.basex.server.*; /** * This class demonstrates database access via the client/server architecture. * * @author BaseX Team 2005-12, BSD License */ public final class ServerCommands { ...
package exemples_utilisation.serveur; import static org.basex.core.Text.*; import java.awt.*; import java.awt.event.*; import java.io.*; import javax.swing.*; import javax.swing.border.*; import org.basex.*; import org.basex.server.*; import org.basex.util.*; /** * This class tests the event mechan...
package exemples_utilisation.serveur; import java.io.*; import org.basex.*; import org.basex.core.*; import org.basex.core.cmd.*; import org.basex.server.*; /** * This class sends a query to a database server instance. * The query result is used to create and query a local database. * For more informatio...
package exemples_utilisation.local; import org.basex.core.*; import org.basex.data.*; import org.basex.query.*; /** * This example demonstrates how items can be bound to variables with * the XQuery processor. * * @author BaseX Team 2005-12, BSD License */ public final class BindVariables { /** * Runs ...
package exemples_utilisation.local; import java.io.*; import org.basex.core.*; import org.basex.core.cmd.*; import org.basex.data.*; import org.basex.io.serial.*; import org.basex.query.*; import org.basex.query.iter.*; import org.basex.query.value.item.*; /** * This example demonstrates three variants ...
package exemples_utilisation.local; import org.basex.core.*; import org.basex.data.*; import org.basex.query.*; /** * This example demonstrates how items can be bound as context item of * the XQuery processor. * * @author BaseX Team 2005-12, BSD License */ public final class BindContext { /** * Runs t...
package exemples_utilisation.local; import org.basex.core.*; import org.basex.core.cmd.*; import org.basex.query.QueryException; import org.basex.query.QueryProcessor; /** * This class demonstrates database creation and dropping. * It then shows how to add indexes to the database and retrieve * some informa...
/* * Copyright (c) 2012 xqj.net. All rights reserved. */ package net.xqj.basex.examples; import javax.xml.xquery.XQDataSource; import javax.xml.xquery.XQConnection; import javax.xml.xquery.XQPreparedExpression; import javax.xml.xquery.XQResultSequence; import javax.xml.xquery.XQException; import javax....
/* * Copyright (c) 2012 xqj.net. All rights reserved. */ package net.xqj.basex.examples; import javax.xml.xquery.XQDataSource; import javax.xml.xquery.XQConnection; import javax.xml.xquery.XQExpression; import javax.xml.xquery.XQResultSequence; import javax.xml.xquery.XQException; import net.xqj.basex....
/** * Copyright (c) 2012 xqj.net. All rights reserved. **/ package net.xqj.basex.examples; import javax.xml.xquery.XQDataSource; import javax.xml.xquery.XQPreparedExpression; import javax.xml.xquery.XQException; import javax.xml.xquery.XQItem; import javax.xml.namespace.QName; import net.xqj.basex.BaseX...
package net.xqj.basex.examples.functions; import javax.xml.xquery.XQDataSource; import javax.xml.xquery.XQException; import net.xqj.basex.BaseXXQDataSource; import com.xqj2.XQConnection2; /** * InvokingModuleFunctions.java * Invokes XQuery Functions from Java "as if" they were regular Java methods. * * This topic...
package net.xqj.basex.examples.functions; /** * Java interface which represents the XQuery functions found in example.xqm **/ public interface Example { public boolean containsAnyOf(String arg, String... searchStrings); public int wordCount(String arg); public float multiply(float a, float b); }
/* * Copyright (c) 2012 xqj.net. All rights reserved. */ package net.xqj.basex.examples; import javax.xml.xquery.XQDataSource; import javax.xml.xquery.XQConnection; import javax.xml.xquery.XQExpression; import javax.xml.xquery.XQResultSequence; import javax.xml.xquery.XQException; import java.io.PrintWriter; impo...
package cx.hell.android.pdfview; import java.io.File; import java.io.FileFilter; import java.io.IOException; import java.util.Arrays; import java.util.Comparator; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.os.Environment; i...
package cx.hell.android.pdfview; import java.io.IOException; import java.io.InputStream; import android.util.Log; import android.widget.ProgressBar; public class StreamUtils { public static byte[] readBytesFully(InputStream i) throws IOException { return StreamUtils.readBytesFully(i, 0, null); } ...
package cx.hell.android.pdfview; import java.io.File; import java.io.FileDescriptor; import java.util.List; import cx.hell.android.lib.pagesview.FindResult; /** * Native PDF - interface to native code. */ public class PDF { static { System.loadLibrary("pdfview2"); } /** * Simple s...
package cx.hell.android.pdfview; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import android.graphics.Bitmap; import android.util.Log; import cx.hell.android.lib.pag...
package cx.hell.android.pdfview; import java.io.File; import java.io.FileDescriptor; import java.io.FileNotFoundException; import java.util.List; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.ContentResolver; import android.content.DialogInterface; impo...
package cx.hell.android.pdfview; import java.io.BufferedInputStream; import java.io.IOException; import java.io.InputStream; import android.app.Activity; import android.os.Bundle; import android.webkit.WebView; /** * Displays "About..." info. */ public class AboutPDFViewActivity extends Activity { ...
package cx.hell.android.pdfview; /** * High level user-visible application exception. */ public class ApplicationException extends Exception { private static final long serialVersionUID = 3168318522532680977L; public ApplicationException(String message) { super(message); } }
/* * Copyright 2010 Ludovic Drolez * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is d...
package cx.hell.android.lib.pagesview; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.graphics.Bitmap; import android.graphics.Canvas; i...
package cx.hell.android.lib.pagesview; import java.util.Map; import android.graphics.Bitmap; /** * Allow renderer to notify view that new bitmaps are ready. * Implemented by PagesView. */ public interface OnImageRenderedListener { void onImagesRendered(Map<Tile,Bitmap> renderedImages); void onRender...
package cx.hell.android.lib.pagesview; import java.util.Collection; import android.graphics.Bitmap; /** * Provide content of pages rendered by PagesView. */ public abstract class PagesProvider { /** * Get page image tile for drawing. */ public abstract Bitmap getPageBitmap(Tile tile); /...
package cx.hell.android.lib.pagesview; /** * Tile definition. * Can be used as a key in maps (hashable, comparable). */ public class Tile { /** * X position of tile in pixels. */ private int x; /** * Y position of tile in pixels. */ private int y; private int zoom; private in...
package cx.hell.android.lib.pagesview; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import android.graphics.Rect; import android.util.Log; /** * Find result. */ public class FindResult { /** * Logging tag. */ public static final String TAG = "cx.hell.andr...
package cx.hell.android.lib.pagesview; public class RenderingException extends Exception { private static final long serialVersionUID = 1010978161527539002L; public RenderingException(String message) { super(message); } }
/** * CS 2110 Summer 2014 HW2 * Part 3 - Coding a bit vector * @author Catherine Chapman * * *** NOTE: The rules are different for each java file! *** * * This class represents a bit vector, which is 32 bits which can be manipulated through * the use of the methods that this class provides. * * The only th...
/** * CS 2110 Summer 2014 HW2 * Part 1 - Coding with bases * @author Catherine Chapman * * *** NOTE: The rules are different for each java file! *** * * You may not use any of the following: * - Any functions found in Java libraries (especially the Math library) * - Example Math.pow, Integer.bitCount, Str...
/** * CS 2110 Summer 2014 HW2 * Part 2 - Coding with bitwise operators * @author Catherine Chapman * * *** NOTE: The rules are different for each java file! *** * * The only things you are allowed to use in your code are the following: * - The bitwise operators |, &, ~, ^, <<, >> * - Increment and Dec...
import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java.io.FileNotFoundException; import java.io.PrintWriter; import java.lang.reflect.Field; import javax.swing.Timer; /** * Tester for CS 2110 Homework 2 * Spring 2014 * * @author Andrew Wilder * @v...
public class Calculatorall { }
public class Integer { }
public class HelloWorld { public static void main(String[] args){ int x=10; x+=2; x-=2; x*=2; x/=2; x = x%2; //System.out.println(x); if(x==20){ System.out.println("Its 20"); } else{ System.out.println("Its not 20"); } } }
public class main { public static void main(String[] args){ } }
import javax.swing.*; public class Userinput { public static void main(String[] args) { String num =""; num = JOptionPane.showInputDialog( null, "Please enter your name:"); if (num == null){ JOptionPane.showMessageDialog(null, "No Name"); }else{ JOptionPane.showMessageDialog(null, "...
import javax.swing.*; public class Calculator { public static void main(String[] args) { String num =""; num = JOptionPane.showInputDialog( null, "Please enter your name:"); int a= Integer.parseInt(num); if (a%2==0) { JOptionPane.showMessageDialog(null, "Even"); }...
package ticks.PID; /** * The RobotMap is a mapping from the ports sensors and actuators are wired into * to a variable name. This provides flexibility changing wiring, makes checking * the wiring easier and significantly reduces the number of magic numbers * floating around. */ public class RobotMap { ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ticks.PID.commands; /** * * @author Jared */ public class ArmWithPotentiometer extends CommandBase { public ArmWithPotentiometer() { requires(CommandBase.armPid); // Use...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ticks.PID.commands; import edu.wpi.first.wpilibj.command.CommandGroup; import edu.wpi.first.wpilibj.command.PrintCommand; import edu.wpi.first.wpilibj.command.WaitCommand; /** * * @author Jared ...
package ticks.PID.commands; import edu.wpi.first.wpilibj.command.Command; import ticks.PID.OI; import ticks.PID.subsystems.BetterPID; import ticks.PID.subsystems.Drive; /** * The base for all commands. All atomic commands should subclass CommandBase. * CommandBase stores creates and stores each control s...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ticks.PID.commands; /** * * @author Jared */ public class ArmSetpoint extends CommandBase { public static double Scoring = 0.7; //Some preset positions--NOTE THE STATIC KEYWORD!!! public s...
package ticks.PID; import edu.wpi.first.wpilibj.DriverStation; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.buttons.JoystickButton; import ticks.PID.commands.ArmSetpoint; /** * This class is the glue that binds the controls on the physical operator * interface to the commands and c...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ticks.PID.subsystems; import edu.wpi.first.wpilibj.DigitalInput; import edu.wpi.first.wpilibj.command.Subsystem; import java.util.TimerTask; /** * * @author Jared */ public class Arm extends Su...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ticks.PID.subsystems; import edu.wpi.first.wpilibj.CounterBase; import edu.wpi.first.wpilibj.Encoder; import edu.wpi.first.wpilibj.PIDSource; import edu.wpi.first.wpilibj.SpeedController; import edu.wp...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ticks.PID.subsystems; import edu.wpi.first.wpilibj.Encoder; import edu.wpi.first.wpilibj.Jaguar; import edu.wpi.first.wpilibj.PIDController; import edu.wpi.first.wpilibj.PIDOutput; import edu.wpi.first...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ticks.PID.subsystems; import edu.wpi.first.wpilibj.DriverStation; import edu.wpi.first.wpilibj.Gyro; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.PIDOutput; import edu.wpi.first....
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ticks.PID; import edu.wpi.first.wpilibj.Timer; import edu.wpi.first.wpilibj.camera.AxisCamera; import edu.wpi.first.wpilibj.camera.AxisCameraException; import edu.wpi.first.wpilibj.image.BinaryImage; i...
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory...