org.jboss.aop.util
Class UnmodifiableEmptyCollections

java.lang.Object
  extended by org.jboss.aop.util.UnmodifiableEmptyCollections

public class UnmodifiableEmptyCollections
extends Object

Implementation of different types of maps, lists etc. that do not support modification. Collections.unmodifiableMap() returns an instanceof Collections$UnmodifiableMap which can only be cast to the Map interface and the same goes for lists

Version:
$Revision: 1.1 $
Author:
Kabir Khan

Field Summary
static ArrayList EMPTY_ARRAYLIST
           
static ConcurrentHashMap EMPTY_CONCURRENT_HASHMAP
           
static CopyOnWriteArraySet EMPTY_COPYONWRITE_ARRAYSET
           
static HashMap EMPTY_HASHMAP
           
static LinkedHashMap EMPTY_LINKED_HASHMAP
           
static gnu.trove.TLongObjectHashMap EMPTY_TLONG_OBJECT_HASHMAP
           
static WeakHashMap EMPTY_WEAK_HASHMAP
           
static org.jboss.util.collection.WeakValueHashMap EMPTY_WEAK_VALUE_HASHMAP
           
 
Constructor Summary
UnmodifiableEmptyCollections()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_LINKED_HASHMAP

public static final LinkedHashMap EMPTY_LINKED_HASHMAP

EMPTY_HASHMAP

public static final HashMap EMPTY_HASHMAP

EMPTY_WEAK_HASHMAP

public static final WeakHashMap EMPTY_WEAK_HASHMAP

EMPTY_WEAK_VALUE_HASHMAP

public static final org.jboss.util.collection.WeakValueHashMap EMPTY_WEAK_VALUE_HASHMAP

EMPTY_ARRAYLIST

public static final ArrayList EMPTY_ARRAYLIST

EMPTY_COPYONWRITE_ARRAYSET

public static final CopyOnWriteArraySet EMPTY_COPYONWRITE_ARRAYSET

EMPTY_TLONG_OBJECT_HASHMAP

public static final gnu.trove.TLongObjectHashMap EMPTY_TLONG_OBJECT_HASHMAP

EMPTY_CONCURRENT_HASHMAP

public static final ConcurrentHashMap EMPTY_CONCURRENT_HASHMAP
Constructor Detail

UnmodifiableEmptyCollections

public UnmodifiableEmptyCollections()


Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.