| 80 | } |
| 81 | |
| 82 | double SparseUnsortedList::get( unsigned entry ) const |
| 83 | { |
| 84 | for ( const auto &listEntry : _list ) |
| 85 | { |
| 86 | if ( listEntry._index == entry ) |
| 87 | return listEntry._value; |
| 88 | } |
| 89 | |
| 90 | return 0; |
| 91 | } |
| 92 | |
| 93 | void SparseUnsortedList::dump() const |
| 94 | { |
nothing calls this directly
no outgoing calls
no test coverage detected