MCPcopy Create free account
hub / github.com/dreamhead/moco / endsWith

Method endsWith

moco-core/src/main/java/com/github/dreamhead/moco/Moco.java:245–247  ·  view source on GitHub ↗
(final Resource resource)

Source from the content-addressed store, hash-verified

243 }
244
245 public static RequestMatcher endsWith(final Resource resource) {
246 return ApiUtils.endsWith(extractor(resource.id()), checkNotNull(resource, "Resource should not be null"));
247 }
248
249 public static <T> RequestMatcher endsWith(final RequestExtractor<T> extractor, final String expected) {
250 return ApiUtils.endsWith(checkNotNull(extractor, "Extractor should not be null"),

Callers 3

should_ends_withMethod · 0.45
loopMethod · 0.45

Calls 5

endsWithMethod · 0.95
textMethod · 0.95
extractorMethod · 0.80
checkNotNullOrEmptyMethod · 0.80
idMethod · 0.65

Tested by 2

should_ends_withMethod · 0.36