public class ChildIterableImpl<T> extends Object implements ChildIterable<T>
Modifier and Type | Method and Description |
---|---|
T |
byKey(String key)
Gets the child with the given key.
|
Iterable<ServiceHandle<T>> |
handleIterator()
Returns an iterator of the children's Service
Handle, rather than their services
|
Iterator<T> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public T byKey(String key)
ChildIterable
ChildInject.separator()
fieldbyKey
in interface ChildIterable<T>
key
- The non-null key of the child to getpublic Iterable<ServiceHandle<T>> handleIterator()
ChildIterable
handleIterator
in interface ChildIterable<T>
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.