Package systole.synchronization.remote.ws

Examples of systole.synchronization.remote.ws.SegmentWs


    private SelectedSegmentWs convetToRemoteSelectedSegments(SelectedSegment selectedSegment) {
        if (selectedSegment == null) {
            return null;
        }

        SegmentWs segmentWs = this.convertToRemoteSegment(selectedSegment.getSegment());
        SelectedSegmentWs selectedSegmentWs = new SelectedSegmentWs();
        selectedSegmentWs.setSegment(segmentWs);
        selectedSegmentWs.setNumber(selectedSegment.getNumber());
        return selectedSegmentWs;
    }
View Full Code Here


     */
    private SegmentWs convertToRemoteSegment(Segment segment) {
        if (segment == null) {
            return null;
        }
        SegmentWs segmentWs = new SegmentWs();
        Iterator<BigDecimal> points = segment.iterator();
        while (points.hasNext()) {
            segmentWs.getPoint().add(points.next().floatValue());
        }
        return segmentWs;
    }
View Full Code Here

TOP

Related Classes of systole.synchronization.remote.ws.SegmentWs

Copyright © 2018 www.massapicom. 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.