How can i get rid of Duplacates in this java code? : **How can i make this Code not have any repeating numbers in it?**  
All i would like to do is make it so that it doesn't output any duplicates 
in this little block.

    int[] arr = {5,10,44,2, 44,44,5,10,44,2, 44,44};
		int startScan;
		int index;
		int minindex; 
		int minValue;


				
				for (startScan=0;startScan<(arr.length-1);startScan++){
					minindex=startScan; 
					minValue =arr[startScan]; 
					
					for (index=startScan+1; index<arr.length;index++){
						if (arr[index]<minValue){
							minValue=arr[index]; 
							minindex=index;	
						}
					} 
					arr[minindex]=arr[startScan];
					arr[startScan]=minValue;
				} 
			for(int x=0; x<arr.length;x++){
		System.out.println(arr[x]); 