index
int64 0
10.7k
| class
stringclasses 867
values | comment_sentence
stringlengths 1
1.78k
| partition
int64 0
0
| combo
stringlengths 17
1.81k
| labels
listlengths 7
7
|
|---|---|---|---|---|---|
1,239
|
DescendingMultiset.java
|
@code entryiterator .
| 0
|
@code entryiterator . | 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,255
|
EqualsTester.java
|
testequals
| 0
|
testequals | EqualsTester.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,257
|
EqualsTester.java
|
p this tests
| 0
|
p this tests | EqualsTester.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
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,263
|
EqualsTester.java
|
li the hash codes of any two equal objects are equal
| 0
|
li the hash codes of any two equal objects are equal | 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,268
|
EqualsTester.java
|
@author jige yu
| 0
|
@author jige yu | 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,270
|
EqualsTester.java
|
class used to test whether equals correctly handles an instance of an incompatible class.
| 0
|
class used to test whether equals correctly handles an instance of an incompatible class. | EqualsTester.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,272
|
FeatureSpecificTestSuiteBuilder.java
|
creates, based on your criteria, a junit test suite that exhaustively tests the object generated
| 0
|
creates, based on your criteria, a junit test suite that exhaustively tests the object generated | FeatureSpecificTestSuiteBuilder.java
|
[
1,
0,
0,
0,
0,
0,
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,274
|
FeatureSpecificTestSuiteBuilder.java
|
@param b the concrete type of this builder the self type .
| 0
|
@param b the concrete type of this builder the self type . | FeatureSpecificTestSuiteBuilder.java
|
[
0,
0,
0,
1,
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,291
|
HashFunctionEnum.java
|
an enum that contains all of the known hash functions.
| 0
|
an enum that contains all of the known hash functions. | HashFunctionEnum.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
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,299
|
HostAndPort.java
|
hp^gethost returns 2001 db8 1
| 0
|
hp^gethost returns 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,303
|
HostAndPort.java
|
p here are some examples of recognized formats
| 0
|
p here are some examples of recognized formats | 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
] |
1,311
|
HostAndPort.java
|
p note that this is not an exhaustive list, because these methods are only concerned with
| 0
|
p note that this is not an exhaustive list, because these methods are only concerned with | HostAndPort.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,313
|
HostAndPort.java
|
caller s responsibility.
| 0
|
caller s responsibility. | HostAndPort.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,316
|
HostAndPort.java
|
@since 100
| 0
|
@since 100 | HostAndPort.java
|
[
0,
0,
0,
0,
0,
1,
0
] |
1,317
|
ImmutableSetHashFloodingDetectionBenchmark.java
|
benchmark of implementations of @link immutableset#hashfloodingdetected object .
| 0
|
benchmark of implementations of @link immutableset#hashfloodingdetected object . | ImmutableSetHashFloodingDetectionBenchmark.java
|
[
1,
0,
0,
0,
1,
0,
0
] |
1,318
|
ImmutableTable_CustomFieldSerializerBase.java
|
this class contains static utility methods for writing @link immutabletable gwt field
| 0
|
this class contains static utility methods for writing @link immutabletable gwt field | ImmutableTable_CustomFieldSerializerBase.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
1,319
|
ImmutableTable_CustomFieldSerializerBase.java
|
serializers.
| 0
|
serializers. | ImmutableTable_CustomFieldSerializerBase.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
1,320
|
ImmutableTable_CustomFieldSerializerBase.java
|
serializers should delegate to @link #serialize and @link #instantiate .
| 0
|
serializers should delegate to @link #serialize and @link #instantiate . | ImmutableTable_CustomFieldSerializerBase.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,321
|
ImmutableTable_CustomFieldSerializerBase.java
|
@author chris povirk
| 0
|
@author chris povirk | ImmutableTable_CustomFieldSerializerBase.java
|
[
0,
1,
0,
0,
0,
0,
0
] |
1,322
|
LazyStackTraceBenchmark.java
|
quick and dirty benchmark of @link throwables#lazystacktrace throwable .
| 0
|
quick and dirty benchmark of @link throwables#lazystacktrace throwable . | LazyStackTraceBenchmark.java
|
[
1,
0,
0,
0,
1,
0,
0
] |
1,324
|
LazyStackTraceBenchmark.java
|
finder implementation that might be used in a logging framework.
| 0
|
finder implementation that might be used in a logging framework. | LazyStackTraceBenchmark.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
1,325
|
LongMathBenchmark.java
|
benchmarks for the non rounding methods of @code longmath .
| 0
|
benchmarks for the non rounding methods of @code longmath . | LongMathBenchmark.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
1,327
|
MapPutAllTester.java
|
a generic junit test which tests @code putall operations on a map.
| 0
|
a generic junit test which tests @code putall operations on a map. | MapPutAllTester.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
1,328
|
MapPutAllTester.java
|
please see @link com^google.common^collect.testing^maptestsuitebuilder .
| 0
|
please see @link com^google.common^collect.testing^maptestsuitebuilder . | MapPutAllTester.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
1,329
|
MapPutAllTester.java
|
@author chris povirk
| 0
|
@author chris povirk | MapPutAllTester.java
|
[
0,
1,
0,
0,
0,
0,
0
] |
1,330
|
MapPutAllTester.java
|
@author kevin bourrillion
| 0
|
@author kevin bourrillion | MapPutAllTester.java
|
[
0,
1,
0,
0,
0,
0,
0
] |
1,331
|
MapSerializationTester.java
|
basic serialization test for maps.
| 0
|
basic serialization test for maps. | MapSerializationTester.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
1,333
|
MultimapBuilder.java
|
a builder for a multimap implementation that allows customization of the backing map and value
| 0
|
a builder for a multimap implementation that allows customization of the backing map and value | MultimapBuilder.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
1,334
|
MultimapBuilder.java
|
collection implementations used in a particular multimap.
| 0
|
collection implementations used in a particular multimap. | MultimapBuilder.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
1,337
|
MultimapBuilder.java
|
explicitly in @code com^google.common^collect , for example
| 0
|
explicitly in @code com^google.common^collect , for example | MultimapBuilder.java
|
[
0,
0,
1,
1,
0,
0,
0
] |
1,339
|
MultimapBuilder.java
|
listmultimap string, integer treelistmultimap
| 0
|
listmultimap string, integer treelistmultimap | MultimapBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,341
|
MultimapBuilder.java
|
setmultimap integer, myenum hashenummultimap
| 0
|
setmultimap integer, myenum hashenummultimap | MultimapBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,345
|
MultimapBuilder.java
|
invoking a configuration method has no effect
| 0
|
invoking a configuration method has no effect | MultimapBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,347
|
MultimapBuilder.java
|
p the generated multimaps are serializable if the key and value types are serializable, unless
| 0
|
p the generated multimaps are serializable if the key and value types are serializable, unless | MultimapBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,350
|
MultimapBuilder.java
|
@param k0 an upper bound on the key type of the generated multimap.
| 0
|
@param k0 an upper bound on the key type of the generated multimap. | MultimapBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,357
|
MultimapBuilder.java
|
an intermediate stage in a @link multimapbuilder in which the key value collection map
| 0
|
an intermediate stage in a @link multimapbuilder in which the key value collection map | MultimapBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,359
|
MultimapBuilder.java
|
@param k0 the upper bound on the key type of the generated multimap.
| 0
|
@param k0 the upper bound on the key type of the generated multimap. | MultimapBuilder.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,374
|
MultimapBuilderTest.java
|
tests for @link multimapbuilder .
| 0
|
tests for @link multimapbuilder . | MultimapBuilderTest.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
1,376
|
NullsLastOrdering_CustomFieldSerializer.java
|
this class implements the gwt serialization of @link nullslastordering .
| 0
|
this class implements the gwt serialization of @link nullslastordering . | NullsLastOrdering_CustomFieldSerializer.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
1,377
|
NullsLastOrdering_CustomFieldSerializer.java
|
@author chris povirk
| 0
|
@author chris povirk | NullsLastOrdering_CustomFieldSerializer.java
|
[
0,
1,
0,
0,
0,
0,
0
] |
1,378
|
ObjectCountHashMap.java
|
objectcounthashmap is an implementation of @code abstractobjectcountmap that uses arrays to
| 0
|
objectcounthashmap is an implementation of @code abstractobjectcountmap that uses arrays to | ObjectCountHashMap.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
1,379
|
ObjectCountHashMap.java
|
store key objects and count values.
| 0
|
store key objects and count values. | ObjectCountHashMap.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
1,381
|
ObjectCountHashMap.java
|
implementation which stores keys and count values as map entries, @code objectcounthashmap
| 0
|
implementation which stores keys and count values as map entries, @code objectcounthashmap | ObjectCountHashMap.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
1,382
|
ObjectCountHashMap.java
|
minimizes object allocation and reduces memory footprint.
| 0
|
minimizes object allocation and reduces memory footprint. | ObjectCountHashMap.java
|
[
0,
0,
0,
0,
0,
0,
1
] |
1,384
|
PeekingIterator.java
|
an iterator that supports a one element lookahead while iterating.
| 0
|
an iterator that supports a one element lookahead while iterating. | PeekingIterator.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
1,386
|
PeekingIterator.java
|
https github^com google guava wiki collectionhelpersexplained#peekingiterator @code
| 0
|
https github^com google guava wiki collectionhelpersexplained#peekingiterator @code | PeekingIterator.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
1,387
|
PeekingIterator.java
|
peekingiterator a .
| 0
|
peekingiterator a . | PeekingIterator.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
1,388
|
PeekingIterator.java
|
@author mick killianey
| 0
|
@author mick killianey | PeekingIterator.java
|
[
0,
1,
0,
0,
0,
0,
0
] |
1,389
|
PeekingIterator.java
|
@since 20
| 0
|
@since 20 | PeekingIterator.java
|
[
0,
1,
0,
0,
0,
0,
0
] |
1,390
|
Preconditions.java
|
static convenience methods that help a method or constructor check whether it was invoked
| 0
|
static convenience methods that help a method or constructor check whether it was invoked | Preconditions.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
1,391
|
Preconditions.java
|
correctly that is, whether its i preconditions i were met .
| 0
|
correctly that is, whether its i preconditions i were met . | Preconditions.java
|
[
1,
0,
1,
1,
0,
0,
0
] |
1,394
|
Preconditions.java
|
its caller has made a mistake.
| 0
|
its caller has made a mistake. | Preconditions.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
1,400
|
Preconditions.java
|
throw new illegalargumentexception input is negative value
| 0
|
throw new illegalargumentexception input is negative value | Preconditions.java
|
[
0,
0,
1,
1,
0,
0,
0
] |
1,407
|
Preconditions.java
|
checkargument value 0, input is negative %s , value
| 0
|
checkargument value 0, input is negative %s , value | Preconditions.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,414
|
Preconditions.java
|
double d sqrt 10
| 0
|
double d sqrt 10 | Preconditions.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,417
|
Preconditions.java
|
p would be flagged as having called @code sqrt with an illegal argument.
| 0
|
p would be flagged as having called @code sqrt with an illegal argument. | Preconditions.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,419
|
Preconditions.java
|
p avoid passing message arguments that are expensive to compute your code will always compute
| 0
|
p avoid passing message arguments that are expensive to compute your code will always compute | Preconditions.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,421
|
Preconditions.java
|
if you have such arguments, use the conventional
| 0
|
if you have such arguments, use the conventional | Preconditions.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,423
|
Preconditions.java
|
p depending on your message arguments, memory may be allocated for boxing and varargs array
| 0
|
p depending on your message arguments, memory may be allocated for boxing and varargs array | Preconditions.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,425
|
Preconditions.java
|
however, the methods of this class have a large number of overloads that prevent such
| 0
|
however, the methods of this class have a large number of overloads that prevent such | Preconditions.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
1,426
|
Preconditions.java
|
allocations in many common cases.
| 0
|
allocations in many common cases. | Preconditions.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,428
|
Preconditions.java
|
string formatting itself should not be a concern.
| 0
|
string formatting itself should not be a concern. | Preconditions.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,430
|
Preconditions.java
|
environment if possible before spending a lot of effort on tweaking a particular element.
| 0
|
environment if possible before spending a lot of effort on tweaking a particular element. | Preconditions.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,431
|
Preconditions.java
|
h3 other types of preconditions h3
| 0
|
h3 other types of preconditions h3 | Preconditions.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
1,432
|
Preconditions.java
|
p not every type of precondition failure is supported by these methods.
| 0
|
p not every type of precondition failure is supported by these methods. | Preconditions.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
1,434
|
Preconditions.java
|
standard jdk exceptions such as @link java^util.nosuchelementexception or @link
| 0
|
standard jdk exceptions such as @link java^util.nosuchelementexception or @link | Preconditions.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,436
|
Preconditions.java
|
h3 non preconditions h3
| 0
|
h3 non preconditions h3 | Preconditions.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
1,437
|
Preconditions.java
|
p it is of course possible to use the methods of this class to check for invalid conditions
| 0
|
p it is of course possible to use the methods of this class to check for invalid conditions | Preconditions.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,439
|
Preconditions.java
|
doing so is b not recommended b because it is
| 0
|
doing so is b not recommended b because it is | Preconditions.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,451
|
Preconditions.java
|
h3 @code java^util.objects^requirenonnull h3
| 0
|
h3 @code java^util.objects^requirenonnull h3 | Preconditions.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,453
|
Preconditions.java
|
java^util.objects#requirenonnull object .
| 0
|
java^util.objects#requirenonnull object . | Preconditions.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,455
|
Preconditions.java
|
#checknotnull object or @link verify#verifynotnull object is appropriate to the situation.
| 0
|
#checknotnull object or @link verify#verifynotnull object is appropriate to the situation. | Preconditions.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,457
|
Preconditions.java
|
h3 only @code %s is supported h3
| 0
|
h3 only @code %s is supported h3 | Preconditions.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,458
|
Preconditions.java
|
p @code preconditions uses @link strings#lenientformat to format error message template
| 0
|
p @code preconditions uses @link strings#lenientformat to format error message template | Preconditions.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
1,460
|
Preconditions.java
|
this only supports the @code %s specifier, not the full range of @link
| 0
|
this only supports the @code %s specifier, not the full range of @link | Preconditions.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
1,462
|
Preconditions.java
|
however, note that if the number of arguments does not match the
| 0
|
however, note that if the number of arguments does not match the | Preconditions.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.