/** * Gets all the {@link BuildableItem}s that are waiting for an executor in the given {@link Computer}. */ public List<BuildableItem> getBuildableItems(Computer c) { Snapshot snapshot = this.snapshot; List<BuildableItem> result = new ArrayList<BuildableItem>(); _getBuildableItems(c, snapshot.buildables, result); _getBuildableItems(c, snapshot.pendings, result); return result; }
/** * Gets all the {@link BuildableItem}s that are waiting for an executor in * the given {@link Computer}. */ public synchronized List<BuildableItem> getBuildableItems(Computer c) { List<BuildableItem> result = new ArrayList<BuildableItem>(); _getBuildableItems(c, buildables, result); _getBuildableItems(c, pendings, result); return result; }
/** * Gets all the {@link BuildableItem}s that are waiting for an executor in the given {@link Computer}. */ public List<BuildableItem> getBuildableItems(Computer c) { Snapshot snapshot = this.snapshot; List<BuildableItem> result = new ArrayList<BuildableItem>(); _getBuildableItems(c, snapshot.buildables, result); _getBuildableItems(c, snapshot.pendings, result); return result; }
/** * Gets all the {@link BuildableItem}s that are waiting for an executor in the given {@link Computer}. */ public synchronized List<BuildableItem> getBuildableItems(Computer c) { List<BuildableItem> result = new ArrayList<BuildableItem>(); _getBuildableItems(c, buildables, result); _getBuildableItems(c, pendings, result); return result; }
/** * Gets all the {@link BuildableItem}s that are waiting for an executor in the given {@link Computer}. */ public synchronized List<BuildableItem> getBuildableItems(Computer c) { List<BuildableItem> result = new ArrayList<BuildableItem>(); _getBuildableItems(c, buildables, result); _getBuildableItems(c, pendings, result); return result; }
/** * Gets all the {@link BuildableItem}s that are waiting for an executor in the given {@link Computer}. */ public synchronized List<BuildableItem> getBuildableItems(Computer c) { List<BuildableItem> result = new ArrayList<BuildableItem>(); _getBuildableItems(c, buildables, result); _getBuildableItems(c, pendings, result); return result; }