Examples of group()


Examples of org.apache.derby.impl.store.raw.log.LogRecord.group()

        lr = (LogRecord) input.readObject();

        if (groupmask != 0 || tranId != null)
        {
          if (groupmask != 0 && (groupmask & lr.group()) == 0)
            candidate = false; // no match, throw this log record out

          if (candidate && tranId != null)
          {
            TransactionId tid = lr.getTransactionId();
View Full Code Here

Examples of org.apache.oro.text.perl.Perl5Util.group()

        ipV4Address = matchIPV4Pat.match(IP_V4_DOMAIN_PATTERN, hostIP);

        if (ipV4Address) {
            // this is an IP address so check components
            for (int i = 1; i <= 4; i++) {
                String ipSegment = matchIPV4Pat.group(i);
                if (ipSegment == null || ipSegment.length() <= 0) {
                    return false;
                }

                try {
View Full Code Here

Examples of org.apache.oro.text.regex.MatchResult.group()

      if (array != null) {
        MatchResult match = matcher.getMatch();
        array.clear();
        int n = match.groups();
        for(int i=0; i<n; i++) {
          array.append(Any.create(match.group(i)));
        }
        return array;

      } else if (list != null) {
        MatchResult match = matcher.getMatch();
View Full Code Here

Examples of org.bitbucket.bradleysmithllc.java_cl_parser.regexp.EscapeFunctionExpression.group()

      if (pre.length() % 2 == 0)
      {
        // pass all through unmodified
        builder.append(textValue.substring(lastEnd, escapeFunctionExpression.start()));
        builder.append(escapeFunctionExpression.group(0));
      }
      else
      {
        if (pre.length() > 1)
        {
View Full Code Here

Examples of org.carrot2.util.attribute.BindableDescriptor.group()

        }

        /*
         * Group attributes.
         */
        descriptor = descriptor.group(grouping);
       
        /*
         * Create sections for attribute groups.
         */
        for (Object groupKey : descriptor.attributeGroups.keySet())
View Full Code Here

Examples of org.gephi.partition.api.PartitionController.group()

        groupLink.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent e) {
                if (groupLink.getText().equals(GROUP_LABEL)) {
                    PartitionController pc = Lookup.getDefault().lookup(PartitionController.class);
                    pc.group(model.getSelectedPartition());
                    refreshGrouped();
                } else {
                    PartitionController pc = Lookup.getDefault().lookup(PartitionController.class);
                    pc.ungroup(model.getSelectedPartition());
                    refreshGrouped();
View Full Code Here

Examples of org.jboss.errai.workspaces.client.api.annotations.LoadTool.group()

                                    rolesBuilder.append("\"").append(roles[i].trim()).append("\"");
                                    if ((i + 1) < roles.length) rolesBuilder.append(", ");
                                }
                                rolesBuilder.append("}");

                                writer.println("workspace.addTool(\"" + loadTool.group() + "\"," +
                                        " \"" + loadTool.name() + "\", \"" + loadTool.icon() + "\", " + loadTool.multipleAllowed()
                                        + ", " + loadTool.priority() + ", new " + clazz.getName() + "(), " + rolesBuilder.toString() + ");");
                            } else {
                                writer.println("workspace.addTool(\"" + loadTool.group() + "\"," +
                                        " \"" + loadTool.name() + "\", \"" + loadTool.icon() + "\", " + loadTool.multipleAllowed()
View Full Code Here

Examples of org.jclouds.cloudstack.options.DeployVirtualMachineOptions.group()

      }
     
      OptionsConverter optionsConverter = optionsConverters.get(zone.getNetworkType());
      options = optionsConverter.apply(templateOptions, networks, zoneId, options);

      options.group(group);

      if (templateOptions.getIpOnDefaultNetwork() != null) {
         options.ipOnDefaultNetwork(templateOptions.getIpOnDefaultNetwork());
      }
View Full Code Here

Examples of org.jclouds.compute.domain.NodeMetadataBuilder.group()

      NodeMetadataBuilder builder = new NodeMetadataBuilder();
      builder.ids(from.getHref().toASCIIString());
      builder.name(from.getName());
      String locationId = Iterables.get(from.getNetworkSection().getNetworks(), 0).getName();
      builder.location(from(locations.get()).firstMatch(LocationPredicates.idEquals(locationId)).orNull());
      builder.group(nodeNamingConvention.groupInUniqueNameOrNull(from.getName()));
      try {
         builder.operatingSystem(CIMOperatingSystem.toComputeOs(from.getOperatingSystemSection()));
      } catch (NullPointerException e) {
         // os section was null
      }
View Full Code Here

Examples of org.jrdf.util.boundary.RegexMatcher.group()

    public String[] parse(String s) {
        checkNotEmptyString("s", s);
        RegexMatcher matcher = regexFactory.createMatcher(pattern, s);
        String[] values = new String[LITERAL_VALUES_LENGTH];
        if (matcher.matches()) {
            String ntriplesLiteral = matcher.group(LITERAL_INDEX);
            values[0] = nTripleUtil.unescapeLiteral(ntriplesLiteral);
            values[1] = matcher.group(LANGUAGE_INDEX);
            values[2] = getDatatypeString(matcher);
        }
        return values;
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.