code: public boolean matches(T target) {
          Boolean cached = map.get(target);
          if (cached == null) {
              cached = onCacheMiss(target);
          }
          return cached;
      }
docs: {@inheritDoc}