Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a map subject. #40

Merged
merged 2 commits into from
Sep 7, 2012
Merged

Add a map subject. #40

merged 2 commits into from
Sep 7, 2012

Conversation

cgruber
Copy link
Contributor

@cgruber cgruber commented Sep 7, 2012

No description provided.

@@ -77,4 +79,9 @@ public StringSubject that(String target) {
public <T, C extends List<T>> ListSubject<? extends ListSubject<?, T, C>, T, C> that(T[] target) {
return that(Arrays.asList(target));
}

public <K, V, M extends Map<K, V>> MapSubject<? extends MapSubject<?, K, V, M>, K, V, M> that(Map<K, V> target) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Such beautifully unholy generics. :)

@ghost ghost assigned cgruber Sep 7, 2012
cgruber added a commit that referenced this pull request Sep 7, 2012
@cgruber cgruber merged commit 0aa7f37 into google:master Sep 7, 2012
@cgruber cgruber removed their assignment Jun 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant