public KeyValuePair next() throws TemplateModelException { final TemplateModel key = keyIter.next(); if (!(key instanceof TemplateScalarModel)) { throw _MessageUtil.newKeyValuePairListingNonStringKeyExceptionMessage(key, hash); } return new KeyValuePair() { public TemplateModel getKey() throws TemplateModelException { return key; } public TemplateModel getValue() throws TemplateModelException { return hash.get(((TemplateScalarModel) key).getAsString()); } }; }
loopVar = keysIter.next(); if (!(loopVar instanceof TemplateScalarModel)) { throw _MessageUtil.newKeyValuePairListingNonStringKeyExceptionMessage( loopVar, (TemplateHashModelEx) listedValue);
public KeyValuePair next() throws TemplateModelException { final TemplateModel key = keyIter.next(); if (!(key instanceof TemplateScalarModel)) { throw _MessageUtil.newKeyValuePairListingNonStringKeyExceptionMessage(key, hash); } return new KeyValuePair() { public TemplateModel getKey() throws TemplateModelException { return key; } public TemplateModel getValue() throws TemplateModelException { return hash.get(((TemplateScalarModel) key).getAsString()); } }; }
public KeyValuePair next() throws TemplateModelException { final TemplateModel key = keyIter.next(); if (!(key instanceof TemplateScalarModel)) { throw _MessageUtil.newKeyValuePairListingNonStringKeyExceptionMessage(key, hash); } return new KeyValuePair() { public TemplateModel getKey() throws TemplateModelException { return key; } public TemplateModel getValue() throws TemplateModelException { return hash.get(((TemplateScalarModel) key).getAsString()); } }; }
loopVar = keysIter.next(); if (!(loopVar instanceof TemplateScalarModel)) { throw _MessageUtil.newKeyValuePairListingNonStringKeyExceptionMessage( loopVar, (TemplateHashModelEx) listedValue);
loopVar = keysIter.next(); if (!(loopVar instanceof TemplateScalarModel)) { throw _MessageUtil.newKeyValuePairListingNonStringKeyExceptionMessage( loopVar, (TemplateHashModelEx) listedValue);