Advertisement
Guest User

Untitled

a guest
Mar 30th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.37 KB | None | 0 0
  1. public Equivalence(EnsembleAbstrait e) {
  2.         if(e == null) throw new IllegalArgumentException();
  3.        
  4.         this.tabRep = new Elt[Elt.MAXELT.val()+1];
  5.         this.numVersion = 0;
  6.         this.sousJac = e.clone();
  7.         for (int i = 1; i <Elt.MAXELT.val()+1 ; i++) {
  8.             Elt temp = new Elt(i);
  9.             if(e.contient(temp)){
  10.                 tabRep[i] = temp;
  11.             }else{
  12.                 tabRep[i] = null;
  13.             }
  14.         }  
  15.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement