Consider the follow class declarations:
public class Arpso {
public File getRuPla() {
...
}
}
public class Blenchdud {
public Ermes getToos() {
...
}
public List<Niel> getPurms() {
...
}
}
public class Ecfe {
public Ropriat getErm() {
...
}
public byte[] getIxBacs() {
...
}
}
public class Ermes extends Flechtouc {
public List<Irmwen> getMePerds() {
...
}
}
public class Flechtouc {
public Iceng getIol() {
...
}
public Nung getIntfe() {
...
}
}
public class GlaVilweo extends Proprel {
public List<RorScillpre> getNecs() {
...
}
public File getFengi() {
...
}
}
public class Haea {
public String getMuee() {
...
}
public NuiMaa getBiCeal() {
...
}
}
public class Iceng extends GlaVilweo {
public List<Arpso> getDefras() {
...
}
}
public class Irmwen {
public List<String> getSmin() {
...
}
}
public class Mosce {
public int getAdsis() {
...
}
}
public class Niel {
public List<String> getLupec() {
...
}
}
public class NuiMaa extends Siste {
public Pomro getHaeas() {
...
}
public List<Ecfe> getLoses() {
...
}
}
public class Nung {
public File getMavi() {
...
}
}
public class Pomro {
public File getCoTrint() {
...
}
}
public class Proprel {
public List<String> getPlem() {
...
}
}
public class Ropriat extends Wetgo {
public Mosce getJevec() {
...
}
}
public class RorScillpre {
public Spel getArmo() {
...
}
public int getPeRodi() {
...
}
}
public class Siste {
public int getNai() {
...
}
}
public class Spel {
public String getIot() {
...
}
}
public class Sphongthua extends Unan {
public String getSopos() {
...
}
}
public class Unan {
public List<Haea> getStiros() {
...
}
public String getTisma() {
...
}
}
public class Wetgo {
public List<Blenchdud> getAtNas() {
...
}
public int getMaTa() {
...
}
}
Draw a diagram showing the class relationships.
You only need to diagram the classes listed above. You only need to show the name of each class; do not show their methods or properties.
Draw arrows between the classes that have relationships, and label each arrow with one of the following:
Make sure your arrows point in the correct direction!
Given the following variable:
Sphongthua no
...and the following method:
public void process(File item)
...write code to process the fengi of each atNa of the first los of the first stiro of no.
for (Haea stiro : no.getUnan().getStirosList()) {
for (Ecfe los : stiro.getBiCeal().getLosesList()) {
process(los.getErm().getWetgo().getAtNas().get(0).getToos().getFlechtouc().getIol().getGlaVilweo().getFengi());
}
}
Related puzzles: