src/main/java/com/hp/autonomy/hod/client/api/resource/ResourceType.java
public static Set<ResourceType> complementOf(final Set<ResourceType> resourceTypes) {
        final Set<ResourceType> set = allOf();
        set.removeAll(resourceTypes);
        return set;
    }
public static Set<ResourceType> complementOf(final Set<ResourceType> resourceTypes) {
        final Set<ResourceType> set = allOf();
        set.removeAll(resourceTypes);
        return set;
    }
Returns a set containing all the known resource types, except those is the given set

@param resourceTypes The resource types which will not be included in the returned set
@return The complement of the given set of resource types