Examples of array()


Examples of com.vaynberg.wicket.select2.json.JsonBuilder.array()

  if (choices != null && !choices.isEmpty()) {

      JsonBuilder selection = new JsonBuilder();

      try {
    selection.array();
    for (T choice : choices) {
        selection.object();
        getProvider().toJson(choice, selection);
        selection.endObject();
    }
View Full Code Here

Examples of com.webobjects.foundation._NSThreadsafeMutableArray.array()

        if (aConfig.hostErrorArray.count() > 0) {
            _syncRequest = null;
            final WORequest aSyncRequest = syncRequest(aConfig);
            final _NSThreadsafeMutableArray syncHosts = aConfig.hostErrorArray;
            if (NSLog.debugLoggingAllowedForLevelAndGroups(NSLog.DebugLevelDetailed, NSLog.DebugGroupDeployment))
                NSLog.debug.appendln("Sending sync requests to: " + syncHosts.array());
            // final MSiteConfig finalConfig = aConfig;
            Thread[] workers = new Thread[syncHosts.count()];
            for (int i = 0; i < workers.length; i++) {
                final int j = i;
                Runnable work = new Runnable() {
View Full Code Here

Examples of flanagan.analysis.Stat.array()

        this.standardizedTransformedDataStatistics(this.standardizedTransformedData);

        // Obtain the intercept and gradient of the Gaussian probabilty plot
        Stat st4 = new Stat(this.standardizedTransformedData);
        st4 = st4.sort();
        double[] ordered = st4.array();
        Regression reg = new Regression(this.gaussianOrderMedians, ordered);
        reg.linear();
        double[] coeff = reg.getBestEstimates();
        this.transformedIntercept = coeff[0];
        this.transformedGradient = coeff[1];
View Full Code Here

Examples of flanagan.math.ArrayMaths.array()

        this.originalQuartileSkewness = this.sod.quartileSkewness();
        this.originalExcessKurtosis = this.sod.excessKurtosis();

        // Store original data sorted into ascending order
        ArrayMaths sorted = this.sod.sort();
        this.sortedOriginalData = sorted.array();
        this.originalIndices = sorted.originalIndices();

        // Standardize and store standardized data
        this.standardizedOriginalData = this.sod.standardize();
View Full Code Here

Examples of io.netty.buffer.ByteBuf.array()

            ByteBuf buffer = (ByteBuf) msg;
            byte[] bytes;
            int offset;
            int len;
            if (buffer.hasArray()) {
                bytes = buffer.array();
                offset = buffer.arrayOffset() + buffer.readerIndex();
                len = buffer.readableBytes();
            } else {
                bytes = readBytes(buffer);
                offset = 0;
View Full Code Here

Examples of io.netty.buffer.ChannelBuffer.array()

        ChannelBuffer buf = (ChannelBuffer) msg;
        if (buf.hasArray()) {
            final int offset = buf.readerIndex();
            if (extensionRegistry == null) {
                return prototype.newBuilderForType().mergeFrom(
                        buf.array(), buf.arrayOffset() + offset, buf.readableBytes()).build();
            } else {
                return prototype.newBuilderForType().mergeFrom(
                        buf.array(), buf.arrayOffset() + offset, buf.readableBytes(), extensionRegistry).build();
            }
        } else {
View Full Code Here

Examples of java.nio.ByteBuffer.array()

        ByteBuffer buf=ByteBuffer.allocate(SIZE);
        buf.put(type);
        buf.putInt(x);
        buf.putInt(y);
        buf.putInt(val);
        return buf.array();
    }

    public void init(ByteBuffer buf) {
        type=buf.get();
        x=buf.getInt();
View Full Code Here

Examples of java.nio.ByteBuffer.array()

     
      for(int i = 1 ; i <= totalContacts ; i++) {
       
        data = getByteBuffer(16);
        channel.read(data);
        ClientID contact_id = new ClientID(data.array());
        data = getByteBuffer(4);
        channel.read(data);
        byte[] ip = data.array().clone();
        //ip = Convert.reverseArray(ip);
        IPAddress address = new IPAddress(ip);
View Full Code Here

Examples of java.nio.ByteBuffer.array()

        data = getByteBuffer(16);
        channel.read(data);
        ClientID contact_id = new ClientID(data.array());
        data = getByteBuffer(4);
        channel.read(data);
        byte[] ip = data.array().clone();
        //ip = Convert.reverseArray(ip);
        IPAddress address = new IPAddress(ip);
       
        data = getByteBuffer(2);
        channel.read(data);
View Full Code Here

Examples of java.nio.ByteBuffer.array()

        channel.read(data);
       
        ByteBuffer data2 = getByteBuffer(4);
        channel.read(data2);
       
        JKadUDPKey udp_key = new JKadUDPKey(data.array(), data2.array());
       
        data = getByteBuffer(1);
        channel.read(data);

        if (Utils.isGoodAddress(address)) {
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.