Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antlr/codebuff
/ asSet
Method
asSet
corpus/java/training/guava/base/Present.java:70–73 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
68
}
69
70
@Override
71
public
Set<T> asSet() {
72
return
Collections.singleton(reference);
73
}
74
75
@Override
76
public
<V> Optional<V> transform(Function<? super T, V> function) {
Callers
nothing calls this directly
Calls
1
singleton
Method · 0.45
Tested by
no test coverage detected