getAllSprings method

List<Spring> getAllSprings()

return all the springs in the simulator @return all the springs

Implementation

List<Spring> getAllSprings() {
  return _mSpringRegistry.values.toList();
  /*if (collection instanceof List) {
    list = (List<Spring>)collection;
  } else {
    list = new ArrayList<Spring>(collection);
  }
  return Collections.unmodifiableList(list);*/
}