All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.artifact.protocol.App Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
package org.artifact.protocol;

import java.io.File;
import java.io.FileFilter;
import java.io.Serializable;
import java.util.List;

import cn.hutool.core.io.FileUtil;
import cn.hutool.core.util.ArrayUtil;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args ) throws Exception
    {
//    	ProtocolBuilder.builder()
//    	.sourcePath("src/main/java/org/gaming/center/proto")
//    	.packageName("org.gaming.center.proto")
//    	.designSourcePath("classpath:").build().exec();
    	
//    	String[] array = {"User"};
//    	
//    	System.out.println(ArrayUtil.toString(array).replace("[", "<").replace("]", ">"));
    	
    	int a = (short)3 << 16 ^ (short)2;
    	System.out.println(a);
    	int b = a >> 16;
    	System.out.println(a >> 16);
    	System.out.println(b << 16 ^ a);
    	
    	System.out.println(1 & 2);
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy