Java On Detect neighboring pixels

by dreamhost promo code, February 05, 2008 19:17

Thanks, was very useful for...

4a953ddd872a2ee99a62c92721a2104a Talk
1
2
3
java.util.Arrays.sort(cArray);
...

Java On clean up nested loops?

by Marco Valtas, January 25, 2008 00:30

I think you can remove the ...

B8d457d2c39911ea4c74ba7d66b9c3f7 Talk
1
2
3
4
public class Car {

    public static class Builder {
...

Java On Fluent Builder

by askalon, January 23, 2008 21:02

A little bit shorter version.

Avatar Talk
1
2
3
4
    public Collection findAllDuplicates(List<NameAddress> list, int threshold) {
        Collection<NameAddress> duplicates = new HashSet<NameAddress>();
        
...

Java On clean up nested loops?

by Gavin, January 23, 2008 11:40

Slight improvements on prev...

Avatar Talk
1
2
3
    public Collection findAllDuplicates(List<NameAddress> list, int threshold) {
...

Java On clean up nested loops?

by armandino.myopenid.com, January 19, 2008 04:33

I haven't tested this prope...

2155c92be66863c4634778bf522efe14 Talk
1
2
3
4
    public Collection findAllDuplicates(List list, int threshold) {
    	List duplicates = new ArrayList();

...

Java On clean up nested loops?

by frznn, January 19, 2008 03:01

Maybe without the "continue...

Avatar Talk

Java On clean up nested loops?

by getopenid.com/garretokelly, January 17, 2008 22:00

Thanks Jeremy... toArray()...

Avatar Talk
1
NameAddress[] entries = (NameAddress[]) list.toArray(new NameAddress[list.size()]);

Java On clean up nested loops?

by Jeremy Weiskotten, January 17, 2008 19:42 Star_fullStar_fullStar_fullStar_full

One thing you can do easily...

5170ca260dbd2cdfd5a887a4dba7636f Talk
1
2
3
4
class HelloWorld
{
   public static void main(String args[])
...

Java On Hello World

by Tim, December 16, 2007 14:38
Avatar Talk
1
2
3
4
public boolean equals(Object obj)
{
...

Java On Equals Method

by armandino.myopenid.com, December 08, 2007 07:13

I usually implement equals ...

2155c92be66863c4634778bf522efe14 Talk
1
5/8 - 5/6 = 

Java On Rational numbers

by denny, November 27, 2007 15:39
Fca79a658b492313ca693685f05a0825 Talk
1
2
3
4
GridBagConstraints c = new GridBagConstraints();
c.insets.bottom = 2;
c.insets.top = 2;
...

Java On Swing GridBagLayout in calc...

by Andy, November 26, 2007 23:45 Star_fullStar_fullStar_fullStar_full

Sorry, I left out a closing...

Avatar Talk
1
2
3
4
GridBagConstraints c = new GridBagConstraints();
c.insets.bottom = 2;
c.insets.top = 2;
...

Java On Swing GridBagLayout in calc...

by Andy, November 26, 2007 23:38

Here's a version without th...

Avatar Talk

Java On Help with new methods

by anton, November 22, 2007 01:29

this is homework

Avatar Talk
1
2
3
4
		GridBagConstraints c = new GridBagConstraints();
		c.insets.bottom = 2;
		c.insets.top = 2;
...

Java On Swing GridBagLayout in calc...

by Elij, November 21, 2007 05:08 Star_fullStar_fullStar_full

I've demonstrated using fal...

4d72203c38dd5f3e3d2d446b5888e8a7 Talk
1
2
3
4
// if (o == null || !(o instanceof Bus))

if (!(o instanceof Bus))
...

Java On Equals Method

by Jeremy Weiskotten, November 16, 2007 19:58

null is not an instanceof Bus.

5170ca260dbd2cdfd5a887a4dba7636f Talk
1
2
3
4
public class Space {
    private int count;
    private String varStr;
...

Java On Cannot Ref from Static Content

by Pat, November 13, 2007 22:11

Please also take a look at ...

Avatar Talk
1
2
3
4
public class Bus {

	private String type = "School";
...

Java On Equals Method

by olivier.fayau.myopenid.com, November 13, 2007 00:15

You should explain what you...

Avatar Talk
1
2
3
4
package net.alessandropetrozzelli;

public class Isin {
...

Java On ISIN check digit

by olivier.fayau.myopenid.com, November 12, 2007 23:42 Star_full

Found on german wikipedia :...

Avatar Talk

Java On Incompatible Types

by Marco Valtas, November 10, 2007 15:01

Hi, here some explanation o...

B8d457d2c39911ea4c74ba7d66b9c3f7 Talk
1
2
3
4
import java.util.Scanner;
import java.util.Arrays;

...

Java On Incompatible Types

by nyilas, November 10, 2007 13:17
B66a44afb9e9f617e73489719a0003a0 Talk

Java On Cannot Ref from Static Content

by Marco Valtas, November 10, 2007 02:20

Mark,
I see you are beginn...

B8d457d2c39911ea4c74ba7d66b9c3f7 Talk

Java On Cannot Ref from Static Content

by Vime, November 09, 2007 15:24

But I didn't change the con...

90ec841f866ac35c4ce90ee3cfffbdc3 Talk

Java On Cannot Ref from Static Content

by Mark Webb, November 09, 2007 15:17

A way to make the class wor...

E41e6fdad12edcfb97ab662e83bfb9ab Talk

Java On Cannot Ref from Static Content

by Vime, November 09, 2007 15:07

I don't understand, what do...

90ec841f866ac35c4ce90ee3cfffbdc3 Talk