JBoss AOP Parent POM 2.2.2.GA

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 org.jboss.util.collection.ConcurrentSet EMPTY_CONCURRENT_SET
           
static org.jboss.util.collection.ConcurrentSet 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 org.jboss.util.collection.ConcurrentSet 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

EMPTY_CONCURRENT_SET

public static final org.jboss.util.collection.ConcurrentSet EMPTY_CONCURRENT_SET
Constructor Detail

UnmodifiableEmptyCollections

public UnmodifiableEmptyCollections()

JBoss AOP Parent POM 2.2.2.GA

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