Consider the follow class declarations:
public class Ards {
public List<Sexcros> getPehals() {
...
}
public List<String> getCin() {
...
}
}
public class Biastcass {
public byte[] getGle() {
...
}
}
public class Blurmdoss extends Forcai {
public List<String> getOorad() {
...
}
}
public class Chrind extends Hiamad {
public Glast getSismi() {
...
}
public Blurmdoss getPlian() {
...
}
}
public class CluPrun {
public List<String> getThes() {
...
}
}
public class Curne {
public File getIte() {
...
}
public List<Hawdal> getTistis() {
...
}
}
public class Forcai {
public File getLiemo() {
...
}
public List<Seee> getWaks() {
...
}
}
public class Glast {
public File getAdpah() {
...
}
}
public class Hawdal extends Chrind {
public Ards getNivil() {
...
}
public Mongpre getDoung() {
...
}
}
public class Hiamad extends Biastcass {
public int getVeler() {
...
}
}
public class Ilrost {
public List<String> getToar() {
...
}
}
public class Mongpre {
public String getSio() {
...
}
}
public class NalHephle extends Spightslo {
public Veso getMiu() {
...
}
}
public class Pseack extends Trel {
public Ilrost getGiddu() {
...
}
}
public class Riamtoin {
public List<Slapu> getSooses() {
...
}
public Curne getNaSphe() {
...
}
}
public class Seee {
public String getUsIoklu() {
...
}
public List<NalHephle> getLonwas() {
...
}
}
public class Selges {
public List<String> getClil() {
...
}
public List<Pseack> getIclems() {
...
}
}
public class Sexcros {
public int getHarni() {
...
}
}
public class Slapu {
public List<CluPrun> getFeseos() {
...
}
public File getRocic() {
...
}
}
public class Spightslo {
public File getBeUn() {
...
}
public List<String> getRiu() {
...
}
}
public class Trel {
public Riamtoin getUung() {
...
}
public File getTes() {
...
}
}
public class Veso {
public List<String> getSuSesen() {
...
}
}
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:
Selges me
...and the following method:
public void process(List<String> item)
...write code to process the riu of the first lonwa of each wak of each tisti of each iclem of me.
for (NalHephle lonwa : me.getIclems().get(0).getTrel().getUung().getNaSphe().getTistis().get(0).getChrind().getPlian().getForcai().getWaks().get(0).getLonwasList()) {
process(lonwa.getSpightslo().getRiu());
}
Related puzzles: