예제 #1
0
 public boolean isAvailable(T e) {
   return !f.isAvailable(e);
 }
예제 #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());
    }
예제 #3
0
 public boolean isAvailable(T e) {
   return f1.isAvailable(e) ^ f2.isAvailable(e);
 }
예제 #4
0
    @SuppressWarnings("unchecked")
    public boolean isAvailable(Element e) {
      if (e instanceof Edge) return edgeFilter.isAvailable((U) e);

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