public static ModifiableDBIDs difference ( DBIDs ids1 , DBIDs ids2 ) { ModifiableDBIDs result = DBIDUtil . newHashSet ( ids1 ) ; result . removeDBIDs ( ids2 ) ; return result ; }
Returns the difference of the two specified collection of IDs .