OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 144 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 144 Rev 177
Line 49... Line 49...
49
    public C get(Object key, final boolean nullIfMissing, final boolean nullIfPresent);
49
    public C get(Object key, final boolean nullIfMissing, final boolean nullIfPresent);
50
 
50
 
51
    public C getCollection(Object key);
51
    public C getCollection(Object key);
52
 
52
 
53
    /**
53
    /**
-
 
54
     * Returns <tt>true</tt> if the collection mapped to the passed key contains the specified
-
 
55
     * element.
-
 
56
     * 
-
 
57
     * @param key the key.
-
 
58
     * @param element element whose presence in the collection is to be tested.
-
 
59
     * @return <tt>true</tt> if the collection mapped to the passed key contains the specified
-
 
60
     *         element or if the key exists, its collection is <code>null</code> and the
-
 
61
     *         {@link #getMode() mode} is {@link Mode#NULL_MEANS_ALL} <br>
-
 
62
     *         <code>false</code> if <code>!this.containsKey(key)</code>.
-
 
63
     * @throws NullPointerException if the key exists, its collection is <code>null</code> and the
-
 
64
     *         {@link #getMode() mode} is not {@link Mode#NULL_MEANS_ALL}.
-
 
65
     */
-
 
66
    public boolean containsInCollection(K key, V element) throws NullPointerException;
-
 
67
 
-
 
68
    /**
54
     * Returns a {@link Collection} view of all the values contained in this map. The collection is
69
     * Returns a {@link Collection} view of all the values contained in this map. The collection is
55
     * backed by the map, so changes to the map are reflected in the collection, and vice-versa. If
70
     * backed by the map, so changes to the map are reflected in the collection, and vice-versa. If
56
     * the map is modified while an iteration over the collection is in progress (except through the
71
     * the map is modified while an iteration over the collection is in progress (except through the
57
     * iterator's own <tt>remove</tt> operation), the results of the iteration are undefined. The
72
     * iterator's own <tt>remove</tt> operation), the results of the iteration are undefined. The
58
     * collection supports element removal, which removes the corresponding values from the map, via
73
     * collection supports element removal, which removes the corresponding values from the map, via