private static int getNoOfMismatchedObjects(
			Vector<SerializableObject> serList,
			Vector<SerializableObject> deSerList) {
		
		int mismatchedCount = 0;
		
		// TODO Auto-generated method stub
		
		if(serList == null || deSerList == null){
			return -1;
		}
		
		if(serList.size() != deSerList.size()){
			return -1;
		}
		
		for(int i=0;i<serList.size();i++){
			
			SerializableObject serObj = serList.get(i);
			SerializableObject deSerObj = deSerList.get(i);
			
			MyAllTypesFirst serObjF = null;
			MyAllTypesFirst deSerObjF = null;
			MyAllTypesSecond serObjS = null;
			MyAllTypesSecond deSerObjS = null;
			
			if(serObj.getClass().getName() != deSerObj.getClass().getName()){
				return -1;
			}else{
				if(serObj instanceof MyAllTypesFirst){
					serObjF = (MyAllTypesFirst)serObj;
					deSerObjF = (MyAllTypesFirst)deSerObj;
					
					if(!serObjF.equals(deSerObjF)){
						mismatchedCount++;
					}
					
				}else if(serObj instanceof MyAllTypesSecond){
					serObjS = (MyAllTypesSecond)serObj;
					deSerObjS = (MyAllTypesSecond)deSerObj;

					if(!serObjS.equals(deSerObjS)){
						mismatchedCount++;
					}
				}
			}
		}
		return mismatchedCount;
		
	}