class_docstr: A simplified linked list with limited supported operations.
  
  It doesn't copy any data pass to it but directly refer to it.
class_docstr_tok: ["A","simplified","linked","list","with","limited","supported","operations",".","It","does","n't","copy","any","data","pass","to","it","but","directly","refer","to","it","."]
docstr: Get the next data for a given data.
  
  Args:
      data: The data used to get its next data in the linked list.
  
  Returns:
      The next data if exists. Otherwise, return None.
docstr_tok: ["Get","the","next","data","for","a","given","data",".","Args",":","data",":","The","data","used","to","get","its","next","data","in","the","linked","list",".","Returns",":","The","next","data","if","exists",".","Otherwise",",","return","None","."]
code: def next(self, data):
      """Get the next data for a given data.
  
      Args:
          data: The data used to get its next data in the linked list.
  
      Returns:
          The next data if exists. Otherwise, return None.
      """
      index = self._data_to_index[data]
      next_index = self._next_index[index]
      if next_index is None:
          return None
      return self._memory[next_index]
  
file_path: keras-tuner/keras_tuner/tuners/gridsearch.py
imports: import collections
  import copy
  from keras_tuner.api_export import keras_tuner_export
  from keras_tuner.engine import oracle
  from keras_tuner.engine import trial
  from keras_tuner.engine import tuner
label_desc: Use image node_id 3 for calling the LinkedList obj's underlying member method code with example usage: obj.next(data) and returns: self, None