reads a allocationcommands from a streaminput concode_field_sep List<AllocationCommand> commands concode_elem_sep Map<String,AllocationCommand.Factory> factories concode_field_sep void registerFactory concode_elem_sep AllocationCommands add concode_elem_sep void writeTo concode_elem_sep void toXContent concode_elem_sep AllocationCommand.Factory<T> lookupFactory concode_elem_sep AllocationCommands fromXContent concode_elem_sep AllocationCommand.Factory<T> lookupFactorySafe concode_elem_sep RoutingExplanations execute concode_elem_sep List<AllocationCommand> commands
AllocationCommands function ( StreamInput arg0 ) { AllocationCommands loc0 = new AllocationCommands ( ) ; int loc1 = arg0 . readVInt ( ) ; for ( int loc2 = 0 ; loc2 < loc1 ; loc2 ++ ) { String loc3 = arg0 . readString ( ) ; loc0 . add ( lookupFactorySafe ( loc3 ) . readFrom ( arg0 ) ) ; } return loc0 ; }