Consider the follow class declarations:
public class Astal {
public String getSenpo() {
...
}
}
public class Astpe {
public String getSelri() {
...
}
}
public class Camess extends Astpe {
public List<Renmas> getOonjis() {
...
}
public VeaBridic getClac() {
...
}
}
public class Cetig {
public Eknol getSaRhic() {
...
}
public Sidpo getWoSesca() {
...
}
}
public class Chur {
public List<Slen> getTrapos() {
...
}
public List<IueEarer> getOcbis() {
...
}
}
public class EacIast {
public byte[] getIol() {
...
}
public List<String> getPoont() {
...
}
}
public class Ednin extends Ordtro {
public String getDein() {
...
}
}
public class Eknol {
public List<Leslul> getOces() {
...
}
public File getCloae() {
...
}
}
public class Hitper {
public int getDiog() {
...
}
public Astal getUec() {
...
}
}
public class IueEarer extends Qelfrias {
public Sille getJave() {
...
}
}
public class Leslul {
public File getCect() {
...
}
}
public class Mocporn extends PleAismon {
public List<String> getMio() {
...
}
}
public class Ordtro {
public Tism getSio() {
...
}
public List<String> getProrm() {
...
}
}
public class PleAismon {
public List<Cetig> getVonucs() {
...
}
public Camess getWaic() {
...
}
}
public class Qelfrias {
public int getSiVirre() {
...
}
}
public class Renmas {
public List<String> getChunt() {
...
}
public List<Saioc> getEscris() {
...
}
}
public class Saioc {
public EacIast getEmCoust() {
...
}
public int getThans() {
...
}
}
public class Sidpo {
public String getImUde() {
...
}
}
public class Sille extends Mocporn {
public int getSlec() {
...
}
}
public class Slen {
public byte[] getAen() {
...
}
}
public class Tism {
public List<Chur> getGles() {
...
}
public File getPiFurd() {
...
}
}
public class VeaBridic {
public byte[] getSposs() {
...
}
public List<Hitper> getKePimams() {
...
}
}
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:
Ednin uss
...and the following method:
public void process(List<String> item)
...write code to process the poont of the first escri of each oonji of each ocbi of each gle of uss.
for (Saioc escri : uss.getOrdtro().getSio().getGles().get(0).getOcbis().get(0).getJave().getMocporn().getPleAismon().getWaic().getOonjis().get(0).getEscrisList()) {
process(escri.getEmCoust().getPoont());
}
Related puzzles: