:구아바의 Iterables.any()와 컴파일 타임 오류
Iterables.any(Lists.<String>newArrayList(), new Predicate<String>() {
@Override
public boolean apply(final String arg0) {
// TODO Auto-generated method stub
return false;
}
});
오류 :
The method any(
Iterable<T>, Predicate<? super T>
) in the type Iterables is not applicable for the arguments (ArrayList<String>, new
Predicate<String>(){}
)
내가 잘못 뭐하는 거지? 어리석은 실수를하는 것처럼 느껴집니다.
수입은 어떻게됩니까? – Brigham