public class IssueGVsIssueIterable extends Object implements IssuesIterable
EnclosedIterable.Functions, EnclosedIterable.ListResolver<T>| Constructor and Description |
|---|
IssueGVsIssueIterable(Collection<org.ofbiz.core.entity.GenericValue> issueGVs,
IssueFactory issueFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
foreach(Consumer<Issue> sink)
Apply the sink to all elements in the Collection.
|
boolean |
isEmpty() |
int |
size() |
String |
toString()
Return a user friendly message that identifies which issues this iterable holds.
|
public IssueGVsIssueIterable(Collection<org.ofbiz.core.entity.GenericValue> issueGVs, IssueFactory issueFactory)
public final void foreach(Consumer<Issue> sink)
EnclosedIterableforeach in interface EnclosedIterable<Issue>public int size()
size in interface EnclosedIterable<Issue>size in interface SizedEnclosedIterable.foreach(Consumer). Be careful depending on this size
being exact, as in many cases its best efforts value or may be unstable due to concurrent changes.public boolean isEmpty()
isEmpty in interface EnclosedIterable<Issue>isEmpty in interface Sizedpublic String toString()
IssuesIterableFor example, if there is a problem locking the Lucene index this method is used to log which issues could not be reindexed.
Hence, it is important to provide a useful implementation for this method.
toString in interface IssuesIterabletoString in class ObjectCopyright © 2002-2017 Atlassian. All Rights Reserved.