Search:
Type: Posts; User: v.z.afzal@dundee.ac.uk
Search:
Search took 0.04 seconds.
-
August 27th, 2010, 10:25 AM
Good point keang, use that instead.
-
August 27th, 2010, 10:06 AM
Come on there's no need for that tone.
-
August 27th, 2010, 10:04 AM
String [] sections = "CP GF FGT LEDGER".split(" ");
String finalString ="";
for(int i=0 ; i<sections.length-1 ; i++){
finalString += " " + sections[i];
}
finalString = finalString.trim();
-
August 27th, 2010, 10:00 AM
Split each of your strings using split(" ");
Add each element to a map/list
Then just do a comparison of the two lists/maps.
Thanks,
Vackar
-
August 23rd, 2010, 04:02 AM
Hi,
I wouldn't read to much into what the author is saying. It appears he is using an analogy to describe the process in a way that most unix users might understand.
Piping basically lets you...
-
August 18th, 2010, 08:53 AM
Generate a power set for each one, then remove duplicates.
Here's some code to generate power sets:
public class CombinationSet<T> {
List<T> elements = new ArrayList<T>();...
-
July 26th, 2010, 06:23 AM
No, what I mean is does it come with some kind client ajax library that automatically integrates with your maplet stuff.
The reason I'm asking is that there are hundreds of web frameworks to...
-
July 21st, 2010, 07:12 AM
run
Class c = Class.forName(userDir.replace("\\", ".") + "." + "Page");
if this doesn't work, user dir may have something funny at the start of the string (i.e. c:\\), if it does just strip it...
-
July 21st, 2010, 03:32 AM
Hey, I have a question. Does you maplet stuff allow you to use ajax?
-
July 19th, 2010, 11:03 AM
There is a framework called Milton that I've used for SSL + webdav, I think it has FTP SSL Support as well. have a look (http://milton.ettrema.com/index.html)
-
July 19th, 2010, 10:38 AM
In your method
public void tree3Loop(){
for(int k=0;k<clusterList3.size();k++)
{
buildTree3();
System.out.println(k);
clusterList3.remove(k);
}
-
July 19th, 2010, 10:21 AM
Quick question, are you calling your classes/methods a,b,c etc or has this been run through an obfuscator?
-
July 19th, 2010, 10:18 AM
From you code it looks like you only need to access the father object in yout nextSibling method. So you need code something like:
class MyNode
{
private MyNode father;
-
July 12th, 2010, 09:28 AM
Wow, you're going all out with your advertising. I think this is the third thread I've seen you advertising in.
Wonder if it'll start a trend.
-
My advice: Model you system to reflect your use case. If it isn't working your model's wrong.
As suggested before, you can maintain a referemce in the child object to the parent that instantiated...
-
If you just need a 'file' to read from use db4o. (Or some other lightweight non-sql relational db)
Relational modeling, CRUD optomisations etc will not add to anything your attempting to do.
If...
-
If the aim of your project is to learn java (and not RDBMS administration, SQL etc) and nothing else, then you may want to start with a simpler project.
If you really want to use this as your...
|
Click Here to Expand Forum to Full Width
|