private static List zza(Collection collection, List list) { ArrayList arraylist = new ArrayList(collection.size()); for (collection = collection.iterator(); collection.hasNext(); arraylist.add(new DataSet((RawDataSet) collection.next(), list))) {} return arraylist; }
private void a(Collection collection) { if (!f()) { throw new WebsocketNotConnectedException(); } for (collection = collection.iterator(); collection.hasNext(); a((Framedata)collection.next())) { } }
public a a(Collection collection) { if (collection == null) { throw new IllegalArgumentException("categories must not be null"); } if (!collection.isEmpty()) { for (collection = collection.iterator(); collection.hasNext(); a((String) collection.next())) {} } return this; }
public static int[] toIntArray(Collection collection) { if (collection == null || collection.isEmpty()) { return EMPTY_INT_ARRAY; } int ai[] = new int[collection.size()]; collection = collection.iterator(); for (int i = 0; collection.hasNext(); i++) { ai[i] = ((Integer) collection.next()).intValue(); } return ai; }
public static void containsNoNulls(Collection collection, String s) { notNull(collection, s); for (collection = collection.iterator(); collection.hasNext(); ) { if (collection.next() == null) { throw new NullPointerException( (new StringBuilder()) .append("Container '") .append(s) .append("' cannot contain null values") .toString()); } } }
private static void populateTestAccounts(Collection<TestSession.TestAccount> paramCollection, GraphObject paramGraphObject) { try { paramCollection = paramCollection.iterator(); while (paramCollection.hasNext()) { TestSession.TestAccount localTestAccount = (TestSession.TestAccount)paramCollection.next(); localTestAccount.setName(((GraphUser)paramGraphObject.getPropertyAs(localTestAccount.getId(), GraphUser.class)).getName()); storeTestAccount(localTestAccount); } } finally {} }
private void a(Map map, Collection collection) { label0: { String s = "&_v".substring(1); if (collection == null) { break label0; } collection = collection.iterator(); fd fd1; do { if (!collection.hasNext()) { break label0; } fd1 = (fd)collection.next(); } while (!"appendVersion".equals(fd1.getId())); map.put(s, fd1.getValue()); } }
private static String constructString(Collection<SenderInstructions.Sender> paramCollection, int paramInt1, int paramInt2, int paramInt3, boolean paramBoolean1, boolean paramBoolean2) { boolean bool = true; StringBuilder localStringBuilder = new StringBuilder(); appendSending(localStringBuilder, paramBoolean1); appendSendFailed(localStringBuilder, paramBoolean2); appendNumMessages(localStringBuilder, paramInt1); appendNumDrafts(localStringBuilder, paramInt2); if (paramInt3 > 1) { paramBoolean1 = bool; paramInt1 = 0; paramCollection = paramCollection.iterator(); } for (;;) { if (!paramCollection.hasNext()) { break label162; } SenderInstructions.Sender localSender = (SenderInstructions.Sender)paramCollection.next(); switch (visibility) { default: break; case ???: appendSender(localStringBuilder, unread, priority, name, paramBoolean1); paramInt1 = 0; continue; paramBoolean1 = false; break; case ???: if (paramInt1 == 0) { appendElided(localStringBuilder); paramInt1 = 1; } break; }
public MultipartContent setContentParts(Collection collection) { parts = new ArrayList(collection.size()); for (collection = collection.iterator(); collection.hasNext(); addPart(new Part((HttpContent)collection.next()))) { } return this; }
public static void addSaslMechs(Collection collection) { for (collection = collection.iterator(); collection.hasNext(); addSaslMech((String) collection.next())) {} }