Anonymous Anonymous - 1 month ago
187 0

No description

ActionScript

se1ue02aufgabe3

boolean retval = true;
		for (int i = 0; i < order.length-1; i++) {
			String s = order[i][0];
			for (int j = 0; j < sequence.length; j++) {
				if(s.equals(sequence[j])) {
					if(s.equals(sequence[j-1])) {
						retval=false;
					}
				}
			}
		}
		return retval;