Beispiel #1
0
 public Link mute2(Group g) {
   final Group g1 = cl1.getContainer();
   final Group g2 = cl2.getContainer();
   if (g1 == g && g2 == g) {
     return null;
   }
   return this;
 }
Beispiel #2
0
 public boolean insideGroup(Group g) {
   if (EntityUtils.equals(cl1.getContainer(), g)
       && ((IEntityMutable) cl1).isGroup() == false
       && EntityUtils.equals(cl2.getContainer(), g)
       && ((IEntityMutable) cl2).isGroup() == false) {
     return true;
   }
   return false;
 }