com.iparelan.util
Class WeakHashSet.WeakHashSetClassHolder

java.lang.Object
  extended by com.iparelan.util.WeakHashSet.WeakHashSetClassHolder
Enclosing class:
WeakHashSet<T>

private static final class WeakHashSet.WeakHashSetClassHolder
extends Object


Field Summary
private static Constructor<? extends Set> capacityAndLoadFactorCtor
           
private static Constructor<? extends Set> capacityCtor
           
private static Constructor<? extends Set> collectionCtor
           
private static Constructor<? extends Set> noArgCtor
           
private static Class<? extends Set> weakHashSetClass
           
 
Constructor Summary
private WeakHashSet.WeakHashSetClassHolder()
           
 
Method Summary
static
<T> Set<T>
newInstance()
           
static
<T> Set<T>
newInstance(Collection<? extends T> collection)
           
private static
<T> Set<T>
newInstance(Constructor<? extends Set> ctor, Object... initargs)
           
static
<T> Set<T>
newInstance(int initialCapacity)
           
static
<T> Set<T>
newInstance(int initialCapacity, float loadFactor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

weakHashSetClass

private static final Class<? extends Set> weakHashSetClass

noArgCtor

private static final Constructor<? extends Set> noArgCtor

collectionCtor

private static final Constructor<? extends Set> collectionCtor

capacityAndLoadFactorCtor

private static final Constructor<? extends Set> capacityAndLoadFactorCtor

capacityCtor

private static final Constructor<? extends Set> capacityCtor
Constructor Detail

WeakHashSet.WeakHashSetClassHolder

private WeakHashSet.WeakHashSetClassHolder()
Method Detail

newInstance

public static <T> Set<T> newInstance()

newInstance

public static <T> Set<T> newInstance(Collection<? extends T> collection)

newInstance

public static <T> Set<T> newInstance(int initialCapacity,
                                     float loadFactor)

newInstance

public static <T> Set<T> newInstance(int initialCapacity)

newInstance

private static <T> Set<T> newInstance(Constructor<? extends Set> ctor,
                                      Object... initargs)


Copyright © 2008 Iparelan Solutions, LLC. All rights reserved.