com.sun.hotspot.igv.layout.Cluster Java Examples

The following examples show how to use com.sun.hotspot.igv.layout.Cluster. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ClusterNode.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public ClusterNode(Cluster cluster, String name) {
    this.subNodes = new HashSet<Vertex>();
    this.subEdges = new HashSet<Link>();
    this.cluster = cluster;
    position = new Point(0, 0);
    this.name = name;
}
 
Example #2
Source File: Block.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public Set<? extends Cluster> getSuccessors() {
    Set<Block> succs = new HashSet<Block>();
    for (InputBlock b : inputBlock.getSuccessors()) {
        succs.add(diagram.getBlock(b));
    }
    return succs;
}
 
Example #3
Source File: Block.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public Set<? extends Cluster> getPredecessors() {
    Set<Block> succs = new HashSet<Block>();
    for (InputBlock b : inputBlock.getPredecessors()) {
        succs.add(diagram.getBlock(b));
    }
    return succs;
}
 
Example #4
Source File: Figure.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public Cluster getCluster() {
    if (getSource().getSourceNodes().size() == 0) {
        assert false : "Should never reach here, every figure must have at least one source node!";
        return null;
    } else {
        Cluster result = diagram.getBlock(diagram.getGraph().getBlock(getSource().getSourceNodes().get(0)));
        assert result != null;
        return result;
    }
}
 
Example #5
Source File: ClusterNode.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public ClusterNode(Cluster cluster, String name) {
    this.subNodes = new HashSet<Vertex>();
    this.subEdges = new HashSet<Link>();
    this.cluster = cluster;
    position = new Point(0, 0);
    this.name = name;
}
 
Example #6
Source File: Block.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public Set<? extends Cluster> getPredecessors() {
    Set<Block> succs = new HashSet<Block>();
    for (InputBlock b : inputBlock.getPredecessors()) {
        succs.add(diagram.getBlock(b));
    }
    return succs;
}
 
Example #7
Source File: Block.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public Set<? extends Cluster> getSuccessors() {
    Set<Block> succs = new HashSet<Block>();
    for (InputBlock b : inputBlock.getSuccessors()) {
        succs.add(diagram.getBlock(b));
    }
    return succs;
}
 
Example #8
Source File: Block.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public Set<? extends Cluster> getPredecessors() {
    Set<Block> succs = new HashSet<Block>();
    for (InputBlock b : inputBlock.getPredecessors()) {
        succs.add(diagram.getBlock(b));
    }
    return succs;
}
 
Example #9
Source File: Figure.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public Cluster getCluster() {
    if (getSource().getSourceNodes().size() == 0) {
        assert false : "Should never reach here, every figure must have at least one source node!";
        return null;
    } else {
        Cluster result = diagram.getBlock(diagram.getGraph().getBlock(getSource().getSourceNodes().get(0)));
        assert result != null;
        return result;
    }
}
 
Example #10
Source File: Figure.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public Cluster getCluster() {
    if (getSource().getSourceNodes().size() == 0) {
        assert false : "Should never reach here, every figure must have at least one source node!";
        return null;
    } else {
        Cluster result = diagram.getBlock(diagram.getGraph().getBlock(getSource().getSourceNodes().get(0)));
        assert result != null;
        return result;
    }
}
 
Example #11
Source File: ClusterNode.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public ClusterNode(Cluster cluster, String name) {
    this.subNodes = new HashSet<Vertex>();
    this.subEdges = new HashSet<Link>();
    this.cluster = cluster;
    position = new Point(0, 0);
    this.name = name;
}
 
Example #12
Source File: Block.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public Set<? extends Cluster> getSuccessors() {
    Set<Block> succs = new HashSet<Block>();
    for (InputBlock b : inputBlock.getSuccessors()) {
        succs.add(diagram.getBlock(b));
    }
    return succs;
}
 
Example #13
Source File: Block.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public Set<? extends Cluster> getPredecessors() {
    Set<Block> succs = new HashSet<Block>();
    for (InputBlock b : inputBlock.getPredecessors()) {
        succs.add(diagram.getBlock(b));
    }
    return succs;
}
 
Example #14
Source File: ClusterNode.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public ClusterNode(Cluster cluster, String name) {
    this.subNodes = new HashSet<Vertex>();
    this.subEdges = new HashSet<Link>();
    this.cluster = cluster;
    position = new Point(0, 0);
    this.name = name;
}
 
Example #15
Source File: Block.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public Set<? extends Cluster> getSuccessors() {
    Set<Block> succs = new HashSet<Block>();
    for (InputBlock b : inputBlock.getSuccessors()) {
        succs.add(diagram.getBlock(b));
    }
    return succs;
}
 
Example #16
Source File: Block.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public Set<? extends Cluster> getSuccessors() {
    Set<Block> succs = new HashSet<Block>();
    for (InputBlock b : inputBlock.getSuccessors()) {
        succs.add(diagram.getBlock(b));
    }
    return succs;
}
 
Example #17
Source File: Figure.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public Cluster getCluster() {
    if (getSource().getSourceNodes().size() == 0) {
        assert false : "Should never reach here, every figure must have at least one source node!";
        return null;
    } else {
        Cluster result = diagram.getBlock(diagram.getGraph().getBlock(getSource().getSourceNodes().get(0)));
        assert result != null;
        return result;
    }
}
 
Example #18
Source File: ClusterNode.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public ClusterNode(Cluster cluster, String name) {
    this.subNodes = new HashSet<Vertex>();
    this.subEdges = new HashSet<Link>();
    this.cluster = cluster;
    position = new Point(0, 0);
    this.name = name;
}
 
Example #19
Source File: Block.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public Set<? extends Cluster> getPredecessors() {
    Set<Block> succs = new HashSet<Block>();
    for (InputBlock b : inputBlock.getPredecessors()) {
        succs.add(diagram.getBlock(b));
    }
    return succs;
}
 
Example #20
Source File: Figure.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public Cluster getCluster() {
    if (getSource().getSourceNodes().size() == 0) {
        assert false : "Should never reach here, every figure must have at least one source node!";
        return null;
    } else {
        Cluster result = diagram.getBlock(diagram.getGraph().getBlock(getSource().getSourceNodes().get(0)));
        assert result != null;
        return result;
    }
}
 
Example #21
Source File: Block.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public Set<? extends Cluster> getSuccessors() {
    Set<Block> succs = new HashSet<Block>();
    for (InputBlock b : inputBlock.getSuccessors()) {
        succs.add(diagram.getBlock(b));
    }
    return succs;
}
 
Example #22
Source File: Block.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public Cluster getOuter() {
    return null;
}
 
Example #23
Source File: ClusterOutputSlotNode.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public void setCluster(Cluster c) {
    cluster = c;
}
 
Example #24
Source File: Block.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public int compareTo(Cluster o) {
    return toString().compareTo(o.toString());
}
 
Example #25
Source File: ClusterNode.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public Cluster getCluster() {
    return cluster;
}
 
Example #26
Source File: ClusterOutputSlotNode.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public void setCluster(Cluster c) {
    cluster = c;
}
 
Example #27
Source File: ClusterOutputSlotNode.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public Cluster getCluster() {
    return cluster;
}
 
Example #28
Source File: HierarchicalGraphLayout.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public Cluster getCluster() {
    return null;
}
 
Example #29
Source File: BlockWidget.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public Cluster getCluster() {
    return cluster;
}
 
Example #30
Source File: ClusterInputSlotNode.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public Cluster getCluster() {
    return cluster;
}