prem pillai

Ranch Hand
+ Follow
since Nov 02, 2007
prem likes ...
Opera Java
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
10
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by prem pillai

What would have happened if all the people in the world had the same name.
13 years ago
And welcome to JavaRanch
13 years ago
Lin Xin , two things;

1)Try to avoid giving direct answers. Direct answers won't really help to learn.
2)Huan Shern Tang , was asking how to override and not
13 years ago
And welcome to JavaRanch
13 years ago

Point1D is not abstract and does not override abstract method computeDistance() in Point



Notice what compiler says ... its saying you haven't overidden the abstract method computeDistance() ... Have a close look at the signature of the abstract method in your base class and the computeDistance(..) method you have implemented in your child class. If you are not able to find the difference , then you might want to have a look at how overriding works.

13 years ago
Load the file in to a map with your index number as the key and voice file name as the value. Then lookup the map using your input value tokens (cvalue , c1 value etc) ....

Just add , the code you have written is too raw and buggy.. check how you can imrpove it.
13 years ago

but I need an expression that does what I explained in my opening post.



Why are you insisting that it should be done using a regex ? If you are not comfortable with regexes , why don't you have a look at other options to break up your string? There are options available in java.lang.String class itself. Why dont you give it a try ... in the simple way first.

13 years ago
have a look at java.util.regex.Matcher ....
13 years ago

Rauf Khan wrote:I cannot create a Customer class. Am getting the data from the third party



Rauf , for integrating your system with a thirdparty system, the first thing you need is a contract defining how these two systems are going communicate each other and what should be the structure of the data.. This is true even in case you are just using just thirdparty library- there the contract may just an API exposed by the thirdparty library... Are you saying that you don't this information with you ? If so thats not a very encouraging situation ...

13 years ago
Welcome to JavaRanch



I would probably create a Customer class and Address class and then may be use "instanceof" operator, rather than what is shown in your code.
13 years ago

Log4j is raising the below warnig for your configuration



As mentioned by Christophe Verré, that space in the logger name is the problem. log4j does not ingore it. I have removed the space and tried ..its logging correctly to the log file.

Do you have a console appender configured in your xml? That may be the reason why log statements are going to the console.
13 years ago
What is the version of log4j that you are using ?
13 years ago

ssasi kumar wrote:hi,
normally we are using ArrayList Operations performed in ArrayList Class. but i asked in these ArrayList Class operations are performed in normal java concepts without ArrayList Class Functions.... that solve...



Are you asking how to implement a List datastructure ? Why do you want to do that ?
13 years ago
may be you can reverse your input & regex and then match.

Why do you want to do a reverse lookup ?
13 years ago
When you say batch java programs , what do you mean? What do they do in general? Are they all doing similar tasks? How do you schedule them currently? Are you using multi threading in these programs?

Ongoing maintenance can be a hassle since searching Jar files is not easy.

What is the process of deploying these jar file currently? How to you manage production rollouts/releases/upgrades currently?

Provide all these information to us? Without which it would be difficult to say something ?
13 years ago