1
2
3
4
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
...

Java On Separate thread logic from ...

by Stefan Vartolomeev, September 02, 2010 11:39
Avatar Talk
1
2
3
4
package refactor.engine;

import java.util.regex.Matcher;
...

Java On Refactor, fix and optimize ...

by stef-vartolomeev.myopenid.com, September 01, 2010 14:14
Avatar Talk
1
2
3
4
    final private static BidiMap<String,DataType> table = new TreeBidiMap<String,DataType>();
    
    ///..
...

Java On Access HashMap key by value

by Ryan Clemson, August 30, 2010 02:34

You could also use BidiMap ...

D5dde52ca7e5b92e55cbc9bbb160b26f Talk
1
2
3
4
Pattern classPattern = Pattern.compile("-?[_a-zA-Z]+[_a-zA-Z0-9-]*");	

for (Map.Entry<String, String> entry : chromeCssProps.entrySet()) {
...

Java On Validate CSS classnames in ...

by Stefan Vartolomeev, August 29, 2010 16:54

Your code for matching (Lin...

Avatar Talk

Java On Access HashMap key by value

by Marco Valtas, August 25, 2010 19:58 Star_fullStar_fullStar_fullStar_fullStar_full

You're looking for a bidire...

0706636fd5e30fa66019d7ffacdb5b11 Talk
1
2
3
4
for (Map.Entry<String, String> entry : chromeCssProps.entrySet()) {
	String property = entry.getValue();

...

Java On Validate CSS classnames in ...

by MetroidFan2002, July 31, 2010 18:45

The code seems incorrect - ...

60929e8e0445f0070e501f5ded8ad348 Talk
1
2
3
4
public class PackageStack {

	private LinkedList<String> basePackages;
...

Java On Get a package name or packa...

by lszydlo, July 15, 2010 09:53

It is hard to refactor with...

Avatar Talk

Java On Limiting two arguments to t...

by Ryan, July 04, 2010 08:09

I don't see how the check i...

Avatar Talk

Java On replace by tag

by Jeff Grigg, May 12, 2010 00:16

I might use "[^<]*" instead...

77af2a7611f8488edae85277498498f7 Talk

Java On replace by tag

by Jeff Grigg, May 12, 2010 00:16

I might use "[^<]*" instead...

77af2a7611f8488edae85277498498f7 Talk

Java On Efficiently load a text fil...

by Matt, April 10, 2010 18:34

Bleh...

Ae8489eb86685b95cf1bd02ca19373f1 Talk

Java On my shapes program

by fevelyn, March 22, 2010 02:24

paanu

7b1cb9bb054b945228328bcf976e9660 Talk
1
2
3
4
Query execute = new Query("{any select or pl/sql}",
                          // Inputs and Outputs are for bind variables.
                          new SQL.Inputs(Integer.class, ...),
...

Java On Repetitive code to interact...

by nicerobot, March 15, 2010 21:40 Star_fullStar_fullStar_fullStar_fullStar_full

I think you're actually ask...

7f69b0a9f0a030c37dca69736abb9f39 Talk
1
2
3
4
try{
	res = LB + (r.nextInt(UB - LB));
}catch(IllegalArgumentException num){
...

Java On Guessing Game

by Eunseok, March 05, 2010 03:45

Your Program Source is happ...

336dc9b9daa024d7c1733ba039ea200d Talk

Java On Get a random number within ...

by Canvas Prints, March 02, 2010 15:41

Yes I thought that it would...

5d2dab841e4379fda992ef07a7ac4308 Talk
1
2
3
Obj lookup(String name) {
...

Java On Linked list traversal, comp...

by foo, March 01, 2010 00:38
Avatar Talk
1
2
3
File mydir = new File("C:\\mydir");
File myfile = new File("C:\\mydir\\path\\myfile.txt");
System.out.println(mydir.toURI().relativize(myfile.toURI()).getPath());

Java On get path of a File relative...

by Andy Roberts, January 21, 2010 15:42

There's some code on StackO...

Avatar Talk

Java On Factoring Integers

by yma, January 19, 2010 11:44

If i call hasMoreFactors() ...

468801491c148e645fe6e5109bae6038 Talk

Java On Rational numbers - Problem :/

by Ants, January 07, 2010 08:12

Huh? lessThanOrEqual() does...

F9a9ba6663645458aa8630157ed5e71e Talk

Java On Refactor my brute forcer!

by Sly, December 15, 2009 20:23

add a synchronized method l...

Avatar Talk

Java On Test

by suhasj.myopenid.com, December 04, 2009 05:58

test

69dc496c749724ca4ca9faf94b1316d4 Talk

Java On Problem with Permutation Class

by Ants, November 07, 2009 04:11

Well... line 11 says you ar...

F9a9ba6663645458aa8630157ed5e71e Talk

Java On Rational numbers

by dragon, October 29, 2009 22:20

please help me with this pr...

487d355c629ea7255e3dace05a800036 Talk

Java On FactorGenerator Class &...

by b-kovar.myopenid.com, October 22, 2009 20:52

nah never mind I got it wit...

Avatar Talk
1
2
3
4
    // NOTE: Compiling the 'input.sch' is needed only once.
    private final Transformer transformer = compileTransformer();
    
...

Java On Multiple XSLT for Schematro...

by zetafish, October 09, 2009 14:15

Compiling the schematron fi...

220a1ce7a99b513ece2aca0f6d4688c7 Talk