Skip to content

Instantly share code, notes, and snippets.

@ss22219
Created October 7, 2013 19:30
Show Gist options
  • Save ss22219/6873571 to your computer and use it in GitHub Desktop.
Save ss22219/6873571 to your computer and use it in GitHub Desktop.
import java.util.ArrayList;
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
Page<String> page = new Page<String>(new ArrayList<String>(), 20, 12,
1000, 8);
System.out.println("page index:" + page.getPageIndex());
for (int label : page.getPageLabels()) {
System.out.print(label + " ");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment