@Test(expected = UnsupportedOperationException.class) public void shouldFailWhenTryingToRemoveFromIterator() throws Exception { Param mockParam = mock(Param.class); ParamProcessors.iterate(asList(mockParam), UTF8).remove(); }
public static Iterator<EncodedPair> iterate(List<Param> params, Charset charset){ return iterate(params, charset, true); }
ParamProcessors { public static Iterator<EncodedPair> iterate(List<Param> params, Charset charset){ return iterate(params, charset, true); } }
ParamProcessors { public static Iterator<EncodedPair> iterate(List<Param> params, Charset charset){ return iterate(params, charset, true); } private  ParamProcessors(); }
ParamProcessors { public static Iterator<EncodedPair> iterate(List<Param> params, Charset charset){ return iterate(params, charset, true); } private  ParamProcessors(); static ParamProcessor newInstance(ParamType type, String listSeparator); static Iterator<EncodedPair> iterate(List<Param> params, Charset charset); static Iterator<EncodedPair> iterate(List<Param> params, Charset charset, boolean encodeIfNeeded); }
ParamProcessors { public static Iterator<EncodedPair> iterate(List<Param> params, Charset charset){ return iterate(params, charset, true); } private  ParamProcessors(); static ParamProcessor newInstance(ParamType type, String listSeparator); static Iterator<EncodedPair> iterate(List<Param> params, Charset charset); static Iterator<EncodedPair> iterate(List<Param> params, Charset charset, boolean encodeIfNeeded);  }