/** * Returns all {@link Part}s of the {@link PartTree} of the given {@link Type}. * * @param type * @return */ public Streamable<Part> getParts(Type type) { return getParts().filter(part -> part.getType().equals(type)); }
/** * Returns all {@link Part}s of the {@link PartTree} of the given {@link Type}. * * @param type * @return */ public Streamable<Part> getParts(Type type) { return getParts().filter(part -> part.getType().equals(type)); }