everything.everythingConstants Maven / Gradle / Ivy
/**
* Autogenerated by Thrift Compiler (1.0.0-dev)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package everything;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;
import org.apache.thrift.scheme.TupleScheme;
import org.apache.thrift.protocol.TTupleProtocol;
import org.apache.thrift.protocol.TProtocolException;
import org.apache.thrift.EncodingUtils;
import org.apache.thrift.TException;
import org.apache.thrift.async.AsyncMethodCallback;
import org.apache.thrift.server.AbstractNonblockingServer.*;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
import java.util.EnumSet;
import java.util.Collections;
import java.util.BitSet;
import java.nio.ByteBuffer;
import java.util.Arrays;
import javax.annotation.Generated;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
public class everythingConstants {
public static final byte I8_CONST = (byte)42;
public static final long I64_CONST = 42000000000L;
public static final int INT_CONST = 42;
public static final String STR_CONST = "test constant string";
public static final double DBL_CONST = 42;
/**
* this is a set const
*/
public static final Set SET_CONST = new HashSet();
static {
SET_CONST.add("test1");
SET_CONST.add("test2");
SET_CONST.add("test3");
}
/**
* this is a list const
*/
public static final List LIST_CONST = new ArrayList();
static {
LIST_CONST.add("test3");
LIST_CONST.add("test5");
LIST_CONST.add("test6");
}
public static final Map MAP_CONST = new HashMap();
static {
MAP_CONST.put("test7", "test8");
MAP_CONST.put("test9", "test10");
}
public static final Map> MAP_MAP_CONST = new HashMap>();
static {
Map tmp104 = new HashMap();
tmp104.put("test7", "test8");
tmp104.put("test9", "test10");
MAP_MAP_CONST.put(42, tmp104);
Map tmp105 = new HashMap();
tmp105.put("test7", "test8");
tmp105.put("test9", "test10");
MAP_MAP_CONST.put(43, tmp105);
}
public static final Map ENUM_MAP_CONST = new HashMap();
static {
ENUM_MAP_CONST.put(everything.Spinkle.PPOL, "test");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy