Examples of concat()


Examples of org.jooq.types.Interval.concat()

                    if (sign < 0) {
                        interval = interval.neg();
                    }

                    interval = interval.concat(inline(ytm ? " months" : " seconds"));
                    return field("{datetime}({0}, {1})", getDataType(), lhs, interval);
                }

                /* [pro] xx
                xxxx xxxxxxx x
View Full Code Here

Examples of org.jruby.RubyArray.concat()

        List l = (List)ctor.constructSequence(node);
        ctor.doRecursionFix(node, arr);
        for(Iterator iter = l.iterator();iter.hasNext();) {
            IRubyObject v = (IRubyObject)iter.next();
            if(v instanceof RubyHash) {
                arr.concat(((RubyHash)v).to_a());
            } else {
                throw new ConstructorException(null,"Invalid !omap entry: " + l,null);
            }
        }
        return arr;
View Full Code Here

Examples of org.jruby.RubyString.concat()

                SelectionKey key = nim.channel.register(selector, SelectionKey.OP_READ);
                int n = selector.select(timeout);

                if(n > 0) {
                    IRubyObject readItems = io.read(new IRubyObject[]{recv.getRuntime().newFixnum(1024*16)});
                    return buf.concat(readItems);
                } else {
                    RubyClass exc = (RubyClass)(recv.getRuntime().getModule("Timeout").getConstant("Error"));
                    throw new RaiseException(RubyException.newException(recv.getRuntime(), exc, "execution expired"),false);
                }
            } catch(IOException exception) {
View Full Code Here

Examples of org.luaj.vm2.LuaTable.concat()

        int pos = args.narg()>1? args.checkint(2): 0;
        return table.remove(pos);
      }
      case 1: { // "concat" (table [, sep [, i [, j]]]) -> string
        LuaTable table = args.checktable(1);
        return table.concat(
            args.optstring(2,LuaValue.EMPTYSTRING),
            args.optint(3,1),
            args.isvalue(4)? args.checkint(4): table.length() );
      }
      case 2: { // "insert" (table, [pos,] value) -> prev-ele
View Full Code Here

Examples of org.nasutekds.server.types.DN.concat()

  private DN computeNewDN() throws DirectoryException
  {
    if (newSuperior == null)
    {
      DN parentDn = DN.decode(this.getDn()).getParent();
      return parentDn.concat(RDN.decode(newRDN));
    }
    else
    {
      String newStringDN = newRDN + "," + newSuperior;
      return DN.decode(newStringDN);
View Full Code Here

Examples of org.springframework.hateoas.TemplateVariables.concat()

    UriComponentsBuilder builder = fromUri(base.expand());
    pageableResolver.enhance(builder, getMethodParameter(), pageable);

    UriComponents components = builder.build();
    TemplateVariables variables = new TemplateVariables(base.getVariables());
    variables = variables.concat(pageableResolver.getPaginationTemplateVariables(getMethodParameter(), components));

    return new Link(new UriTemplate(components.toString()).with(variables), rel);
  }

  /**
 
View Full Code Here

Examples of org.springframework.hateoas.TemplateVariables.concat()

        names.add(new TemplateVariable(propertyName, type, description));
      }
    }

    TemplateVariables pagingVariables = new TemplateVariables(names);
    return pagingVariables.concat(sortResolver.getSortTemplateVariables(parameter, template));
  }

  /*
   * (non-Javadoc)
   * @see org.springframework.hateoas.mvc.UriComponentsContributor#enhance(org.springframework.web.util.UriComponentsBuilder, org.springframework.core.MethodParameter, java.lang.Object)
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.