This week's book giveaways are in the Angular and TypeScript and Web Services forums.
We're giving away four copies each of Programming with Types and The Design of Web APIs and have the authors on-line!
See this thread and this one for details.
Win a copy of Programming with Types this week in the Angular and TypeScript forum
or The Design of Web APIs in the Web Services forum!

Padma priya Gururajan

Ranch Hand
+ Follow
since Oct 05, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
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 Padma priya Gururajan

Hi,

I have a doubt in Generics in the line marked 1
public class Box<T> {

private T t; //line 1

public void add(T t) {
this.t = t;
}

public T get() {
return t;
}

public static void main(String[] args) {
Box<Integer> integerBox = new Box<Integer>();
Box<String> stringBox = new Box<String>();

integerBox.add(new Integer(10));
stringBox.add(new String("Hello World"));

System.out.printf("Integer Value :%d\n\n", integerBox.get());
System.out.printf("String Value :%s\n", stringBox.get());
}
}

Can you explain what line 1 mean?
I understand that T is the type parameter.

Thanks.
Padma priya N.G.


5 years ago
Hello,

For integrating Maven with Eclipse, Do I need to install M2Eclipse.

Thanks,
Padma priya N.G.
5 years ago
Hi,

I have a doubt in onChange() event. On the selection of the value in the search box, the user should be displayed data dynamically from the database.
Can you tell how to do

Thanks,
Padma priya N.G.
Hello,

I could see that the method int compare(Object e1,Object e2) compares two objects. But, I want to compare 100 objects from a collection. How can I do that?

Thanks
5 years ago
Hello,

Sorry,I want to sort a collection of 100 objects.
5 years ago
Hello,

I want to compare 100 objects of the same class.
5 years ago
Hello,

Is it possible to compare 100 objects using comparator interface in java?

Thanks
Padma priya N.G.
5 years ago
Hello,

Is file.txt an empty file created?

Thanks.
5 years ago
Hello,

While executing a test case, I got the following test case.

Exception occurred executing command line.
Cannot run program "C:\Program Files\Java\jdk1.7.0\jre\bin\javaw.exe" (in directory "C:\Users\padmapng\Sequent\sequent-api-private-ws"): CreateProcess error=206, The filename or extension is too long


Can you tell what is the error.
I tried giving the jdk path. Still, the error is there.

Thanks,
Padma priya N.G.
6 years ago
Hello,


I have a doubt on the submit element. In the below code, how does the onClick attribute work?


<input type="submit" size="20" class="login-box-submit" onclick="$('#messageBox').html('');$('#errMsg').html('');"
value="<fmt:message key="login.form.loginbutton" />"


Thanks,
Padma priya N.G.




I have changed the code. Still, I am getting the null pointer exception in the line marked bold. what should be done?


public LoadConfigurations(CouchDbConnector couchDbConnector) {
System.out.println("Loading configurations....!!");

Configuration configuration = couchDbConnector.find(
Configuration.class,"MASTER_CONFIGURATIONS");
if(configuration==null){
System.out.println("Null");
}
else
{
masterConfigurations = configuration.getConfigurations();

}

}
6 years ago
Hello,

I have changed the code. Still, I am getting the null pointer exception in the line marked bold. what should be done?


public LoadConfigurations(CouchDbConnector couchDbConnector) {
System.out.println("Loading configurations....!!");

Configuration configuration = couchDbConnector.find(
Configuration.class,"MASTER_CONFIGURATIONS");
if(configuration==null){
System.out.println("Not Null");
}
else
{
masterConfigurations = configuration.getConfigurations();

}

}
6 years ago
Hello,

I am getting null pointer exception in the following line marked bold. I have checked for null as I was getting null pointer exception. Still, I am getting the null pointer exception.




Thanks,
Padma priya N.G.
6 years ago
Hi,


Can I check for an anyclass=="null"? Is that allowed?

Regards,
Padma priya N.G.
6 years ago
Both the applications have dynamic web projects. They can be run alone. How can one application access another application?
6 years ago