Code example for SetMultimap

Methods: removeAll

0
     * @param edge 
     */ 
    void removeNotes(Edge edge) {
        if (LOG.isDebugEnabled()) 
            LOG.debug("Removing notes for edge: {}", edge);
        notesForEdge.removeAll(edge);
    } 
 
    /** 
     * Create a MatcherAndAlert, interning it if the note and matcher pair is already created. Note: 
     * we use the default Object.equals() for matchers, as they are mostly already singleton 
     * instances. 
     *  
     * @param noteMatcher 
     * @param note 
     * @return 
     */ 
    private MatcherAndAlert buildMatcherAndAlert(NoteMatcher noteMatcher, Alert note) {
        T2<NoteMatcher, Alert> key = new T2<>(noteMatcher, note);
        MatcherAndAlert interned = uniqueMatchers.get(key);
Contextual code suggestions in your IDE  Get Codota for Java