Tabnine Logo
Collections$CheckedMap.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
java.util.Collections$CheckedMap
constructor

Best Java code snippets using java.util.Collections$CheckedMap.<init> (Showing top 10 results out of 315)

origin: jtulach/bck2brwsr

                   Class<K> keyType,
                   Class<V> valueType) {
return new CheckedMap<>(m, keyType, valueType);
origin: org.apidesign.bck2brwsr/emul

                   Class<K> keyType,
                   Class<V> valueType) {
return new CheckedMap<>(m, keyType, valueType);
origin: com.bugvm/bugvm-rt

/**
 * Returns a dynamically typesafe view of the specified map. Trying to
 * insert an element of the wrong type into this map throws a
 * {@code ClassCastException}. At creation time the types in {@code m} are
 * not checked for correct type.
 *
 * @param m
 *            the map to be wrapped in a typesafe map.
 * @param keyType
 *            the type of the keys permitted to insert.
 * @param valueType
 *            the type of the values permitted to insert.
 * @return a typesafe map.
 */
public static <K, V> Map<K, V> checkedMap(Map<K, V> m, Class<K> keyType,
    Class<V> valueType) {
  return new CheckedMap<K, V>(m, keyType, valueType);
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Returns a dynamically typesafe view of the specified map. Trying to
 * insert an element of the wrong type into this map throws a
 * {@code ClassCastException}. At creation time the types in {@code m} are
 * not checked for correct type.
 *
 * @param m
 *            the map to be wrapped in a typesafe map.
 * @param keyType
 *            the type of the keys permitted to insert.
 * @param valueType
 *            the type of the values permitted to insert.
 * @return a typesafe map.
 */
public static <K, V> Map<K, V> checkedMap(Map<K, V> m, Class<K> keyType,
    Class<V> valueType) {
  return new CheckedMap<K, V>(m, keyType, valueType);
}
origin: ibinti/bugvm

/**
 * Returns a dynamically typesafe view of the specified map. Trying to
 * insert an element of the wrong type into this map throws a
 * {@code ClassCastException}. At creation time the types in {@code m} are
 * not checked for correct type.
 *
 * @param m
 *            the map to be wrapped in a typesafe map.
 * @param keyType
 *            the type of the keys permitted to insert.
 * @param valueType
 *            the type of the values permitted to insert.
 * @return a typesafe map.
 */
public static <K, V> Map<K, V> checkedMap(Map<K, V> m, Class<K> keyType,
    Class<V> valueType) {
  return new CheckedMap<K, V>(m, keyType, valueType);
}
origin: com.gluonhq/robovm-rt

/**
 * Returns a dynamically typesafe view of the specified map. Trying to
 * insert an element of the wrong type into this map throws a
 * {@code ClassCastException}. At creation time the types in {@code m} are
 * not checked for correct type.
 *
 * @param m
 *            the map to be wrapped in a typesafe map.
 * @param keyType
 *            the type of the keys permitted to insert.
 * @param valueType
 *            the type of the values permitted to insert.
 * @return a typesafe map.
 */
public static <K, V> Map<K, V> checkedMap(Map<K, V> m, Class<K> keyType,
    Class<V> valueType) {
  return new CheckedMap<K, V>(m, keyType, valueType);
}
origin: MobiVM/robovm

/**
 * Returns a dynamically typesafe view of the specified map. Trying to
 * insert an element of the wrong type into this map throws a
 * {@code ClassCastException}. At creation time the types in {@code m} are
 * not checked for correct type.
 *
 * @param m
 *            the map to be wrapped in a typesafe map.
 * @param keyType
 *            the type of the keys permitted to insert.
 * @param valueType
 *            the type of the values permitted to insert.
 * @return a typesafe map.
 */
public static <K, V> Map<K, V> checkedMap(Map<K, V> m, Class<K> keyType,
    Class<V> valueType) {
  return new CheckedMap<K, V>(m, keyType, valueType);
}
origin: FlexoVM/flexovm

/**
 * Returns a dynamically typesafe view of the specified map. Trying to
 * insert an element of the wrong type into this map throws a
 * {@code ClassCastException}. At creation time the types in {@code m} are
 * not checked for correct type.
 *
 * @param m
 *            the map to be wrapped in a typesafe map.
 * @param keyType
 *            the type of the keys permitted to insert.
 * @param valueType
 *            the type of the values permitted to insert.
 * @return a typesafe map.
 */
public static <K, V> Map<K, V> checkedMap(Map<K, V> m, Class<K> keyType,
    Class<V> valueType) {
  return new CheckedMap<K, V>(m, keyType, valueType);
}
origin: com.jtransc/jtransc-rt

/**
 * Returns a dynamically typesafe view of the specified map. Trying to
 * insert an element of the wrong type into this map throws a
 * {@code ClassCastException}. At creation time the types in {@code m} are
 * not checked for correct type.
 *
 * @param m
 *            the map to be wrapped in a typesafe map.
 * @param keyType
 *            the type of the keys permitted to insert.
 * @param valueType
 *            the type of the values permitted to insert.
 * @return a typesafe map.
 */
public static <K, V> Map<K, V> checkedMap(Map<K, V> m, Class<K> keyType,
    Class<V> valueType) {
  return new CheckedMap<K, V>(m, keyType, valueType);
}
origin: robovm/robovm

/**
 * Returns a dynamically typesafe view of the specified map. Trying to
 * insert an element of the wrong type into this map throws a
 * {@code ClassCastException}. At creation time the types in {@code m} are
 * not checked for correct type.
 *
 * @param m
 *            the map to be wrapped in a typesafe map.
 * @param keyType
 *            the type of the keys permitted to insert.
 * @param valueType
 *            the type of the values permitted to insert.
 * @return a typesafe map.
 */
public static <K, V> Map<K, V> checkedMap(Map<K, V> m, Class<K> keyType,
    Class<V> valueType) {
  return new CheckedMap<K, V>(m, keyType, valueType);
}
java.utilCollections$CheckedMap<init>

Popular methods of Collections$CheckedMap

  • badKeyMsg
  • badValueMsg
  • typeCheck

Popular in Java

  • Making http post requests using okhttp
  • setRequestProperty (URLConnection)
  • compareTo (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • JFileChooser (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now