Package com.jackmeng.core.util
Class use_Pool<T extends impl_Identifiable>
java.lang.Object
com.jackmeng.core.util.use_Pool<T>
- All Implemented Interfaces:
- Iterable<T>
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate impl_Guard<T>private final List<impl_HalcyonRefreshable<use_Struct.struct_Pair<Optional<String>,Optional<T>>>> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddPoolObject(T object) voidaddRefreshable(impl_HalcyonRefreshable<use_Struct.struct_Pair<Optional<String>, Optional<T>>> content) booleancontains_objOf_T(Class<? extends T> e) expose()booleaniterator()private voidnotifyRefreshers(const_GeneralStatus type, use_Struct.struct_Pair<Optional<String>, Optional<T>> removed) objs()voidremovePoolObj(T e) voidvoidremoveRefreshable(impl_HalcyonRefreshable<use_Struct.struct_Pair<Optional<String>, Optional<T>>> content) voidsetGuard(impl_Guard<T> e) voidsetRefreshableGuard(impl_Guard<impl_HalcyonRefreshable<use_Struct.struct_Pair<Optional<String>, Optional<T>>>> e) toString()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Field Details- 
poolObjects
- 
refreshablesprivate final List<impl_HalcyonRefreshable<use_Struct.struct_Pair<Optional<String>,Optional<T extends impl_Identifiable>>>> refreshables
- 
guardsprivate impl_Guard<impl_HalcyonRefreshable<use_Struct.struct_Pair<Optional<String>,Optional<T extends impl_Identifiable>>>> guards
- 
guards2
 
- 
- 
Constructor Details- 
use_Poolpublic use_Pool()
 
- 
- 
Method Details- 
removeRefreshablepublic void removeRefreshable(impl_HalcyonRefreshable<use_Struct.struct_Pair<Optional<String>, Optional<T>>> content) - Parameters:
- content-
 
- 
addRefreshablepublic void addRefreshable(impl_HalcyonRefreshable<use_Struct.struct_Pair<Optional<String>, Optional<T>>> content) - Parameters:
- content-
 
- 
setRefreshableGuardpublic void setRefreshableGuard(impl_Guard<impl_HalcyonRefreshable<use_Struct.struct_Pair<Optional<String>, Optional<T>>>> e) 
- 
setGuard
- 
addPoolObject- Parameters:
- object-
 
- 
removePoolObject_ID- Parameters:
- id-
 
- 
removePoolObj
- 
objOf_T
- 
hasObj
- 
contains_objOf_T
- 
objs- Returns:
- Set:String
 
- 
expose- Returns:
- Map:[String, T]
 
- 
get- Parameters:
- id-
- Returns:
- T
 
- 
notifyRefreshersprivate void notifyRefreshers(const_GeneralStatus type, use_Struct.struct_Pair<Optional<String>, Optional<T>> removed) - Parameters:
- removed-
 
- 
toString
- 
iterator- Specified by:
- iteratorin interface- Iterable<T extends impl_Identifiable>
 
 
-