org.eclipse.xtext.scoping.impl
Class AbstractScope.ParentIterable
java.lang.Object
org.eclipse.xtext.scoping.impl.AbstractScope.ParentIterable
- All Implemented Interfaces:
- com.google.common.base.Predicate<IEObjectDescription>, java.lang.Iterable<IEObjectDescription>
- Enclosing class:
- AbstractScope
protected static class AbstractScope.ParentIterable
- extends java.lang.Object
- implements java.lang.Iterable<IEObjectDescription>, com.google.common.base.Predicate<IEObjectDescription>
Lazy iterable with a reasonable toString()
implementation that supports
shadowing of parents elements by means of filtering.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.google.common.base.Predicate |
equals |
AbstractScope.ParentIterable
protected AbstractScope.ParentIterable(AbstractScope scope,
com.google.inject.Provider<java.lang.Iterable<IEObjectDescription>> provider)
iterator
public java.util.Iterator<IEObjectDescription> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<IEObjectDescription>
apply
public boolean apply(IEObjectDescription input)
- Specified by:
apply
in interface com.google.common.base.Predicate<IEObjectDescription>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object