public List<String> formats() { final List<IBookCollection.FormatDescriptor> descriptors = myCollection.formats(); final List<String> serialized = new ArrayList<String>(descriptors.size()); for (IBookCollection.FormatDescriptor d : descriptors) { serialized.add(Util.formatDescriptorToString(d)); } return serialized; }
public List<Author> call() throws RemoteException { final List<String> strings = myInterface.authors(); final List<Author> authors = new ArrayList<Author>(strings.size()); for (String s : strings) { authors.add(Util.stringToAuthor(s)); } return authors; } });
public List<FormatDescriptor> call() throws RemoteException { final List<String> serialized = myInterface.formats(); final List<FormatDescriptor> formats = new ArrayList<FormatDescriptor>(serialized.size()); for (String s : serialized) { formats.add(Util.stringToFormatDescriptor(s)); } return formats; } });
public List<String> authors() { LogInfo.I(""); final List<Author> authors = myCollection.authors(); final List<String> strings = new ArrayList<String>(authors.size()); for (Author a : authors) { strings.add(Util.authorToString(a)); } return strings; }
public List<String> tags() { final List<Tag> tags = myCollection.tags(); final List<String> strings = new ArrayList<String>(tags.size()); for (Tag t : tags) { strings.add(Util.tagToString(t)); } return strings; }
public List<Tag> call() throws RemoteException { final List<String> strings = myInterface.tags(); final List<Tag> tags = new ArrayList<Tag>(strings.size()); for (String s : strings) { tags.add(Util.stringToTag(s)); } return tags; } });
public List<String> authors() { LogInfo.I(""); final List<Author> authors = myCollection.authors(); final List<String> strings = new ArrayList<String>(authors.size()); for (Author a : authors) { strings.add(Util.authorToString(a)); } return strings; }
public List<String> tags() { final List<Tag> tags = myCollection.tags(); final List<String> strings = new ArrayList<String>(tags.size()); for (Tag t : tags) { strings.add(Util.tagToString(t)); } return strings; }
public List<Tag> call() throws RemoteException { final List<String> strings = myInterface.tags(); final List<Tag> tags = new ArrayList<Tag>(strings.size()); for (String s : strings) { tags.add(Util.stringToTag(s)); } return tags; } });
public List<String> formats() { final List<IBookCollection.FormatDescriptor> descriptors = myCollection.formats(); final List<String> serialized = new ArrayList<String>(descriptors.size()); for (IBookCollection.FormatDescriptor d : descriptors) { serialized.add(Util.formatDescriptorToString(d)); } return serialized; }
public List<FormatDescriptor> call() throws RemoteException { final List<String> serialized = myInterface.formats(); final List<FormatDescriptor> formats = new ArrayList<FormatDescriptor>(serialized.size()); for (String s : serialized) { formats.add(Util.stringToFormatDescriptor(s)); } return formats; } });
public List<Author> call() throws RemoteException { final List<String> strings = myInterface.authors(); final List<Author> authors = new ArrayList<Author>(strings.size()); for (String s : strings) { authors.add(Util.stringToAuthor(s)); } return authors; } });