Exemple #1
0
 public boolean isAvailable(T e) {
   return !f.isAvailable(e);
 }
Exemple #2
0
    @SuppressWarnings("unchecked")
    public boolean isAvailable(T e) {
      if (e instanceof Node) return true;

      return f.isAvailable((U) ((Edge) e).getNode0()) && f.isAvailable((U) ((Edge) e).getNode1());
    }
Exemple #3
0
 public boolean isAvailable(T e) {
   return f1.isAvailable(e) ^ f2.isAvailable(e);
 }
Exemple #4
0
    @SuppressWarnings("unchecked")
    public boolean isAvailable(Element e) {
      if (e instanceof Edge) return edgeFilter.isAvailable((U) e);

      return nodeFilter.isAvailable((T) e);
    }