Wednesday, August 26, 2015
Advice in spring
Monday, August 24, 2015
Hashcode in java
What is the use of hashcode in java.
Hashcode is very important in java . in object class , you will have a method hashcode , which will give the hashcode of an object.
aspect in spring
Sorting list contents
List content is sorted using Collections.sort(listObject,comparatorObject);
For example if have list of Student object and you want to sort it, then you need to create a new object of type Comparator. The logic of comparision is written in
int compare(Object object1,Object object2)
While overriding compare method you need to return the following :
Positive integer : if object 1 > object 2
Negative integer : if object 2> object 1
Zero : if object 1 = object 2
This logic will allow your list to be sorted in ascending order.
Tuesday, May 5, 2015
Public key private key certificate
public key is the one which is shared , l can share my public key to you . Suppose you want to send a document to me .So you can encrypt it using a public key . Once it reaches me I can decrypt it using a private key . If the document is delivered to an unknown person he cannot decrypt it since he does not have the private key .
Tuesday, April 28, 2015
org.omg.CORBA.COMM_FAILURE: CAUGHT_EXCEPTION_WHILE_CONFIGURING_SSL_CLIENT_SOCKET
JSSL0080E:javax.net.ssl.SSLHandshakeException
-
Hi Guys , In this blog I will share information related to error : can't bind to 'formcontrol' since it isn't a known pr...
-
Hi Guys , This blog is about the error " Target container is not a DOM element. " The full error in the console log is ...
-
Error Blog This blog is about the error Error: Objects are not valid as a React child Problem Statement error on start of...