Java Collection Add addOneValueUNSAFE(Collection cloneCollection, Object v)

Here you can find the source of addOneValueUNSAFE(Collection cloneCollection, Object v)

Description

add One Value UNSAFE

License

Apache License

Declaration

@SuppressWarnings({ "rawtypes", "unchecked" })
    private static void addOneValueUNSAFE(Collection cloneCollection, Object v) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.util.Collection;

public class Main {
    @SuppressWarnings({ "rawtypes", "unchecked" })
    private static void addOneValueUNSAFE(Collection cloneCollection, Object v) {
        cloneCollection.add(v);/* w  w w  . java  2 s.  c om*/
    }
}

Related

  1. addNewLines(Collection strings)
  2. addNonNull(Object element, Collection result)
  3. addNonnullIfMissing(Collection collection, T element)
  4. addNonNulls(Collection c, X... xl)
  5. addNotNull(Collection col, String toAdd)
  6. addPrefix(Collection values, String prefix)
  7. addPreviousTags(int index, String[] prevTags, int prevTagsToAdd, Collection targetCol)
  8. addRange(Collection c, int start, int to, int step)
  9. addSafe(final Collection collection, T element)