MCPcopy Create free account
hub / github.com/antlr/codebuff / headMultiset

Method headMultiset

output/java_guava/1.4.16/TreeMultiset.java:505–511  ·  view source on GitHub ↗
(@Nullable E upperBound, BoundType boundType)

Source from the content-addressed store, hash-verified

503 }
504
505 @Override
506 public SortedMultiset<E> headMultiset(@Nullable E upperBound, BoundType boundType) {
507 return new TreeMultiset<E>(
508 rootReference,
509 range.intersect(GeneralRange.upTo(comparator(), upperBound, boundType)),
510 header);
511 }
512
513 @Override
514 public SortedMultiset<E> tailMultiset(@Nullable E lowerBound, BoundType boundType) {

Callers

nothing calls this directly

Calls 3

upToMethod · 0.95
comparatorMethod · 0.65
intersectMethod · 0.45

Tested by

no test coverage detected