Consider the follow class declarations:
public class Aone {
public File getOol() {
...
}
public Ocvein getErm() {
...
}
public byte[] getWrerm() {
...
}
}
public class ArdBrusmro {
public int getOncec() {
...
}
public List<Psatmian> getEmids() {
...
}
}
public class Celsec extends Hepis {
public List<JesPra> getSaIases() {
...
}
public List<OssLirgir> getCaEnts() {
...
}
}
public class Criasmang extends Spivo {
public Moupo getCim() {
...
}
}
public class Heclen {
public byte[] getCupru() {
...
}
}
public class Hepis {
public List<String> getSicem() {
...
}
public Slole getTeci() {
...
}
}
public class Ichscuest {
public byte[] getCruad() {
...
}
}
public class JeoMic {
public Celsec getOnEs() {
...
}
public File getAnBeded() {
...
}
}
public class JesPra extends Heclen {
public int getToudi() {
...
}
}
public class KriClent {
public List<JeoMic> getOuns() {
...
}
public File getPhe() {
...
}
}
public class Moupo {
public byte[] getCuCo() {
...
}
}
public class Ocvein {
public byte[] getCei() {
...
}
}
public class OssLirgir {
public int getSouri() {
...
}
}
public class Psatmian extends KriClent {
public int getEnGom() {
...
}
}
public class Seng extends Aone {
public Sirass getPausm() {
...
}
public List<Ichscuest> getAccoas() {
...
}
}
public class Sirass {
public int getBeUld() {
...
}
}
public class Slole {
public List<Seng> getFilbis() {
...
}
public Torphra getPid() {
...
}
}
public class Spivo {
public ArdBrusmro getPemi() {
...
}
public List<UssLilooct> getSeses() {
...
}
}
public class Torphra {
public List<String> getSeSarun() {
...
}
}
public class UssLilooct {
public List<String> getMibe() {
...
}
}
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:
Criasmang saro
...and the following method:
public void process(byte[] item)
...write code to process the wrerm of the first filbi of each oun of each emid of saro.
for (Seng filbi : saro.getSpivo().getPemi().getEmids().get(0).getKriClent().getOuns().get(0).getOnEs().getHepis().getTeci().getFilbisList()) {
process(filbi.getAone().getWrerm());
}
Related puzzles: