/ Return all values as an array. */ /
| 1098 | /* Return all values as an array. */ |
| 1099 | /***********************************************************************/ |
| 1100 | PJAR JOBJECT::GetValList(PGLOBAL g) |
| 1101 | { |
| 1102 | PJAR jarp = new(g) JARRAY(); |
| 1103 | |
| 1104 | for (PJPR jpp = First; jpp; jpp = jpp->Next) |
| 1105 | jarp->AddArrayValue(g, jpp->Val); |
| 1106 | |
| 1107 | jarp->InitArray(g); |
| 1108 | return jarp; |
| 1109 | } // end of GetValList |
| 1110 | |
| 1111 | /***********************************************************************/ |
| 1112 | /* Get the value corresponding to the given key. */ |
no test coverage detected