|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.springsource.util.common.StaticSetProvider<T>
T - type of elements of setpublic class StaticSetProvider<T>
An implementation of SetProvider that takes a static list of elements and returns them for every request for
a set.
| Field Summary | |
|---|---|
private java.util.Set<T> |
set
|
| Constructor Summary | |
|---|---|
StaticSetProvider(T... items)
|
|
| Method Summary | |
|---|---|
java.util.Set<T> |
getSet()
Implementations of this must provide thread safe sets for iteration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final java.util.Set<T> set
| Constructor Detail |
|---|
public StaticSetProvider(T... items)
| Method Detail |
|---|
public java.util.Set<T> getSet()
SetProvider
getSet in interface SetProvider<T>Set of service objects
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||