index
int64 1
10.7k
| class
stringclasses 782
values | comment_sentence
stringlengths 1
1.78k
| partition
int64 0
0
| combo
stringlengths 17
1.81k
| labels
listlengths 7
7
|
|---|---|---|---|---|---|
1,104
|
BloomFilter.java
|
cheat sheet m total bits n expected insertions b m n, bits per insertion p expected false positive probability 1 optimal k b ln2 2 p 1 e ^ kn m ^k 3 for optimal k p 2 ^ k 06185^b 4 for optimal k m nlnp ln2 ^ 2
| 0
|
cheat sheet m total bits n expected insertions b m n, bits per insertion p expected false positive probability 1 optimal k b ln2 2 p 1 e ^ kn m ^k 3 for optimal k p 2 ^ k 06185^b 4 for optimal k m nlnp ln2 ^ 2 | BloomFilter.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,107
|
CacheBuilder.java
|
a builder of @link loadingcache and @link cache instances having any combination of the
| 0
|
a builder of @link loadingcache and @link cache instances having any combination of the | CacheBuilder.java
|
[
1,
0,
1,
1,
0,
0,
0
] |
1,111
|
CacheBuilder.java
|
li least recently used eviction when a maximum size is exceeded
| 0
|
li least recently used eviction when a maximum size is exceeded | CacheBuilder.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
1,113
|
CacheBuilder.java
|
li keys automatically wrapped in @linkplain weakreference weak references
| 0
|
li keys automatically wrapped in @linkplain weakreference weak references | CacheBuilder.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
1,115
|
CacheBuilder.java
|
softreference soft references
| 0
|
softreference soft references | CacheBuilder.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
1,118
|
CacheBuilder.java
|
p these features are all optional caches can be created using all or none of them.
| 0
|
p these features are all optional caches can be created using all or none of them. | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,119
|
CacheBuilder.java
|
by default
| 0
|
by default | CacheBuilder.java
|
[
0,
0,
1,
1,
0,
0,
0
] |
1,120
|
CacheBuilder.java
|
cache instances created by @code cachebuilder will not perform any type of eviction.
| 0
|
cache instances created by @code cachebuilder will not perform any type of eviction. | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,121
|
CacheBuilder.java
|
p usage example
| 0
|
p usage example | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,124
|
CacheBuilder.java
|
maximumsize 10000
| 0
|
maximumsize 10000 | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,125
|
CacheBuilder.java
|
expireafterwrite duration^ofminutes 10
| 0
|
expireafterwrite duration^ofminutes 10 | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,126
|
CacheBuilder.java
|
removallistener my listener
| 0
|
removallistener my listener | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,127
|
CacheBuilder.java
|
build
| 0
|
build | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,129
|
CacheBuilder.java
|
public graph load key key throws anyexception
| 0
|
public graph load key key throws anyexception | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,132
|
CacheBuilder.java
|
p or equivalently,
| 0
|
p or equivalently, | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,137
|
CacheBuilder.java
|
build
| 0
|
build | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,143
|
CacheBuilder.java
|
@link concurrenthashmap .
| 0
|
@link concurrenthashmap . | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,144
|
CacheBuilder.java
|
it implements all optional operations of the @link loadingcache and
| 0
|
it implements all optional operations of the @link loadingcache and | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,145
|
CacheBuilder.java
|
@link cache interfaces.
| 0
|
@link cache interfaces. | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,146
|
CacheBuilder.java
|
the @code asmap view and its collection views have i weakly
| 0
|
the @code asmap view and its collection views have i weakly | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,147
|
CacheBuilder.java
|
consistent iterators i .
| 0
|
consistent iterators i . | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,148
|
CacheBuilder.java
|
this means that they are safe for concurrent use, but if other threads
| 0
|
this means that they are safe for concurrent use, but if other threads | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,149
|
CacheBuilder.java
|
modify the cache after the iterator is created, it is undefined which of these changes, if any,
| 0
|
modify the cache after the iterator is created, it is undefined which of these changes, if any, | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,151
|
CacheBuilder.java
|
these iterators never throw @link
| 0
|
these iterators never throw @link | CacheBuilder.java
|
[
0,
0,
0,
1,
1,
0,
0
] |
1,152
|
CacheBuilder.java
|
concurrentmodificationexception .
| 0
|
concurrentmodificationexception . | CacheBuilder.java
|
[
0,
0,
0,
1,
1,
0,
0
] |
1,153
|
CacheBuilder.java
|
p b note b by default, the returned cache uses equality comparisons the @link
| 0
|
p b note b by default, the returned cache uses equality comparisons the @link | CacheBuilder.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
1,154
|
CacheBuilder.java
|
object#equals equals method to determine equality for keys or values.
| 0
|
object#equals equals method to determine equality for keys or values. | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,155
|
CacheBuilder.java
|
however, if @link
| 0
|
however, if @link | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,157
|
CacheBuilder.java
|
likewise, if @link #weakvalues or @link #softvalues was specified, the cache uses identity
| 0
|
likewise, if @link #weakvalues or @link #softvalues was specified, the cache uses identity | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,158
|
CacheBuilder.java
|
comparisons for values.
| 0
|
comparisons for values. | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,161
|
CacheBuilder.java
|
maximumsize , @linkplain #maximumweight long maximumweight , @linkplain #expireafterwrite
| 0
|
maximumsize , @linkplain #maximumweight long maximumweight , @linkplain #expireafterwrite | CacheBuilder.java
|
[
0,
0,
1,
1,
0,
0,
0
] |
1,164
|
CacheBuilder.java
|
weakkeys , @linkplain #weakvalues weakvalues , or @linkplain #softvalues softvalues are
| 0
|
weakkeys , @linkplain #weakvalues weakvalues , or @linkplain #softvalues softvalues are | CacheBuilder.java
|
[
0,
0,
1,
1,
0,
0,
0
] |
1,167
|
CacheBuilder.java
|
p if @linkplain #maximumsize long maximumsize or @linkplain #maximumweight long
| 0
|
p if @linkplain #maximumsize long maximumsize or @linkplain #maximumweight long | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,170
|
CacheBuilder.java
|
expireafteraccess is requested entries may be evicted on each cache modification, on occasional
| 0
|
expireafteraccess is requested entries may be evicted on each cache modification, on occasional | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,171
|
CacheBuilder.java
|
cache accesses, or on calls to @link cache#cleanup .
| 0
|
cache accesses, or on calls to @link cache#cleanup . | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,172
|
CacheBuilder.java
|
expired entries may be counted by @link
| 0
|
expired entries may be counted by @link | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,173
|
CacheBuilder.java
|
cache#size , but will never be visible to read or write operations.
| 0
|
cache#size , but will never be visible to read or write operations. | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,175
|
CacheBuilder.java
|
be reclaimed by the garbage collector.
| 0
|
be reclaimed by the garbage collector. | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,176
|
CacheBuilder.java
|
entries with reclaimed keys or values may be removed from
| 0
|
entries with reclaimed keys or values may be removed from | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,177
|
CacheBuilder.java
|
the cache on each cache modification, on occasional cache accesses, or on calls to @link
| 0
|
the cache on each cache modification, on occasional cache accesses, or on calls to @link | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,178
|
CacheBuilder.java
|
cache#cleanup such entries may be counted in @link cache#size , but will never be visible to
| 0
|
cache#cleanup such entries may be counted in @link cache#size , but will never be visible to | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,179
|
CacheBuilder.java
|
read or write operations.
| 0
|
read or write operations. | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,180
|
CacheBuilder.java
|
p certain cache configurations will result in the accrual of periodic maintenance tasks which
| 0
|
p certain cache configurations will result in the accrual of periodic maintenance tasks which | CacheBuilder.java
|
[
0,
0,
1,
1,
0,
0,
0
] |
1,182
|
CacheBuilder.java
|
writes.
| 0
|
writes. | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,183
|
CacheBuilder.java
|
the @link cache#cleanup method of the returned cache will also perform maintenance, but
| 0
|
the @link cache#cleanup method of the returned cache will also perform maintenance, but | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,186
|
CacheBuilder.java
|
only caches built with
| 0
|
only caches built with | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,187
|
CacheBuilder.java
|
@linkplain #removallistener removallistener , @linkplain #expireafterwrite expireafterwrite ,
| 0
|
@linkplain #removallistener removallistener , @linkplain #expireafterwrite expireafterwrite , | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,188
|
CacheBuilder.java
|
@linkplain #expireafteraccess expireafteraccess , @linkplain #weakkeys weakkeys , @linkplain
| 0
|
@linkplain #expireafteraccess expireafteraccess , @linkplain #weakkeys weakkeys , @linkplain | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,189
|
CacheBuilder.java
|
#weakvalues weakvalues , or @linkplain #softvalues softvalues perform periodic maintenance.
| 0
|
#weakvalues weakvalues , or @linkplain #softvalues softvalues perform periodic maintenance. | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,190
|
CacheBuilder.java
|
retain all the configuration properties of the original cache.
| 0
|
retain all the configuration properties of the original cache. | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,191
|
CacheBuilder.java
|
note that the serialized form does
| 0
|
note that the serialized form does | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,192
|
CacheBuilder.java
|
i not i include cache contents, but only configuration.
| 0
|
i not i include cache contents, but only configuration. | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,193
|
CacheBuilder.java
|
p see the guava user guide article on a
| 0
|
p see the guava user guide article on a | CacheBuilder.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
1,196
|
CacheBuilder.java
|
this is
| 0
|
this is | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,197
|
CacheBuilder.java
|
normally @code object unless it is constrained by using a method like @code
| 0
|
normally @code object unless it is constrained by using a method like @code | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,199
|
CacheBuilder.java
|
this is
| 0
|
this is | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,200
|
CacheBuilder.java
|
normally @code object unless it is constrained by using a method like @code
| 0
|
normally @code object unless it is constrained by using a method like @code | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,201
|
CacheBuilder.java
|
#removallistener
| 0
|
#removallistener | CacheBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,202
|
CacheBuilder.java
|
@author charles fry
| 0
|
@author charles fry | CacheBuilder.java
|
[
0,
1,
0,
0,
0,
0,
0
] |
1,203
|
CacheBuilder.java
|
@author kevin bourrillion
| 0
|
@author kevin bourrillion | CacheBuilder.java
|
[
0,
1,
0,
0,
0,
0,
0
] |
1,204
|
CacheBuilder.java
|
@since 100
| 0
|
@since 100 | CacheBuilder.java
|
[
0,
0,
0,
0,
0,
1,
0
] |
1,207
|
CacheManualTest.java
|
@author charles fry
| 0
|
@author charles fry | CacheManualTest.java
|
[
0,
1,
0,
0,
0,
0,
0
] |
1,209
|
ClassToInstanceMap.java
|
instance of that type.
| 0
|
instance of that type. | ClassToInstanceMap.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
1,210
|
ClassToInstanceMap.java
|
in addition to implementing @code map , the additional type safe
| 0
|
in addition to implementing @code map , the additional type safe | ClassToInstanceMap.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
1,211
|
ClassToInstanceMap.java
|
operations @link #putinstance and @link #getinstance are available.
| 0
|
operations @link #putinstance and @link #getinstance are available. | ClassToInstanceMap.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
1,215
|
ClassToInstanceMap.java
|
https github^com google guava wiki newcollectiontypesexplained#classtoinstancemap @code
| 0
|
https github^com google guava wiki newcollectiontypesexplained#classtoinstancemap @code | ClassToInstanceMap.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
1,216
|
ClassToInstanceMap.java
|
classtoinstancemap a .
| 0
|
classtoinstancemap a . | ClassToInstanceMap.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
1,217
|
ClassToInstanceMap.java
|
p to map a generic type to an instance of that type, use @link
| 0
|
p to map a generic type to an instance of that type, use @link | ClassToInstanceMap.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,218
|
ClassToInstanceMap.java
|
com^google.common^reflect.typetoinstancemap instead.
| 0
|
com^google.common^reflect.typetoinstancemap instead. | ClassToInstanceMap.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,219
|
ClassToInstanceMap.java
|
@param b the common supertype that all entries must share often this is simply @link object
| 0
|
@param b the common supertype that all entries must share often this is simply @link object | ClassToInstanceMap.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,220
|
ClassToInstanceMap.java
|
@author kevin bourrillion
| 0
|
@author kevin bourrillion | ClassToInstanceMap.java
|
[
0,
1,
0,
0,
0,
0,
0
] |
1,221
|
ClassToInstanceMap.java
|
@since 20
| 0
|
@since 20 | ClassToInstanceMap.java
|
[
0,
0,
0,
0,
0,
1,
0
] |
1,222
|
CloseablesTest.java
|
unit tests for @link closeables .
| 0
|
unit tests for @link closeables . | CloseablesTest.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
1,224
|
CloseablesTest.java
|
propagated out from the @link closeables#close method if @code swallowexception is true.
| 0
|
propagated out from the @link closeables#close method if @code swallowexception is true. | CloseablesTest.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
1,229
|
CollectionTestSuiteBuilder.java
|
settestsuitebuilder .
| 0
|
settestsuitebuilder . | CollectionTestSuiteBuilder.java
|
[
1,
0,
0,
0,
1,
0,
0
] |
1,238
|
DescendingMultiset.java
|
only needs @code forwardmultiset and
| 0
|
only needs @code forwardmultiset and | DescendingMultiset.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
1,241
|
EqualsTester.java
|
tester for equals and hashcode methods of a class.
| 0
|
tester for equals and hashcode methods of a class. | EqualsTester.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
1,245
|
EqualsTester.java
|
p this tests @code foo^equals foo , @code foo^equals null , and a few other operations.
| 0
|
p this tests @code foo^equals foo , @code foo^equals null , and a few other operations. | EqualsTester.java
|
[
0,
0,
0,
1,
0,
0,
1
] |
1,248
|
EqualsTester.java
|
each group should contain objects
| 0
|
each group should contain objects | EqualsTester.java
|
[
0,
0,
0,
1,
0,
0,
1
] |
1,249
|
EqualsTester.java
|
that are equal to each other but unequal to the objects in any other group.
| 0
|
that are equal to each other but unequal to the objects in any other group. | EqualsTester.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,253
|
EqualsTester.java
|
addequalitygroup new user page , new user page
| 0
|
addequalitygroup new user page , new user page | EqualsTester.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,259
|
EqualsTester.java
|
li comparing each object against itself returns true
| 0
|
li comparing each object against itself returns true | EqualsTester.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
1,260
|
EqualsTester.java
|
li comparing each object against an instance of an incompatible class returns false
| 0
|
li comparing each object against an instance of an incompatible class returns false | EqualsTester.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
1,261
|
EqualsTester.java
|
li comparing each pair of objects within the same equality group returns true
| 0
|
li comparing each pair of objects within the same equality group returns true | EqualsTester.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
1,262
|
EqualsTester.java
|
li comparing each pair of objects from different equality groups returns false
| 0
|
li comparing each pair of objects from different equality groups returns false | EqualsTester.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
1,267
|
EqualsTester.java
|
@author jim mcmaster
| 0
|
@author jim mcmaster | EqualsTester.java
|
[
0,
1,
0,
0,
0,
0,
0
] |
1,269
|
EqualsTester.java
|
@since 100
| 0
|
@since 100 | EqualsTester.java
|
[
0,
0,
0,
0,
0,
1,
0
] |
1,273
|
FeatureSpecificTestSuiteBuilder.java
|
by a g, selecting appropriate tests by matching them against specified features.
| 0
|
by a g, selecting appropriate tests by matching them against specified features. | FeatureSpecificTestSuiteBuilder.java
|
[
1,
0,
1,
0,
0,
0,
0
] |
1,276
|
FeatureSpecificTestSuiteBuilder.java
|
class such as @link #named return this type, so that builder methods of more derived
| 0
|
class such as @link #named return this type, so that builder methods of more derived | FeatureSpecificTestSuiteBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,278
|
FeatureSpecificTestSuiteBuilder.java
|
an
| 0
|
an | FeatureSpecificTestSuiteBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,282
|
ForwardingBlockingDequeTest.java
|
@author emily soldal
| 0
|
@author emily soldal | ForwardingBlockingDequeTest.java
|
[
0,
1,
0,
0,
0,
0,
0
] |
1,288
|
GwtTestSuite.java
|
runs all gwt tests.
| 0
|
runs all gwt tests. | GwtTestSuite.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
1,290
|
GwtTestSuite.java
|
suite, as the per suite setup is expensive.
| 0
|
suite, as the per suite setup is expensive. | GwtTestSuite.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
1,292
|
HashFunctionEnum.java
|
@author kurt alfred kluever
| 0
|
@author kurt alfred kluever | HashFunctionEnum.java
|
[
0,
1,
0,
0,
0,
0,
0
] |
1,295
|
HostAndPort.java
|
p example usage
| 0
|
p example usage | HostAndPort.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,297
|
HostAndPort.java
|
hostandport hp hostandport^fromstring 2001 db8 1
| 0
|
hostandport hp hostandport^fromstring 2001 db8 1 | HostAndPort.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,301
|
HostAndPort.java
|
hp^tostring returns 2001 db8 1 80
| 0
|
hp^tostring returns 2001 db8 1 80 | HostAndPort.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,305
|
HostAndPort.java
|
li example^com
| 0
|
li example^com | HostAndPort.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,307
|
HostAndPort.java
|
li 2001 db8 1 @link #gethost omits brackets
| 0
|
li 2001 db8 1 @link #gethost omits brackets | HostAndPort.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,309
|
HostAndPort.java
|
li 2001 db8 1 use @link #requirebracketsforipv6 to prohibit this
| 0
|
li 2001 db8 1 use @link #requirebracketsforipv6 to prohibit this | HostAndPort.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.