What does this code mean?

Posted by joseph on Stack Overflow See other posts from Stack Overflow or by joseph
Published on 2010-03-24T00:13:28Z Indexed on 2010/03/24 0:23 UTC
Read the original article Hit count: 412

Filed under:
|

Hello, I do not know, what is function of code lookups.singleton in code below

public class ProjectNode extends AbstractNode {

public ProjectNode(MainProject obj, ProjectsChildren children) {
    super (children, Lookups.singleton(obj));
    setDisplayName ( obj.getName());
}
}

© Stack Overflow or respective owner

Related posts about java

Related posts about netbeans