Example usage for java.util Map interface-usage

List of usage examples for java.util Map interface-usage

Introduction

In this page you can find the example usage for java.util Map interface-usage.

Usage

From source file com.zc.study.fileinjection.springintegration.MessageHeaders.java

/**
 * The headers for a {@link Message}.
 *
 * <p><b>IMPORTANT</b>: This class is immutable. Any mutating operation such as
 * {@code put(..)}, {@code putAll(..)} and others will throw
 * {@link UnsupportedOperationException}.

From source file org.sakaiproject.api.app.messageforums.PermissionsMask.java

/**
 * This class is critical for the interaction with AuthorizationManager.
 * This class will be used for creating Authorizations and querying 
 * Authorizations. The implementation of this class is not thread safe.
 * 
 * @author <a href="mailto:lance@indiana.edu">Lance Speelmon</a>

From source file org.opencms.util.CmsNullIgnoringConcurrentMap.java

/**
 * Wrapper around ConcurrentHashMap which allows null values.<p>
 *
 * The point of this is the following: Often, HashMaps in older code are accessed concurrently by multiple threads. When these threads modify the
 * map concurrently, an infinite loop may occur due to the standard HashMap implementation. But sometimes we can't just replace the HashMap with a
 * ConcurrentHashMap because that class doesn't allow null values and we don't always know for certain whether null values are used or not.

From source file fr.gael.dhus.olingo.v1.map.FunctionalMap.java

/**
 * This class is the base class to create a read-only, sortable, filterable Map view on another map.
 *
 * @param <K> Key type.
 * @param <V> Object (values) type.
 */

From source file org.openvpms.component.business.domain.im.datatypes.basic.TypedValueMap.java

/**
 * A map that adapts an underlying map of name->TypedValue pairs to
 * a map of name->Object pairs.
 *
 * @author <a href="mailto:support@openvpms.org">OpenVPMS Team</a>
 * @version $LastChangedDate: 2006-05-02 05:16:31Z $

From source file com.appeligo.util.ActiveCache.java

public class ActiveCache<K, V> implements Map<K, V> {

    private static final Log log = LogFactory.getLog(ActiveCache.class);

    protected static final int DEFAULT_MIN_CACHED = 1000;
    protected static final int DEFAULT_MAX_CACHED = 1500;

From source file org.apache.axis2.jaxws.handler.TransportHeadersAdapter.java

/**
 * The JAX-WS exposes transport properties whose value is Map<String, List<String>>.  The
 * String is the content-id and DataHandler is the data handler representing the TransportHeaders.
 * 
 * The JAX-WS MessageContext stores transport properties in an Map object located on the AXIS2
 * MessageContext.

From source file fr.gael.dhus.olingo.v1.map.AbstractFunctionalMap.java

/**
 * This class is the base class to create a read-only, sortable, filterable Map view on another map.
 *
 * @param <K> Key type.
 * @param <V> Object (values) type.
 */

From source file org.springframework.messaging.MessageHeaders.java

/**
 * The headers for a {@link Message}.
 *
 * <p><b>IMPORTANT</b>: This class is immutable. Any mutating operation such as
 * {@code put(..)}, {@code putAll(..)} and others will throw
 * {@link UnsupportedOperationException}.

From source file com.swordlord.gozer.dataprovider.FilterState.java

@SuppressWarnings("serial")
public class FilterState implements Serializable, Map<String, Object> {
    protected static final Log LOG = LogFactory.getLog(FilterState.class);

    protected HashMap<String, Object> _entries;