Class ChildIterableImpl<T>
java.lang.Object
org.glassfish.hk2.configuration.internal.ChildIterableImpl<T>
- All Implemented Interfaces:
Iterable<T>, ChildIterable<T>
- Author:
- jwells
-
Method Summary
Modifier and TypeMethodDescriptionGets the child with the given key.Returns an iterator of the children's Service Handle, rather than their servicesiterator()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
iterator
-
byKey
Description copied from interface:ChildIterableGets the child with the given key. The separator used to determine the full suffix to look for in the child is given by theChildInject.separator()field- Specified by:
byKeyin interfaceChildIterable<T>- Parameters:
key- The non-null key of the child to get- Returns:
- The child who has the given key
-
handleIterator
Description copied from interface:ChildIterableReturns an iterator of the children's Service Handle, rather than their services- Specified by:
handleIteratorin interfaceChildIterable<T>- Returns:
- the iterator
-