@Test public void testContainsKey() { map.put( SimpleProjectRef.parse( "org.group:new-artifact" ), "1.2"); Assert.assertFalse( map.containsKey( SimpleProjectRef.parse( "org.group:*" ))); Assert.assertFalse( map.containsKey( SimpleProjectRef.parse( "org.group:old-artifact" ))); }
public boolean containsKey(Dependency key) { String groupId = key.getGroupId(); String artifactId = key.getArtifactId(); return internalContainsKey( groupId, artifactId ); }
WildcardMap { public boolean containsKey(Dependency key) { String groupId = key.getGroupId(); String artifactId = key.getArtifactId(); return internalContainsKey( groupId, artifactId ); } }
WildcardMap { public boolean containsKey(Dependency key) { String groupId = key.getGroupId(); String artifactId = key.getArtifactId(); return internalContainsKey( groupId, artifactId ); }  }
WildcardMap { public boolean containsKey(Dependency key) { String groupId = key.getGroupId(); String artifactId = key.getArtifactId(); return internalContainsKey( groupId, artifactId ); }  int size(); boolean containsKey(Dependency key); boolean containsKey(ProjectRef key); void put(ProjectRef key, T value); T get(Dependency key); T get(ProjectRef key); boolean isEmpty(); @Override String toString(); }
WildcardMap { public boolean containsKey(Dependency key) { String groupId = key.getGroupId(); String artifactId = key.getArtifactId(); return internalContainsKey( groupId, artifactId ); }  int size(); boolean containsKey(Dependency key); boolean containsKey(ProjectRef key); void put(ProjectRef key, T value); T get(Dependency key); T get(ProjectRef key); boolean isEmpty(); @Override String toString(); static final String WILDCARD; }