Consider the follow class declarations:
public class Aibor {
public byte[] getChel() {
...
}
}
public class Asmin {
public int getPsics() {
...
}
}
public class Asmre {
public File getPaBirha() {
...
}
}
public class Besmrurg {
public List<String> getBirm() {
...
}
}
public class Bilstrac {
public String getBrior() {
...
}
public List<SceIin> getLuails() {
...
}
}
public class Cafac {
public List<Marmo> getAaPefas() {
...
}
public String getSas() {
...
}
}
public class CelUmiod {
public List<String> getPoous() {
...
}
}
public class Freflis extends Wose {
public File getTrie() {
...
}
}
public class Fuern {
public Cafac getMidu() {
...
}
public List<Besmrurg> getAengs() {
...
}
public List<LilEca> getPeces() {
...
}
}
public class Gojel extends Swashond {
public String getCou() {
...
}
}
public class Issa {
public Ousprosm getZolra() {
...
}
public byte[] getCoc() {
...
}
}
public class Lauer extends Asmin {
public Fuern getCherd() {
...
}
}
public class LilEca extends Freflis {
public String getNuUrm() {
...
}
}
public class Marmo {
public File getOent() {
...
}
}
public class Mendac {
public File getCrint() {
...
}
}
public class Oidin extends Issa {
public String getUspu() {
...
}
}
public class Ongcrec {
public Gojel getRint() {
...
}
public byte[] getObel() {
...
}
}
public class Ousprosm extends Runtto {
public Aibor getAng() {
...
}
public Sper getHiest() {
...
}
public int getAli() {
...
}
}
public class Rair extends Asmre {
public File getFlens() {
...
}
}
public class Runtto {
public File getPords() {
...
}
}
public class SceIin {
public List<Rair> getDimips() {
...
}
public List<Ongcrec> getIoVucks() {
...
}
public CelUmiod getCesa() {
...
}
}
public class Sper {
public File getLaif() {
...
}
}
public class Swashond {
public List<Oidin> getEsIrcs() {
...
}
public List<String> getSqar() {
...
}
}
public class Wose {
public List<Mendac> getAests() {
...
}
public Bilstrac getCecid() {
...
}
}
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:
Lauer em
...and the following method:
public void process(int item)
...write code to process the ali of the first esIrc of each ioVuck of each luail of the first pece of em.
for (LilEca pece : em.getCherd().getPecesList()) {
for (Oidin esIrc : pece.getFreflis().getWose().getCecid().getLuails().get(0).getIoVucks().get(0).getRint().getSwashond().getEsIrcsList()) {
process(esIrc.getIssa().getZolra().getAli());
}
}
Related puzzles: