#70 CQuery: indexOf

닫힘
beholder4 년 전을 오픈 · 1개의 코멘트
Large Luigi 코멘트됨, 4 년 전

It is something like query.filter.first, but we want to return index of selected element, not value of element.

int indexOf(T value) 
int indexOf(Predicate<T> value)
int indexOfEach(EachPredicate<T> value)

Maybe we should return OptionalInt instead of -1?

It is something like `query.filter.first`, but we want to return index of selected element, not value of element. ``` int indexOf(T value) int indexOf(Predicate<T> value) int indexOfEach(EachPredicate<T> value) ``` Maybe we should return OptionalInt instead of -1?
ranides 커밋 4 년 전에서 이 이슈 언급
ranides 코멘트됨, 4 년 전
소유자

not implemented: int indexOfEach(EachPredicate<T> value)

not implemented: `int indexOfEach(EachPredicate<T> value)`
ranides 커밋 4 년 전에서 이 이슈 언급
로그인하여 이 대화에 참여
마일스톤 없음
담당자 없음
참여자 2명
로딩중...
취소
저장
아직 콘텐츠가 없습니다.