Home  >  Q&A  >  body text

android - 如何查询指定特征的java数据在arraylist中的位置

PHP中文网PHP中文网2741 days ago419

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-04-18 10:07:11

    Record the class it belongs to in Student类里面增加classId, and assign a value to tell the student which class it belongs to when creating the student instance. Knowing that the student will naturally know the class.

    If the data volume is several thousand, it is better to use the database directly

    reply
    0
  • Cancelreply