Exemple #1
0
 public Boulder untick(String name) {
   int i = 0;
   while (i < haveSent.size()) {
     if (haveSent.get(i).username.equals(name)) {
       haveSent.remove(i);
       this.update();
       return this;
     } else {
       ++i;
     }
   }
   return null;
 }
Exemple #2
0
 public void removeTriangleListener(TriangleListener listener) {
   listeners.remove(listener);
   removeTriangleModificationListener(listener);
   removeTriangleCommentListener(listener);
 }