@Override public List<String> getNodeKeys() { //return (String[]) properties.keySet().toArray(new String[properties.size()]); return MCollection.getEmptyList(); }
@Override public List<String> getPropertyKeys() { return MCollection.getEmptyList(); }
@Override public List<E> getNodes() { return MCollection.getEmptyList(); }
@Override public List<ResourceNode<?>> getNodes(String key) { return MCollection.getEmptyList(); }
@Override public List<String> getNodeKeys() { //return (String[]) properties.keySet().toArray(new String[properties.size()]); return MCollection.getEmptyList(); }
@Override public List<IConfig> getNodes() { return MCollection.getEmptyList(); }
@Override public List<IConfig> getNodes(String key) { return MCollection.getEmptyList(); }
@Override public List<String> getNodeKeys() { return MCollection.getEmptyList(); }
@Override public List<String> getPropertyKeys() { return MCollection.getEmptyList(); }
@Override public List<String> getNodeKeys() { return MCollection.getEmptyList(); }
@Override public List<IConfig> getNodes(String key) { return MCollection.getEmptyList(); }
@Override public List<IConfig> getNodes() { return MCollection.getEmptyList(); }
@Override public List<E> getNodes(String key) { return MCollection.getEmptyList(); }
@Override public List<ResourceNode<?>> getNodes() { return MCollection.getEmptyList(); }
@Override public List<IConfig> getNodes(String key) { LinkedList<IConfig> list = children.get(key); if (list == null || list.size() == 0) return MCollection.getEmptyList(); return MCollection.toReadOnlyList(list); }
@Override public List<IConfig> getNodes(String name) { JsonNode child = node.get(name); if (child==null || !child.isArray()) return MCollection.getEmptyList(); LinkedList<IConfig> out = new LinkedList<>(); for (int i = 0; i < child.size(); i++) { out.add( new JsonConfig(name, this, child.get(i)) ); } return out; }
@Override public List<CaoNode> getNodes() { try { AdbNodeData[] childData = ((AdbCore)core).getChildren(data.getId()); LinkedList<CaoNode> out = new LinkedList<>(); for (int i = 0; i < childData.length; i++) out.add( new AdbNode(core, this, childData[i]) ); return out; } catch (MException e) { log().d(e); } return MCollection.getEmptyList(); }
@Override public List<CaoNode> getNodes(String key) { try { AdbNodeData[] childData = ((AdbCore)core).getChildren(data.getId(), key); LinkedList<CaoNode> out = new LinkedList<>(); for (int i = 0; i < childData.length; i++) out.add( new AdbNode(core, this, childData[i]) ); return out; } catch (MException e) { log().d(e); } return MCollection.getEmptyList(); }