Code example for TreeMultimap

Methods: get

0
     * 
     * @param artifact the artifact 
     * @return {@literal true} if the artifact is excluded, {@literal false} otherwise 
     */ 
    public static boolean isExcluded(Artifact artifact) {
        Set<String> excluded = EXCLUSIONS.get(artifact.getGroupId());
        return excluded != null && excluded.contains(artifact.getArtifactId());
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE