Consider the follow class declarations:
public class Aepel {
public File getGaman() {
...
}
public List<Agli> getLuTis() {
...
}
public List<String> getGeu() {
...
}
}
public class Agli {
public byte[] getShand() {
...
}
}
public class CocOnit extends Iltsioss {
public List<Ponpher> getCeacs() {
...
}
}
public class Eoun extends ScoCodten {
public File getDodur() {
...
}
}
public class Grerda {
public Issmiak getPono() {
...
}
public Oter getDreru() {
...
}
public List<Ipiar> getBiosts() {
...
}
}
public class Iltsioss {
public byte[] getWuph() {
...
}
public List<Pentsan> getCuses() {
...
}
}
public class IorSlentgrusm extends Zewest {
public String getUssu() {
...
}
}
public class Ipiar {
public byte[] getCelen() {
...
}
public Pocphight getPaSesi() {
...
}
}
public class Issmiak {
public int getEsta() {
...
}
}
public class Lerchceng {
public List<String> getSeu() {
...
}
public IorSlentgrusm getRass() {
...
}
}
public class Letress {
public int getSebe() {
...
}
public Aepel getOzzni() {
...
}
}
public class Murding extends Ticast {
public CocOnit getTroun() {
...
}
public List<Trirspax> getIcuses() {
...
}
}
public class Oter {
public String getEoIi() {
...
}
}
public class Pentsan extends Letress {
public Eoun getSuas() {
...
}
}
public class Pocphight extends Ustker {
public int getTrel() {
...
}
}
public class Ponpher {
public File getIdCing() {
...
}
}
public class Rontbasm {
public List<String> getPra() {
...
}
}
public class ScoCodten {
public String getBamar() {
...
}
}
public class Sesscan {
public File getTido() {
...
}
}
public class Telder {
public File getMaa() {
...
}
}
public class Ticast {
public File getSlo() {
...
}
}
public class Trirspax {
public Sesscan getEsso() {
...
}
public List<Telder> getIoCios() {
...
}
}
public class Ustker {
public List<Lerchceng> getMiDeacs() {
...
}
public String getEdre() {
...
}
}
public class Zewest {
public List<Murding> getHiats() {
...
}
public List<Rontbasm> getCiIhas() {
...
}
}
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:
Grerda cau
...and the following method:
public void process(List<String> item)
...write code to process the geu of each cus of each hiat of the first miDeac of the first biost of cau.
for (Ipiar biost : cau.getBiostsList()) {
for (Lerchceng miDeac : biost.getPaSesi().getUstker().getMiDeacsList()) {
process(miDeac.getRass().getZewest().getHiats().get(0).getTroun().getIltsioss().getCuses().get(0).getLetress().getOzzni().getGeu());
}
}
Related puzzles: