Examples of copy()


Examples of com.dotmarketing.portlets.links.model.Link.copy()

    }

    private static Link copyLink ( Link currentLink, Folder parent, Host host ) throws DotDataException, DotStateException, DotSecurityException {

        Link newLink = new Link();
        newLink.copy( currentLink );

        //First lets verify if already exist
        Boolean exist;
        if ( parent != null ) {
            exist = existsLinkWithTitleInFolder( currentLink.getTitle(), parent );
View Full Code Here

Examples of com.emitrom.lienzo.client.core.types.Transform.copy()

        }
        Point2D p = new Point2D(event.getX(), event.getY());

        transform.getInverse().transform(p, p);

        transform = transform.copy();

        transform.scaleAboutPoint(scaleDelta, p.getX(), p.getY());

        setTransform(transform);
View Full Code Here

Examples of com.esotericsoftware.kryo.Kryo.copy()

   }

   @Override
   public Object deepDuplicate(Object o) {
      Kryo kryo = getCurrentThreadKryo();
      return kryo.copy(o);
   }

}
View Full Code Here

Examples of com.esri.gpt.agp.ags.Ags2AgpCopy.copy()

            }
            return doContinue;
          }
        };
       
        copy.copy();
      }

      success = true;

      if (isActive()) {
View Full Code Here

Examples of com.eviware.soapui.config.CredentialsConfig.copy()

    newRequest.setRequestContent( getRequestContent() );
    newRequest.setWssPasswordType( getWssPasswordType() );

    CredentialsConfig credentials = getConfig().getCredentials();
    if( credentials != null )
      newRequest.getConfig().setCredentials( ( CredentialsConfig )credentials.copy() );

    if( copyAttachments )
      copyAttachmentsTo( newRequest );

    if( copyHeaders )
View Full Code Here

Examples of com.eviware.soapui.config.TestAssertionConfig.copy()

    if( ( ix == 0 && offset == -1 ) || ( ix == assertions.size() - 1 && offset == 1 ) )
    {
      return assertion;
    }
    TestAssertionConfig conf = assertion.getConfig();
    XmlObject newXmlObject = conf.copy();

    TestAssertionConfig newConf = TestAssertionConfig.Factory.newInstance();
    newConf.set( newXmlObject );
    WsdlMessageAssertion newAssertion = TestAssertionRegistry.getInstance().buildAssertion( newConf, assertable );
View Full Code Here

Examples of com.facebook.presto.jdbc.internal.netty.buffer.CompositeChannelBuffer.copy()

        assert cumulation.readable();
        if (cumulation instanceof CompositeChannelBuffer) {
            // Make sure the resulting cumulation buffer has no more than the configured components.
            CompositeChannelBuffer composite = (CompositeChannelBuffer) cumulation;
            if (composite.numComponents() >= maxCumulationBufferComponents) {
                cumulation = composite.copy();
            }
        }

        this.cumulation = input = ChannelBuffers.wrappedBuffer(cumulation, input);
        return input;
View Full Code Here

Examples of com.fasterxml.jackson.databind.ObjectMapper.copy()

    public void testMixinWithCopy() throws Exception {
        ObjectMapper mapper = new ObjectMapper();
        mapper.findAndRegisterModules();
       
        //Clone from "shared" ObjectMapper
        mapper = mapper.copy();
       
        mapper.addMixInAnnotations(Object.class, PortletRenderExecutionEventFilterMixIn.class);
        final FilterProvider filterProvider = new SimpleFilterProvider().addFilter(PortletRenderExecutionEventFilterMixIn.FILTER_NAME, SimpleBeanPropertyFilter.filterOutAllExcept("fname", "executionTimeNano", "parameters"));
        final ObjectWriter portletEventWriter = mapper.writer(filterProvider);
       
View Full Code Here

Examples of com.github.axet.wget.info.DownloadInfo.copy()

                DownloadInfo infoOld = info.getInfo();
                info.extract(user, stop, notify);
                DownloadInfo infoNew = info.getInfo();

                if (infoOld != null && infoOld.resume(infoNew)) {
                    infoNew.copy(infoOld);
                } else {
                    if (targetFile != null) {
                        FileUtils.deleteQuietly(targetFile);
                        targetFile = null;
                    }
View Full Code Here

Examples of com.google.collide.codemirror2.State.copy()

    State state;
    if (line.isFirstLine()) {
      state = codeMirrorParser.defaultState();
    } else {
      state = line.getPreviousLine().getTag(LINE_TAG_END_OF_LINE_PARSER_STATE_SNAPSHOT);
      state = (state == null) ? null : state.copy(codeMirrorParser);
    }

    @SuppressWarnings("unchecked")
    T result = (T) state;
    return result;
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.