I need to get the position of an item in the list where the code is what I went through. In C # I do this as linq, how to do in java?
public void onBindViewHolder(final LineHolder_Entidade holder, final int position) {
Context holder_Context = holder.itemView.getContext();
int oPosicao = oEntidades.get(position).getCodigo();// onde o código == 2