Example usage for org.apache.wicket.util.collections MiniMap MiniMap

List of usage examples for org.apache.wicket.util.collections MiniMap MiniMap

Introduction

In this page you can find the example usage for org.apache.wicket.util.collections MiniMap MiniMap.

Prototype

public MiniMap(final Map<? extends K, ? extends V> map, final int maxEntries) 

Source Link

Document

Constructor

Usage

From source file:ontopoly.components.AbstractBookmarkablePageLink.java

License:Apache License

private MiniMap<String, Object> pageParametersToMiniMap(PageParameters parameters) {
    if (parameters != null) {
        MiniMap<String, Object> map = new MiniMap<String, Object>(parameters, parameters.keySet().size());
        return map;
    } else {/*  w w w  . j  a  v a 2 s  .co  m*/
        return null;
    }

}