Examples of Group

@author Robert "kebernet" Cooper
  • org.sbml.jsbml.ext.groups.Group
    @author Nicolas Rodriguez @author Clemens Wrzodek @since 1.0 @version $Rev: 1639 $
  • org.sbml.jsbml.ext.render.Group
    @author Eugen Netz @author Alexander Diamantikos @author Jakob Matthes @author Jan Rudolph @version $Rev: 1639 $ @since 1.0 @date 08.05.2012
  • org.springframework.data.neo4j.Group
  • org.springframework.data.neo4j.aspects.Group
  • org.springframework.data.neo4j.model.Group
  • org.structr.core.entity.Group
    @author amorgner
  • org.uberfire.backend.group.Group
  • org.voltdb.catalog.Group
  • org.wildfly.clustering.group.Group
    Represents a groups of nodes. @author Paul Ferraro
  • org.xith3d.scenegraph.Group
  • org.zkoss.zul.Group
    Adds the ability for single level grouping to the Grid.

    Available in ZK PE and EE.

    Event:

    1. onOpen is sent when this listgroup is opened or closed by user.

    Default {@link #getZclass}: z-group.

    Note: All the child of this component are automatically applied the group-cell CSS, if you don't want this CSS, you can invoke the {@link Label#setSclass(String)}after the child added. @author jumperchen @since 3.5.0

  • project.entities.institute.Group
  • projectatlast.group.Group
  • quickfix.Group
  • ro.isdc.wro.model.group.Group
    A group is an entity holding a list of resources.

    This class is thread safe. @author Alex Objelean @created Created on Oct 30, 2008

  • ru.org.linux.group.Group
  • simpleserver.config.xml.Group
  • sk.netmap.bo.Group
    BO group of servers @author Matej Zachar, $Date: 2006-04-23 20:42:47 +0000 (Ne, 23 apr 2006) $
  • storm.trident.graph.Group
  • tripleplay.ui.Group
    A grouping element that contains other elements and lays them out according to a layout policy.
  • ua.ck.geekhub.entity.Group
    Created by Vladimir on 3/11/14.
  • ucar.nc2.Group
    A Group is a logical collection of Variables. The Groups in a Dataset form a hierarchical tree, like directories on a disk. A Group has a name and optionally a set of Attributes. There is always at least one Group in a dataset, the root Group, whose name is the empty string.

    Immutable if setImmutable() was called. @author caron

  • xregistry.group.Group
    Represent a Group, group may have Users and child groups. The symantics of child groups are resolved by assuming of foo is in G1 and G1 is in G2, it is same as foo is in G1 (G1,G2 are groups and foo is a user). @author Srinath Perera(hperera@cs.indiana.edu)
  • zendeskapi.models.groups.Group
    @author jgroth

  • Examples of com.sun.hotspot.igv.data.Group

            return createDiff(a, b, pairs);
        }

        private static InputGraph createDiff(InputGraph a, InputGraph b, Set<Pair> pairs) {
            Group g = new Group();
            g.setMethod(a.getGroup().getMethod());
            g.setAssembly(a.getGroup().getAssembly());
            g.getProperties().setProperty("name", "Difference");
            InputGraph graph = new InputGraph(g, null);
            graph.setName(a.getName() + ", " + b.getName());
            graph.setIsDifferenceGraph(true);

            Set<InputNode> nodesA = new HashSet<InputNode>(a.getNodes());
            Set<InputNode> nodesB = new HashSet<InputNode>(b.getNodes());

            Map<InputNode, InputNode> inputNodeMap = new HashMap<InputNode, InputNode>();
            for (Pair p : pairs) {
                InputNode n = p.getN1();
                assert nodesA.contains(n);
                InputNode nB = p.getN2();
                assert nodesB.contains(nB);

                nodesA.remove(n);
                nodesB.remove(nB);
                InputNode n2 = new InputNode(n);
                inputNodeMap.put(n, n2);
                inputNodeMap.put(nB, n2);
                graph.addNode(n2);
                markAsChanged(n2, n, nB);
            }

            for (InputNode n : nodesA) {
                InputNode n2 = new InputNode(n);
                graph.addNode(n2);
                markAsNew(n2);
                inputNodeMap.put(n, n2);
            }

            for (InputNode n : nodesB) {
                InputNode n2 = new InputNode(n);
                n2.setId(-n2.getId());
                graph.addNode(n2);
                markAsDeleted(n2);
                inputNodeMap.put(n, n2);
            }

            Collection<InputEdge> edgesA = a.getEdges();
            Collection<InputEdge> edgesB = b.getEdges();

            Set<InputEdge> newEdges = new HashSet<InputEdge>();

            for (InputEdge e : edgesA) {
                int from = e.getFrom();
                int to = e.getTo();
                InputNode nodeFrom = inputNodeMap.get(a.getNode(from));
                InputNode nodeTo = inputNodeMap.get(a.getNode(to));
                char index = e.getToIndex();

                InputEdge newEdge = new InputEdge(index, nodeFrom.getId(), nodeTo.getId());
                if (!newEdges.contains(newEdge)) {
                    markAsNew(newEdge);
                    newEdges.add(newEdge);
                    graph.addEdge(newEdge);
                }
            }

            for (InputEdge e : edgesB) {
                int from = e.getFrom();
                int to = e.getTo();
                InputNode nodeFrom = inputNodeMap.get(b.getNode(from));
                InputNode nodeTo = inputNodeMap.get(b.getNode(to));
                char index = e.getToIndex();

                InputEdge newEdge = new InputEdge(index, nodeFrom.getId(), nodeTo.getId());
                if (!newEdges.contains(newEdge)) {
                    markAsDeleted(newEdge);
                    newEdges.add(newEdge);
                    graph.addEdge(newEdge);
                } else {
                    newEdges.remove(newEdge);
                    graph.removeEdge(newEdge);
                    markAsSame(newEdge);
                    newEdges.add(newEdge);
                    graph.addEdge(newEdge);
                }
            }

            g.addGraph(graph);
            return graph;
        }
    View Full Code Here

    Examples of com.taobao.metamorphosis.tools.domain.Group

        final Set<String> set = iniConfig.keySet();
        List<Group> newGroupList = new LinkedList<Group>();
            for (final String name : set) {
                if (name != null && name.startsWith("group=")) {
                  final Section section = iniConfig.get(name);
                  Group group = new Group();
                  group.setGroup(name.substring("group=".length()));
                    group.setMobileList(Arrays.asList(section.get("mobile").split(",")));
                    group.setTopicList(Arrays.asList(section.get("topic").split(",")));
                    group.setWwList(Arrays.asList(section.get("ww").split(",")));
                    if(!StringUtils.isBlank(section.get("ignoreTopic"))){
                      group.setIgnoreTopicList(Arrays.asList(section.get("ignoreTopic").split(",")))
                    }
                    newGroupList.add(group);
                }
            }
            if(!this.groupList.equals(newGroupList)){
    View Full Code Here

    Examples of com.taskadapter.redmineapi.bean.Group

        return result;
      }
     
      public static Group parseGroup(JSONObject content) throws JSONException {
        final Group result = GroupFactory.create(JsonInput.getIntOrNull(content, "id"));
        result.setName(JsonInput.getStringOrNull(content, "name"));
        return result;
      }
    View Full Code Here

    Examples of com.tek42.perforce.model.Group

    * @author Mike
    *         Date: Jul 21, 2008 2:44:07 PM
    */
    public class GroupBuilder extends AbstractFormBuilder<Group> {
      public Group buildForm(Map<String, String> fields) throws PerforceException {
        Group group = new Group();
        group.setName(getField("Group", fields));
        group.setMaxLockTime(getField("MaxLockTime", fields));
        group.setMaxResults(getField("MaxResults", fields));
        group.setMaxScanRows(getField("MaxScanRows", fields));

        String value = getField("Timeout", fields);
        if(value.equals(""))
          value = "0";

        group.setTimeout(Long.parseLong(value));
        group.setUsers(getFieldAsList("Users", fields));
        group.setSubgroups(getFieldAsList("Subgroups", fields));
        group.setOwners(getFieldAsList("Owners", fields));

        return group;
      }
    View Full Code Here

    Examples of com.tinygo.logic.Group

                boolean notify;
                int pos = game.board.pos(cursorX, cursorY);
                if (game.board.get(pos) == Board.NONE) {
                    notify = super.doPlay();
                } else {
                    Group group = new Group(game.board.maxPos());
                    game.board.getGroup(pos, group);
                    if (game.board.isBit(pos, Board.M_CAPTURED))
                        game.board.clearBit(group, Board.M_CAPTURED);
                    else
                        game.board.setBit(group, Board.M_CAPTURED);
    View Full Code Here

    Examples of com.volantis.cache.group.Group

            CacheBuilder builder = factory.createCacheBuilder();
            builder.setClock(clockMock);
            builder.setObjectProvider(providerMock);
            builder.setMaxCount(Integer.MAX_VALUE);
            InternalCache cache = (InternalCache) builder.buildCache();
            Group root = cache.getRootGroup();

            // =====================================================================
            //   Set Expectations
            // =====================================================================

            addProviderExpectation(key1, null,
                    new ProviderResult(value1, root, true, null));

            clockMock.expects.getCurrentTime().returns(Time.inMilliSeconds(1010));

            // =====================================================================
            //   Test Expectations
            // =====================================================================

            Object object;

            // Check the cache integrity.
            ensureCacheIntegrity(cache);

            object = cache.retrieve(key1);
            assertSame(value1, object);

            // Check the cache integrity.
            ensureCacheIntegrity(cache);

            object = cache.retrieve(key1);
            assertSame(value1, object);

            // Check the cache integrity.
            ensureCacheIntegrity(cache);

            StatisticsSnapshot snapshot = root.getStatisticsSnapshot();
            assertEquals(1, snapshot.getEntryCount());
            assertEquals(Time.inMilliSeconds(1010), snapshot.getGatherTime());
            assertEquals(Period.inMilliSeconds(1010), snapshot.getPeriod());
            assertEquals(1, snapshot.getHitCount());
            assertEquals(1, snapshot.getMissedAddedCount());
    View Full Code Here

    Examples of com.zack6849.alphabot.api.Group

        @Override
        public boolean execute(MessageEvent event) {
            event.getChannel().send().message("Test!");
            event.getChannel().send().message("User Level : " + event.getUser().getUserLevels(event.getChannel()).toString());
            event.getChannel().send().message("Group: " + manager.getUserGroup(event.getUser()).getName());
            Group g = manager.getUserGroup(event.getUser());
            return true;
        }
    View Full Code Here

    Examples of cu.ftpd.user.groups.Group

        }

        public void execute(String[] parameterList, Connection connection, User user, FileSystem fs) {
            if (user.hasPermission(UserPermission.GROUPS) && user.hasPermission(UserPermission.USEREDIT)) {
                try {
                    Group g = ServiceManager.getServices().getUserbase().getGroup(parameterList[2]);
                    User u = ServiceManager.getServices().getUserbase().getUser(parameterList[1]);
                    if (add) {
                        u.addGroup(g.getName()); // must be a member of the group you are adminning
                        u.addGadminForGroup(g.getName());
                    } else {
                        u.removeGadminForGroup(g.getName());
                    }
                    connection.respond("200 Operation completed successfully.");
                } catch (NoSuchGroupException e) {
                    connection.respond("550 " + e.getMessage());
                } catch (NoSuchUserException e) {
    View Full Code Here

    Examples of cu.repsystestbed.entities.Group

          /*
           * @relation group
           * @attribute groupdId NUMERIC
           * @attribute numberAgents NUMERIC
           */
          Group g = new Group(groupInstance[0].intValue(), groupInstance[1].intValue());
          groups.add(g);
        }
       
        //parse and create group-strategy assignments
        source = new DataSource(strGrpFileName);
        instances = source.getDataSet();
        enu = instances.enumerateInstances();
        while(enu.hasMoreElements())
        {
          Instance temp = (Instance)enu.nextElement();
          logger.info("Parsing " + temp);
          if(temp.numValues()!=3) throw new Exception("Group-Strategy assignment line does not have 3 elements. This is illegal.");
          Double[] strGrpInstance = new Double[3];
          for(int i=0;i<temp.numValues();i++)
          {
            //number of values == 3
            strGrpInstance[i] = temp.value(i);
            if(strGrpInstance[i]==null) throw new Exception("A parameter in group-strategy line is null.");
          }
          /*
           * @attribute groupId NUMERIC
           * @attribute targetGroupId NUMERIC
           * @attribute strategyId NUMERIC
           */
          System.out.println("g1: " + strGrpInstance[0].intValue());
          System.out.println("g2: " + strGrpInstance[1].intValue());
          Group g1 = getGroup(strGrpInstance[0].intValue(), groups);
          if(g1==null) throw new Exception("Group not found in the parsed groups.");
          Group g2 = getGroup(strGrpInstance[1].intValue(), groups);
          if(g2==null) throw new Exception("Group not found in the parsed groups.");
          Strategy s = getStrategy(strGrpInstance[2].intValue(), strategies);
          if(s==null) throw new Exception("Strategy not found in the parsed strategies.");
          g1.assignTargetGpStrategy(g2, s);
        }
       
        //we have all the groups and the strategies associated with them. Now generate the feedbacks
        //create the agents first
        for(Group g : groups)
        {
          for(int i=0;i<g.getMaxNumOfAgents();i++) g.joinGroup(new Agent());
        }
        //create the feedbacks based on the strategies
        for(Group sourceGroup : groups)
        {
          for(TargetGpStrAssignment assignment : sourceGroup.getTargetGpStrategyAssignments())
          {
            Group targetGroup = assignment.m_targetGroup;
            ArrayList<Agent> sourceGroupMembers = sourceGroup.getMembers();
            ArrayList<Agent> targetGroupMembers = targetGroup.getMembers();
            for (Agent a : sourceGroupMembers)
            {
              for(Agent b : targetGroupMembers)
              {
                for(int i=0;i<assignment.m_strategy.getNumberOfFeedbacks();i++)
    View Full Code Here

    Examples of de.bananaco.permissions.util.Group

          System.err.println("[bPermissions] Some silly developer is checking for a blank world!");
          return "BLANKWORLD";
        }
       
        WorldPermissions perms = wpm.getPermissionSet(world).getWorldPermissions();
        Group gr = perms.getGroup(group);
        if(gr.contains(valueToGet))
          return gr.getValue(valueToGet);
       
        String value = "";
        int priority = -1;
        for (Permission perm : gr.getEffectivePermissions()) {
          if (perm.isTrue()) {
            String name = perm.name();
            String[] index = name.split("\\.", 3);
            if (index.length == 3 && index[0].equals(valueToGet)) {
              int pr = Integer.parseInt(index[1]);
              if (pr > priority) {
                value = index[2];
                priority = pr;
              }
            }
          }
        }
        gr.setValue(valueToGet, value);
        return value;
      }
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. All rights reserved.
    All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.