SHARE
TWEET

Untitled

a guest Apr 18th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package reflection.exerc_one;
  2.  
  3. import java.util.ArrayList;
  4. import java.util.List;
  5.  
  6.  
  7. public final class ContainerForTest {
  8.     private static List<Test> tests = new ArrayList<Test>();
  9.  
  10.  
  11.     public static List<Test> getTests() {
  12.         return tests;
  13.     }
  14.  
  15.     public static void setTests(Test test) {
  16.         tests.add(test);
  17.     }
  18.     public static void showInfoAboutClass() {
  19.         TestReflection tr = new TestReflection();
  20.         for (int i = 0; i < tests.size(); i++) {
  21.             tr.getInfoAboutClass(tests.get(i));
  22.         }
  23.     }
  24.  
  25. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top