I'm trying to write a class with a recursive Linear search method. This is what I have so far. Can you please help me out with figuring where I'm going wrong? Please :)

I was asked specifically for a method `public int linearSearchRecursive(Tile value)`

and method `addTile(Tile tile)`

since the parameter is `Tile`

value. I do not know how to do that. Please point me in the right diretion with the tile.

```
class LinearSearch {
public static int LinearSearch(int a[], int value) {
return LinearSearch(value);
}
private int[] numbers;
public int LinearSearch(int size) {
numbers = new int[size];
}
public int linearSearchRecursive(Tile value) {
if (value == numbers[startingIndex]) {
return startingIndex;
}
else if (startingIndex + 1 < numbers.length) {
return linearSearch(value, startingIndex + 1);
}
else {
return -1;
}
}
}
```