Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main {
- public static void main(String[] args) {
- ResortHandler rh = new ResortHandler(new String[] { Regions.CALIFORNIA }, "maxTrails", 35, 45, "maxTrails", "integer");
- System.out.println("name: " + (String)rh.getResortPropertyWithIndex(0, "name"));
- System.out.println("id: " + (String)rh.getResortPropertyWithIndex(0, "id"));
- System.out.println("phone #: " + (String)rh.getResortPropertyWithIndex(0, "phone"));
- System.out.println("\n\n\nList Output");
- System.out.println(rh.toString(new String[] { "id", "name", "maxTrails", "openTrails" }));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement