public static boolean checkForUnique(String str){
		
		HashSet s=new HashSet();
		int count=0;
		boolean value=false;
		
		while(count<str.length()){
		if(s.contains(str.charAt(count))){
			return false;
		}else{
			s.add(str.charAt(count));
			value=true;
		}
		count++;
		
	}
		return value;
}