import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; ...
Java MySQL code
by vikasvrao,
May 23, 2008 18:27,
2 refactorings
import java.util.Scanner; public class AsciiSquare ...
Java ascii square
by kefestetayyus.blogspot.com,
May 09, 2008 12:44,
5 refactorings, tagged with ascii, java, square, basic
Simply prints a square with...
public PreviewTreeModel(Collection<FileDescription> files)
{
...
Java Create a tree out of a coll...
I would like to transform a...
/**
* warning performs a cartesian product
* @param list of NameAddress objects
...
Java clean up nested loops?
by getopenid.com/garretokelly,
January 16, 2008 21:10,
6 refactorings
Given a list of NameAddress...
public class Car {
public static class Builder {
...
Java Fluent Builder
by Jeremy Weiskotten,
December 24, 2007 02:56,
2 refactorings, tagged with java, fluent interface, builder
Here's an example of the Bu...
/** * ================================================================ * Enterprise Managerial ...
Java Widget Mirror
by fenix,
December 09, 2007 15:03,
No refactoring, tagged with mirrored, Widget, QWidget, Widget Mirror
Hi at all, I try to reply a...
GridBagConstraints c = new GridBagConstraints(); c.insets.bottom = 2; c.insets.top = 2; ...
Java Swing GridBagLayout in calc...
Writing a calculator type a...
import java.util.Scanner; import java.util.Arrays; ...
Java Incompatible Types
by splinter03.myopenid.com,
November 10, 2007 12:44,
2 refactorings
It has some problems incomp...
public class Space {
private int count;
private String varStr;
...
Java Cannot Ref from Static Content
by Mark Webb,
November 09, 2007 14:45,
7 refactorings
If anyone can tell me what ...
package net.alessandropetrozzelli; class InvalidISINCharacterException ...
Java ISIN check digit
based on http://en.wikipedi...
public class SchoolRoom {
private String [] students;
...
Java Help with new methods
by Mark Webb,
November 06, 2007 07:28,
6 refactorings
Having some trouble with th...
import java.util.Scanner; import static java.lang.Math.*; ...
Java Rational numbers
by jujon.myopenid.com,
November 06, 2007 05:13,
4 refactorings
I'm trying to define a clas...
public class Bus {
private String TYPE;
private int MAX_RANGE;
...
Java Equals Method
by splinter03.myopenid.com,
November 05, 2007 11:53,
18 refactorings
Hi all,
Ive been doing ...
public class Parks {
private String[] parkingBays;
private int numCars;
...
Java Errors With Exception
by Mark Webb,
November 05, 2007 07:03,
4 refactorings
It compiles, although when ...
/** * This is a method which will gather the pixels * of the 8 pixels surrounding a given pixel ...
Java Detect neighboring pixels
by Mike,
October 26, 2007 04:21,
5 refactorings
I hate written a method to ...
import java.io.BufferedReader; import java.io.File; import java.io.FileReader; ...
Java Email addresses validator
by Hbiloo,
October 11, 2007 11:08,
5 refactorings
This class validates email ...
import java.util.Arrays; ...
Java Fastest way to sort doubles...
by tech.povera.myopenid.com/,
October 02, 2007 03:16,
4 refactorings
I want the quickest possibl...
import java.util.Calendar; import java.util.Date; import java.text.ParseException; ...
Java Parse a Calendar object fro...
by cheep,
October 01, 2007 16:22,
2 refactorings
This code depends on parsin...
public static long randomNumber(int min, int max) {
return Math.round((Math.random() * (max - min)) + min);
}
Java Get a random number within ...
by diskostu,
October 01, 2007 00:50,
42 refactorings
The title sais it: you'll g...
if (uniqueNumberInteger != null)
{
// Info: Based on the last digit of a listing number we know whether a listing is
...
Java Job, Product, Resume
by Joe,
September 28, 2007 01:45,
2 refactorings
These if/thens for Job, Pr...
I'm using this as the core ...