Java class: for getOrder, getData, updateData operation
(Please post working code next time.)

So first off, there are imports missing, so this doesn't compile as it
is, and the variable mark doesn't exist.

import java.util.List;
import java.util.Set;
import java.util.TreeSet;
import java.util.Comparator;


Either you import by name, or the whole package, just stick with one.

...
        if(counter == order) {
            return data;
        }
...


Then you should generally specify the visibility on all things,
otherwise you end up with package visibility, which is probably not what
you want.

public class App {
...
private Set&lt;Integer&gt; appData;


Use of generics is good, the constructor is okay except for the
unnecessary manual comparison.  This should be either using
TreeSet.descendingSet, or Comparator.reverseOrder, e.g.:

public App(List&lt;Integer&gt; data) {
    this.appData = new TreeSet&lt;Integer&gt;(Comparator.&lt;Integer&gt;reverseOrder());
    appData.addAll(data);
}


Some whitespace is also off and the spelling of methods should be
consistent, i.e. getdata should be get getData and updatedata
should be updateData as is mentioned in your spec.

That just to get you started here.