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