code: public static <X> Predicate<Scored<X>> scoreIs(final Predicate<Double> pred) {
      return new Predicate<Scored<X>>() {
        @Override
        public boolean apply(final Scored<X> x) {
          return pred.apply(x.score());
        }
      };
    }
docs: Easy way to pass a {@link Predicate} through to the score of a <code>Scored<T></code>.
  
  @param pred The <code>Predicate</code> to apply to the score
  @return A <code>Predicate</code> on <code>Scored<X>s</code> which applies the supplied
  predicate to the score.