org.apache.commons.collections4.map.package-info Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons-collections4 Show documentation
Show all versions of commons-collections4 Show documentation
The Apache Commons Collections package contains types that extend and augment the Java Collections Framework.
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* This package contains implementations of the {@link java.util.Map Map},
* {@link org.apache.commons.collections4.IterableMap IterableMap},
* {@link org.apache.commons.collections4.OrderedMap OrderedMap} and
* {@link java.util.SortedMap SortedMap} interfaces.
* A Map provides a lookup from a key to a value.
* A number of implementations also support the new MapIterator interface that enables
* simple iteration of map keys and values.
*
* The following implementations are provided:
*
* - CaseInsensitiveMap - map that compares keys in a case insensitive way
*
- CompositeMap - map that combines multiple maps into a single view
*
- HashedMap - general purpose HashMap replacement supporting MapIterator
*
- Flat3Map - designed for good performance at size 3 or less
*
- LinkedMap - a hash map that maintains insertion order, supporting OrderedMapIterator
*
- LRUMap - a hash map that maintains a maximum size by removing the least recently used entries
*
- MultiKeyMap - map that provides special methods for using more than one key to access the value
*
- ReferenceMap - allows the garbage collector to collect keys and values using equals() for comparison
*
- ReferenceIdentityMap - allows the garbage collector to collect keys and values using == for comparison
*
- SingletonMap - a fully featured map to hold one key-value pair
*
- StaticBucketMap - internally synchronized and designed for thread-contentious environments
*
*
* The following decorators are provided:
*
* - Unmodifiable - ensures the collection cannot be altered
*
- Predicated - ensures that only elements that are valid according to a predicate can be added
*
- Transformed - transforms each element added
*
- FixedSize - ensures that the size of the map cannot change
*
- Defaulted - provides default values for non-existing keys
*
- Lazy - creates objects in the map on demand
*
- ListOrdered - ensures that insertion order is retained
*
*
* @version $Id: package-info.java 1469004 2013-04-17 17:37:03Z tn $
*/
package org.apache.commons.collections4.map;