src/PokerHand.java
private void checkDuplication(PokerHand aHand) {
		LinkNode<Card> ref = head;
		LinkNode<Card> anotherRef = aHand.head;

		while (ref != null) {
			while (anotherRef != null) {
				ref.getData().compareTo(anotherRef.getData());
				anotherRef = anotherRef.getNext();
			}
			anotherRef = aHand.head;
			ref = ref.getNext();
		}
	}
// It compares every card between this pokerhand and another pokerhand
It compares every card between this pokerhand and another pokerhand
It compares every card between this pokerhand and another pokerhand
private void checkDuplication(PokerHand aHand) {
		LinkNode<Card> ref = head;
		LinkNode<Card> anotherRef = aHand.head;
		while (ref != null) {
			while (anotherRef != null) {
				ref.getData().compareTo(anotherRef.getData());
				anotherRef = anotherRef.getNext();
			}
			anotherRef = aHand.head;
			ref = ref.getNext();
		}
	}
private void checkDuplication ( PokerHand aHand ) { LinkNode < Card > ref = head ; LinkNode < Card > anotherRef = aHand . head ; while ( ref != null ) { while ( anotherRef != null ) { ref . getData ( ) . compareTo ( anotherRef . getData ( ) ) ; anotherRef = anotherRef . getNext ( ) ; } anotherRef = aHand . head ; ref = ref . getNext ( ) ; } }
It compares every card between this pokerhand and another pokerhand
It compares every card between this pokerhand and another pokerhand