View unanswered posts | View active topics It is currently 2022-08-17 17:35



This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
 Node,Link 
Author Message
初级会员

Joined: 2011-01-17 14:53
Posts: 89
Post Node,Link
TWaver Android中:
Node的创建Node node = new Node();
构造函数只有一个,且没有参数,没有java版中的ID,Node只有一个setName方法,Name唯一标识一个Node吗?
如何通过唯一标识查找网元?Name?还是我们自己维护一个Map存放?


2014-04-15 13:02
Profile
白金会员

Joined: 2013-05-20 10:09
Posts: 1045
Post Re: Node,Link
这个需要用户自己去维护一个标识,如果想要根据标识查找,可以用QuickFinder。
Code:
Node node = new Node();
node.setStyle("mappingId", "1111");
box.add(node);
QuickFinder<Element> finder = new QuickFinder(box, "mappingId",Consts.PROPERTY_TYPE_CLIENT);
List<Element> elements = finder.find("myName");


2014-04-17 11:07
Profile
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: