A run is a sequence of adjacent repeated values. For example, the array with elements

1 2 2 2 1 3 3 2

has two runs: 2 2 2 and 3 3.

Your job is to compute the length of the longest run. For example, with the preceding array, the longest run 2 2 2 has length 3.

Complete the following file:

Numbers.java

public class Numbers { /** Computes the length of the longest run (sequence of adjacent repeated values) in an array. @param values an array of integer values @return the length of the longest run in values */ public int lengthOfLongestRun(int[] values) { // your work here } }