question: public Relationship [ ] relationships ( RelationshipFilter ... filters ) { final HashSet < Relationship > collected = new LinkedHashSet < > ( ) ; for ( final Collection < Relationship > rs : mRelationships . values ( ) ) { for ( final Relationship r : rs ) { if ( allAccepted ( r , filters ) ) { collected . add ( r ) ; } } } return collected . toArray ( new Relationship [ collected . size ( ) ] ) ; }
target:  Get all relationships matching the supplied filters.