public static <NodeType extends ISelectableNode> INodeFilter<NodeType> getSelectedFilter() {
    return new INodeFilter<NodeType>() {
      @Override
      public boolean qualifies(final NodeType node) {
        return node.isSelected();
      }
    };
  }
Returns a filter that can be used to filter deselected nodes.

@param <NodeType> The type of the nodes that are filtered by the returned filter.
@return A filter that can be used to filter deselected nodes.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/zygraph/helpers/StandardFilters.java