public static List < SoyValue > keys ( SoyValue sv ) { SoyLegacyObjectMap map = ( SoyLegacyObjectMap ) sv ; List < SoyValue > list = new ArrayList <> ( map . getItemCnt ( ) ) ; Iterables . addAll ( list , map . getItemKeys ( ) ) ; return list ; }
Returns a list of all the keys in the given map . For the JavaSource variant while the function signature is ? instead of legacy_object_map .