id
stringlengths 36
36
| text
stringlengths 1
1.25M
|
---|---|
2f18dbf3-2dc3-46cc-b591-1fd37c599db9 | public java.lang.String getBusinessPlanExternalSystemId() {
return this.businessPlanExternalSystemId;
} |
4b7d4111-66f1-45da-bc78-109c4ffdedbd | private ProgramMenuBar findMenuBar() {
for (Component comp = console; comp != null; comp = comp.getParent()) {
if (comp instanceof Program) {
return ((Program) comp).getMenuBar();
} else if (comp instanceof JFrame) {
Object mbar = ((JFrame) comp).getJMenuBar();
return (mbar instanceof ProgramMenuBar) ? (ProgramMenuBar) mbar : null;
}
}
return null;
} |
8fba033e-c73e-446b-b95b-3692d36dc392 | public java.math.BigDecimal getObjectiveTarget() {
return this.objectiveTarget;
} |
0865ccf9-ed56-44d8-9743-55993eb25971 | public int getXMax()
{
return xMax;
} |
f1af5e2d-00cb-4ee2-8137-aeb34aa298c2 | public void write(org.apache.thrift.protocol.TProtocol prot, getCourseInventory_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetSuccess()) {
optionals.set(0);
}
oprot.writeBitSet(optionals, 1);
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
for (String _iter20 : struct.success)
{
oprot.writeString(_iter20);
}
}
}
} |
b875afe1-5f33-493d-8e1e-5edb3d596696 | public void setCustomPickList2(crmondemand.xml.contact.query.QueryType customPickList2) {
this.customPickList2 = customPickList2;
} |
cfd3f7ad-7f32-4a54-9ecc-a1a14bc4bd01 | @Override
public void resume() {
// TODO Auto-generated method stub
} |
1c481a77-7b62-46f3-8c3b-30476bfd7b5a | public static org.bwapi.proxy.messages.GameMessages.RaceData parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
} |
4a30a39c-665c-4ee6-b37f-b26ca73b77af | public void setUpdatedByLastName(crmondemand.xml.customobject6.query.QueryType updatedByLastName) {
this.updatedByLastName = updatedByLastName;
} |
7eda777a-af16-4a53-9443-23657269cbb9 | private byte[] getTheLimites(int mapLength , int currentPosI , int currentPosJ )
{
byte startPosI= (byte)currentPosI;
byte startPosJ=(byte) currentPosJ;
byte endPosI = (byte) currentPosI;
byte endPosJ = (byte) currentPosJ;
if(currentPosI-1 >=0)
{
startPosI= (byte) (currentPosI-1) ;
}
if(currentPosJ-1 >=0)
{
startPosJ= (byte) (currentPosJ-1) ;
}
if(currentPosI+1 < mapLength)
{
endPosI = (byte) (currentPosI+1);
}
if(currentPosJ+1 < mapLength)
{
endPosJ = (byte) (currentPosJ+1);
}
byte [] limites = {startPosI , startPosJ , (byte)(endPosI+1) ,(byte) (endPosJ +1)};
return limites;
} |
88fd0c3a-d474-4306-aed0-4e7b30a2c95f | public crmondemand.xml.opportunity.query.QueryType getCustomPickList33() {
return this.customPickList33;
} |
ddc4e239-4821-4260-afd2-ec1974879fc6 | opcode op_d5 = new opcode() { public void handler()/* PUSH DE */
{
Z80.SP.SetD((Z80.SP.D - 2) & 0xFFFF);
cpu_writemem16(Z80.SP.D, Z80.DE.L);
cpu_writemem16((int)(Z80.SP.D + 1) & 0xffff, Z80.DE.H);
}} |
5f9221ca-9d50-4eb8-9bdf-67c3d920e32f | public void setUpdatedByUserSignInId(java.lang.String updatedByUserSignInId) {
this.updatedByUserSignInId = updatedByUserSignInId;
} |
a2ff1327-97ca-4b03-8687-8d3086b4eb2e | public RecursiveCall createRecursiveCall() {
RecursiveCall rc = new RecursiveCall();
rc.setUniqueID(getID());
return rc;
} |
1a4f76f7-4286-4c2f-9b38-8db03d63996a | public void setCustomPickList39(crmondemand.xml.contact.query.QueryType customPickList39) {
this.customPickList39 = customPickList39;
} |
cdd4d255-bea5-4c9e-bc15-2c58d967efc1 | public void setCreatedByExt(java.lang.String createdByExt) {
this.createdByExt = createdByExt;
} |
fe6c4458-459c-4e1c-96a3-5d88dce8746f | public java.lang.String getCustomPickList4() {
return this.customPickList4;
} |
dd07d8dc-1531-4933-8d83-ba51962c1e5f | public crmondemand.xml.customobject6.query.QueryType getZCustomText69() {
return this.zCustomText69;
} |
6ee20545-8efc-4916-8ae8-2d2710672680 | public java.lang.String getCustomText64() {
return this.customText64;
} |
57eb3a24-0990-46e8-a71a-86b4fdb64602 | public void setCustomObject5ExternalSystemId(java.lang.String customObject5ExternalSystemId) {
this.customObject5ExternalSystemId = customObject5ExternalSystemId;
} |
7cf39ad7-0e90-465e-a360-baf19ee1e912 | public getCourse_argsStandardScheme getScheme() {
return new getCourse_argsStandardScheme();
}
}
private static class getCourse_argsStandardScheme extends StandardScheme<getCourse_args> {
public void read(org.apache.thrift.protocol.TProtocol iprot, getCourse_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
{
schemeField = iprot.readFieldBegin();
if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
break;
}
switch (schemeField.id) {
case 1: // COURSE_NUMBER
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
struct.courseNumber = iprot.readString();
struct.setCourseNumberIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, getCourse_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.courseNumber != null) {
oprot.writeFieldBegin(COURSE_NUMBER_FIELD_DESC);
oprot.writeString(struct.courseNumber);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class getCourse_argsTupleSchemeFactory implements SchemeFactory {
public getCourse_argsTupleScheme getScheme() {
return new getCourse_argsTupleScheme();
}
}
private static class getCourse_argsTupleScheme extends TupleScheme<getCourse_args> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, getCourse_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetCourseNumber()) {
optionals.set(0);
}
oprot.writeBitSet(optionals, 1);
if (struct.isSetCourseNumber()) {
oprot.writeString(struct.courseNumber);
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, getCourse_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
struct.courseNumber = iprot.readString();
struct.setCourseNumberIsSet(true);
}
}
}
}
public static class getCourse_result implements org.apache.thrift.TBase<getCourse_result, getCourse_result._Fields>, java.io.Serializable, Cloneable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getCourse_result");
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
private static final org.apache.thrift.protocol.TField CNF_FIELD_DESC = new org.apache.thrift.protocol.TField("cnf", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
schemes.put(StandardScheme.class, new getCourse_resultStandardSchemeFactory());
schemes.put(TupleScheme.class, new getCourse_resultTupleSchemeFactory());
}
public Course success; // required
public CourseNotFound cnf; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
SUCCESS((short)0, "success"),
CNF((short)1, "cnf");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 0: // SUCCESS
return SUCCESS;
case 1: // CNF
return CNF;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Course.class)));
tmpMap.put(_Fields.CNF, new org.apache.thrift.meta_data.FieldMetaData("cnf", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getCourse_result.class, metaDataMap);
}
public getCourse_result() {
}
public getCourse_result(
Course success,
CourseNotFound cnf)
{
this();
this.success = success;
this.cnf = cnf;
}
/**
* Performs a deep copy on <i>other</i>.
*/
public getCourse_result(getCourse_result other) {
if (other.isSetSuccess()) {
this.success = new Course(other.success);
}
if (other.isSetCnf()) {
this.cnf = new CourseNotFound(other.cnf);
}
}
public getCourse_result deepCopy() {
return new getCourse_result(this);
}
@Override
public void clear() {
this.success = null;
this.cnf = null;
}
public Course getSuccess() {
return this.success;
}
public getCourse_result setSuccess(Course success) {
this.success = success;
return this;
}
public void unsetSuccess() {
this.success = null;
}
/** Returns true if field success is set (has been assigned a value) and false otherwise */
public boolean isSetSuccess() {
return this.success != null;
}
public void setSuccessIsSet(boolean value) {
if (!value) {
this.success = null;
}
}
public CourseNotFound getCnf() {
return this.cnf;
}
public getCourse_result setCnf(CourseNotFound cnf) {
this.cnf = cnf;
return this;
}
public void unsetCnf() {
this.cnf = null;
}
/** Returns true if field cnf is set (has been assigned a value) and false otherwise */
public boolean isSetCnf() {
return this.cnf != null;
}
public void setCnfIsSet(boolean value) {
if (!value) {
this.cnf = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case SUCCESS:
if (value == null) {
unsetSuccess();
} else {
setSuccess((Course)value);
}
break;
case CNF:
if (value == null) {
unsetCnf();
} else {
setCnf((CourseNotFound)value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
return getSuccess();
case CNF:
return getCnf();
}
throw new IllegalStateException();
}
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case SUCCESS:
return isSetSuccess();
case CNF:
return isSetCnf();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof getCourse_result)
return this.equals((getCourse_result)that);
return false;
}
public boolean equals(getCourse_result that) {
if (that == null)
return false;
boolean this_present_success = true && this.isSetSuccess();
boolean that_present_success = true && that.isSetSuccess();
if (this_present_success || that_present_success) {
if (!(this_present_success && that_present_success))
return false;
if (!this.success.equals(that.success))
return false;
}
boolean this_present_cnf = true && this.isSetCnf();
boolean that_present_cnf = true && that.isSetCnf();
if (this_present_cnf || that_present_cnf) {
if (!(this_present_cnf && that_present_cnf))
return false;
if (!this.cnf.equals(that.cnf))
return false;
}
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(getCourse_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
getCourse_result typedOther = (getCourse_result)other;
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetSuccess()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = Boolean.valueOf(isSetCnf()).compareTo(typedOther.isSetCnf());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetCnf()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cnf, typedOther.cnf);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("getCourse_result(");
boolean first = true;
sb.append("success:");
if (this.success == null) {
sb.append("null");
} else {
sb.append(this.success);
}
first = false;
if (!first) sb.append(", ");
sb.append("cnf:");
if (this.cnf == null) {
sb.append("null");
} else {
sb.append(this.cnf);
}
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
if (success != null) {
success.validate();
}
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private static class getCourse_resultStandardSchemeFactory implements SchemeFactory {
public getCourse_resultStandardScheme getScheme() {
return new getCourse_resultStandardScheme();
}
}
private static class getCourse_resultStandardScheme extends StandardScheme<getCourse_result> {
public void read(org.apache.thrift.protocol.TProtocol iprot, getCourse_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
{
schemeField = iprot.readFieldBegin();
if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
break;
}
switch (schemeField.id) {
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
struct.success = new Course();
struct.success.read(iprot);
struct.setSuccessIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 1: // CNF
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
struct.cnf = new CourseNotFound();
struct.cnf.read(iprot);
struct.setCnfIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, getCourse_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.success != null) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
struct.success.write(oprot);
oprot.writeFieldEnd();
}
if (struct.cnf != null) {
oprot.writeFieldBegin(CNF_FIELD_DESC);
struct.cnf.write(oprot);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class getCourse_resultTupleSchemeFactory implements SchemeFactory {
public getCourse_resultTupleScheme getScheme() {
return new getCourse_resultTupleScheme();
}
}
private static class getCourse_resultTupleScheme extends TupleScheme<getCourse_result> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, getCourse_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetSuccess()) {
optionals.set(0);
}
if (struct.isSetCnf()) {
optionals.set(1);
}
oprot.writeBitSet(optionals, 2);
if (struct.isSetSuccess()) {
struct.success.write(oprot);
}
if (struct.isSetCnf()) {
struct.cnf.write(oprot);
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, getCourse_result struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
struct.success = new Course();
struct.success.read(iprot);
struct.setSuccessIsSet(true);
}
if (incoming.get(1)) {
struct.cnf = new CourseNotFound();
struct.cnf.read(iprot);
struct.setCnfIsSet(true);
}
}
}
}
public static class addCourse_args implements org.apache.thrift.TBase<addCourse_args, addCourse_args._Fields>, java.io.Serializable, Cloneable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addCourse_args");
private static final org.apache.thrift.protocol.TField COURSE_FIELD_DESC = new org.apache.thrift.protocol.TField("course", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
schemes.put(StandardScheme.class, new addCourse_argsStandardSchemeFactory());
schemes.put(TupleScheme.class, new addCourse_argsTupleSchemeFactory());
}
public Course course; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
COURSE((short)1, "course");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // COURSE
return COURSE;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.COURSE, new org.apache.thrift.meta_data.FieldMetaData("course", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Course.class)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addCourse_args.class, metaDataMap);
}
public addCourse_args() {
}
public addCourse_args(
Course course)
{
this();
this.course = course;
}
/**
* Performs a deep copy on <i>other</i>.
*/
public addCourse_args(addCourse_args other) {
if (other.isSetCourse()) {
this.course = new Course(other.course);
}
}
public addCourse_args deepCopy() {
return new addCourse_args(this);
}
@Override
public void clear() {
this.course = null;
}
public Course getCourse() {
return this.course;
}
public addCourse_args setCourse(Course course) {
this.course = course;
return this;
}
public void unsetCourse() {
this.course = null;
}
/** Returns true if field course is set (has been assigned a value) and false otherwise */
public boolean isSetCourse() {
return this.course != null;
}
public void setCourseIsSet(boolean value) {
if (!value) {
this.course = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case COURSE:
if (value == null) {
unsetCourse();
} else {
setCourse((Course)value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case COURSE:
return getCourse();
}
throw new IllegalStateException();
}
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case COURSE:
return isSetCourse();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof addCourse_args)
return this.equals((addCourse_args)that);
return false;
}
public boolean equals(addCourse_args that) {
if (that == null)
return false;
boolean this_present_course = true && this.isSetCourse();
boolean that_present_course = true && that.isSetCourse();
if (this_present_course || that_present_course) {
if (!(this_present_course && that_present_course))
return false;
if (!this.course.equals(that.course))
return false;
}
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(addCourse_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
addCourse_args typedOther = (addCourse_args)other;
lastComparison = Boolean.valueOf(isSetCourse()).compareTo(typedOther.isSetCourse());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetCourse()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.course, typedOther.course);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("addCourse_args(");
boolean first = true;
sb.append("course:");
if (this.course == null) {
sb.append("null");
} else {
sb.append(this.course);
}
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
if (course != null) {
course.validate();
}
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private static class addCourse_argsStandardSchemeFactory implements SchemeFactory {
public addCourse_argsStandardScheme getScheme() {
return new addCourse_argsStandardScheme();
}
}
private static class addCourse_argsStandardScheme extends StandardScheme<addCourse_args> {
public void read(org.apache.thrift.protocol.TProtocol iprot, addCourse_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
{
schemeField = iprot.readFieldBegin();
if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
break;
}
switch (schemeField.id) {
case 1: // COURSE
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
struct.course = new Course();
struct.course.read(iprot);
struct.setCourseIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, addCourse_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.course != null) {
oprot.writeFieldBegin(COURSE_FIELD_DESC);
struct.course.write(oprot);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class addCourse_argsTupleSchemeFactory implements SchemeFactory {
public addCourse_argsTupleScheme getScheme() {
return new addCourse_argsTupleScheme();
}
}
private static class addCourse_argsTupleScheme extends TupleScheme<addCourse_args> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, addCourse_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetCourse()) {
optionals.set(0);
}
oprot.writeBitSet(optionals, 1);
if (struct.isSetCourse()) {
struct.course.write(oprot);
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, addCourse_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
struct.course = new Course();
struct.course.read(iprot);
struct.setCourseIsSet(true);
}
}
}
}
public static class addCourse_result implements org.apache.thrift.TBase<addCourse_result, addCourse_result._Fields>, java.io.Serializable, Cloneable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addCourse_result");
private static final org.apache.thrift.protocol.TField UC_FIELD_DESC = new org.apache.thrift.protocol.TField("uc", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
schemes.put(StandardScheme.class, new addCourse_resultStandardSchemeFactory());
schemes.put(TupleScheme.class, new addCourse_resultTupleSchemeFactory());
}
public UnacceptableCourse uc; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
UC((short)1, "uc");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // UC
return UC;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.UC, new org.apache.thrift.meta_data.FieldMetaData("uc", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addCourse_result.class, metaDataMap);
}
public addCourse_result() {
}
public addCourse_result(
UnacceptableCourse uc)
{
this();
this.uc = uc;
}
/**
* Performs a deep copy on <i>other</i>.
*/
public addCourse_result(addCourse_result other) {
if (other.isSetUc()) {
this.uc = new UnacceptableCourse(other.uc);
}
}
public addCourse_result deepCopy() {
return new addCourse_result(this);
}
@Override
public void clear() {
this.uc = null;
}
public UnacceptableCourse getUc() {
return this.uc;
}
public addCourse_result setUc(UnacceptableCourse uc) {
this.uc = uc;
return this;
}
public void unsetUc() {
this.uc = null;
}
/** Returns true if field uc is set (has been assigned a value) and false otherwise */
public boolean isSetUc() {
return this.uc != null;
}
public void setUcIsSet(boolean value) {
if (!value) {
this.uc = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case UC:
if (value == null) {
unsetUc();
} else {
setUc((UnacceptableCourse)value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case UC:
return getUc();
}
throw new IllegalStateException();
}
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case UC:
return isSetUc();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof addCourse_result)
return this.equals((addCourse_result)that);
return false;
}
public boolean equals(addCourse_result that) {
if (that == null)
return false;
boolean this_present_uc = true && this.isSetUc();
boolean that_present_uc = true && that.isSetUc();
if (this_present_uc || that_present_uc) {
if (!(this_present_uc && that_present_uc))
return false;
if (!this.uc.equals(that.uc))
return false;
}
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(addCourse_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
addCourse_result typedOther = (addCourse_result)other;
lastComparison = Boolean.valueOf(isSetUc()).compareTo(typedOther.isSetUc());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetUc()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.uc, typedOther.uc);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("addCourse_result(");
boolean first = true;
sb.append("uc:");
if (this.uc == null) {
sb.append("null");
} else {
sb.append(this.uc);
}
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private static class addCourse_resultStandardSchemeFactory implements SchemeFactory {
public addCourse_resultStandardScheme getScheme() {
return new addCourse_resultStandardScheme();
}
}
private static class addCourse_resultStandardScheme extends StandardScheme<addCourse_result> {
public void read(org.apache.thrift.protocol.TProtocol iprot, addCourse_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
{
schemeField = iprot.readFieldBegin();
if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
break;
}
switch (schemeField.id) {
case 1: // UC
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
struct.uc = new UnacceptableCourse();
struct.uc.read(iprot);
struct.setUcIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, addCourse_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.uc != null) {
oprot.writeFieldBegin(UC_FIELD_DESC);
struct.uc.write(oprot);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class addCourse_resultTupleSchemeFactory implements SchemeFactory {
public addCourse_resultTupleScheme getScheme() {
return new addCourse_resultTupleScheme();
}
}
private static class addCourse_resultTupleScheme extends TupleScheme<addCourse_result> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, addCourse_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetUc()) {
optionals.set(0);
}
oprot.writeBitSet(optionals, 1);
if (struct.isSetUc()) {
struct.uc.write(oprot);
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, addCourse_result struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
struct.uc = new UnacceptableCourse();
struct.uc.read(iprot);
struct.setUcIsSet(true);
}
}
}
}
public static class deleteCourse_args implements org.apache.thrift.TBase<deleteCourse_args, deleteCourse_args._Fields>, java.io.Serializable, Cloneable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteCourse_args");
private static final org.apache.thrift.protocol.TField COURSE_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("courseNumber", org.apache.thrift.protocol.TType.STRING, (short)1);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
schemes.put(StandardScheme.class, new deleteCourse_argsStandardSchemeFactory());
schemes.put(TupleScheme.class, new deleteCourse_argsTupleSchemeFactory());
}
public String courseNumber; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
COURSE_NUMBER((short)1, "courseNumber");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // COURSE_NUMBER
return COURSE_NUMBER;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.COURSE_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("courseNumber", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteCourse_args.class, metaDataMap);
}
public deleteCourse_args() {
}
public deleteCourse_args(
String courseNumber)
{
this();
this.courseNumber = courseNumber;
}
/**
* Performs a deep copy on <i>other</i>.
*/
public deleteCourse_args(deleteCourse_args other) {
if (other.isSetCourseNumber()) {
this.courseNumber = other.courseNumber;
}
}
public deleteCourse_args deepCopy() {
return new deleteCourse_args(this);
}
@Override
public void clear() {
this.courseNumber = null;
}
public String getCourseNumber() {
return this.courseNumber;
}
public deleteCourse_args setCourseNumber(String courseNumber) {
this.courseNumber = courseNumber;
return this;
}
public void unsetCourseNumber() {
this.courseNumber = null;
}
/** Returns true if field courseNumber is set (has been assigned a value) and false otherwise */
public boolean isSetCourseNumber() {
return this.courseNumber != null;
}
public void setCourseNumberIsSet(boolean value) {
if (!value) {
this.courseNumber = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case COURSE_NUMBER:
if (value == null) {
unsetCourseNumber();
} else {
setCourseNumber((String)value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case COURSE_NUMBER:
return getCourseNumber();
}
throw new IllegalStateException();
}
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case COURSE_NUMBER:
return isSetCourseNumber();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof deleteCourse_args)
return this.equals((deleteCourse_args)that);
return false;
}
public boolean equals(deleteCourse_args that) {
if (that == null)
return false;
boolean this_present_courseNumber = true && this.isSetCourseNumber();
boolean that_present_courseNumber = true && that.isSetCourseNumber();
if (this_present_courseNumber || that_present_courseNumber) {
if (!(this_present_courseNumber && that_present_courseNumber))
return false;
if (!this.courseNumber.equals(that.courseNumber))
return false;
}
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(deleteCourse_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
deleteCourse_args typedOther = (deleteCourse_args)other;
lastComparison = Boolean.valueOf(isSetCourseNumber()).compareTo(typedOther.isSetCourseNumber());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetCourseNumber()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.courseNumber, typedOther.courseNumber);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("deleteCourse_args(");
boolean first = true;
sb.append("courseNumber:");
if (this.courseNumber == null) {
sb.append("null");
} else {
sb.append(this.courseNumber);
}
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private static class deleteCourse_argsStandardSchemeFactory implements SchemeFactory {
public deleteCourse_argsStandardScheme getScheme() {
return new deleteCourse_argsStandardScheme();
}
}
private static class deleteCourse_argsStandardScheme extends StandardScheme<deleteCourse_args> {
public void read(org.apache.thrift.protocol.TProtocol iprot, deleteCourse_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
{
schemeField = iprot.readFieldBegin();
if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
break;
}
switch (schemeField.id) {
case 1: // COURSE_NUMBER
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
struct.courseNumber = iprot.readString();
struct.setCourseNumberIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, deleteCourse_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.courseNumber != null) {
oprot.writeFieldBegin(COURSE_NUMBER_FIELD_DESC);
oprot.writeString(struct.courseNumber);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class deleteCourse_argsTupleSchemeFactory implements SchemeFactory {
public deleteCourse_argsTupleScheme getScheme() {
return new deleteCourse_argsTupleScheme();
}
}
private static class deleteCourse_argsTupleScheme extends TupleScheme<deleteCourse_args> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, deleteCourse_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetCourseNumber()) {
optionals.set(0);
}
oprot.writeBitSet(optionals, 1);
if (struct.isSetCourseNumber()) {
oprot.writeString(struct.courseNumber);
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, deleteCourse_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
struct.courseNumber = iprot.readString();
struct.setCourseNumberIsSet(true);
}
}
}
}
public static class deleteCourse_result implements org.apache.thrift.TBase<deleteCourse_result, deleteCourse_result._Fields>, java.io.Serializable, Cloneable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteCourse_result");
private static final org.apache.thrift.protocol.TField CNF_FIELD_DESC = new org.apache.thrift.protocol.TField("cnf", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
schemes.put(StandardScheme.class, new deleteCourse_resultStandardSchemeFactory());
schemes.put(TupleScheme.class, new deleteCourse_resultTupleSchemeFactory());
}
public CourseNotFound cnf; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
CNF((short)1, "cnf");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // CNF
return CNF;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.CNF, new org.apache.thrift.meta_data.FieldMetaData("cnf", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteCourse_result.class, metaDataMap);
}
public deleteCourse_result() {
}
public deleteCourse_result(
CourseNotFound cnf)
{
this();
this.cnf = cnf;
}
/**
* Performs a deep copy on <i>other</i>.
*/
public deleteCourse_result(deleteCourse_result other) {
if (other.isSetCnf()) {
this.cnf = new CourseNotFound(other.cnf);
}
}
public deleteCourse_result deepCopy() {
return new deleteCourse_result(this);
}
@Override
public void clear() {
this.cnf = null;
}
public CourseNotFound getCnf() {
return this.cnf;
}
public deleteCourse_result setCnf(CourseNotFound cnf) {
this.cnf = cnf;
return this;
}
public void unsetCnf() {
this.cnf = null;
}
/** Returns true if field cnf is set (has been assigned a value) and false otherwise */
public boolean isSetCnf() {
return this.cnf != null;
}
public void setCnfIsSet(boolean value) {
if (!value) {
this.cnf = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case CNF:
if (value == null) {
unsetCnf();
} else {
setCnf((CourseNotFound)value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case CNF:
return getCnf();
}
throw new IllegalStateException();
}
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case CNF:
return isSetCnf();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof deleteCourse_result)
return this.equals((deleteCourse_result)that);
return false;
}
public boolean equals(deleteCourse_result that) {
if (that == null)
return false;
boolean this_present_cnf = true && this.isSetCnf();
boolean that_present_cnf = true && that.isSetCnf();
if (this_present_cnf || that_present_cnf) {
if (!(this_present_cnf && that_present_cnf))
return false;
if (!this.cnf.equals(that.cnf))
return false;
}
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(deleteCourse_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
deleteCourse_result typedOther = (deleteCourse_result)other;
lastComparison = Boolean.valueOf(isSetCnf()).compareTo(typedOther.isSetCnf());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetCnf()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cnf, typedOther.cnf);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("deleteCourse_result(");
boolean first = true;
sb.append("cnf:");
if (this.cnf == null) {
sb.append("null");
} else {
sb.append(this.cnf);
}
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private static class deleteCourse_resultStandardSchemeFactory implements SchemeFactory {
public deleteCourse_resultStandardScheme getScheme() {
return new deleteCourse_resultStandardScheme();
}
}
private static class deleteCourse_resultStandardScheme extends StandardScheme<deleteCourse_result> {
public void read(org.apache.thrift.protocol.TProtocol iprot, deleteCourse_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
{
schemeField = iprot.readFieldBegin();
if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
break;
}
switch (schemeField.id) {
case 1: // CNF
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
struct.cnf = new CourseNotFound();
struct.cnf.read(iprot);
struct.setCnfIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, deleteCourse_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.cnf != null) {
oprot.writeFieldBegin(CNF_FIELD_DESC);
struct.cnf.write(oprot);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class deleteCourse_resultTupleSchemeFactory implements SchemeFactory {
public deleteCourse_resultTupleScheme getScheme() {
return new deleteCourse_resultTupleScheme();
}
}
private static class deleteCourse_resultTupleScheme extends TupleScheme<deleteCourse_result> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, deleteCourse_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetCnf()) {
optionals.set(0);
}
oprot.writeBitSet(optionals, 1);
if (struct.isSetCnf()) {
struct.cnf.write(oprot);
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, deleteCourse_result struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
struct.cnf = new CourseNotFound();
struct.cnf.read(iprot);
struct.setCnfIsSet(true);
}
} |
08d4c2aa-b999-4c7b-bfd1-851759090102 | public java.lang.String getCustomPickList65() {
return this.customPickList65;
} |
616e2735-c702-491c-a7a0-dd92387d24b0 | public void setCustomNumber55(java.math.BigDecimal customNumber55) {
this.customNumber55 = customNumber55;
} |
81c9e81d-df53-4b11-a164-579d2c9268ca | public static double getMinNumbers (double[] numbers){
double min = numbers[1];
for (int i = 1; i<6; i++)
if (min >= numbers[i]){
min = numbers[i];
}
return min;
} |
3af52977-09ea-423c-af3e-a5e35b077671 | public void setCustomObject5Type(crmondemand.xml.customobject3.query.QueryType customObject5Type) {
this.customObject5Type = customObject5Type;
} |
e608f2e6-3283-49b5-aceb-0c6b1dd34f3e | public void setAttachFileName(crmondemand.xml.customobject3.query.QueryType attachFileName) {
this.attachFileName = attachFileName;
} |
7c498dfb-c4ce-4376-a98f-b29f2d2eaeb6 | public java.lang.String getCertficationType()
{
return this.certficationType;
} |
c8ee99f2-57b7-45b3-bac1-f45c7da4f1da | @Override
public void setDatabaseID(String id)
{
databaseID = id;
} |
dc4b154d-db70-47e2-a19d-33f9b945e326 | public crmondemand.xml.contact.query.QueryType getCustomObject9ExternalSystemId() {
return this.customObject9ExternalSystemId;
} |
b5a476dd-575c-4316-b47f-331614fb4623 | @Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof Java7Listener ) ((Java7Listener)listener).enterInterfaceBody(this);
} |
877c6157-2744-4b8b-9273-1516d64391c8 | public crmondemand.xml.contact.query.QueryType getCustomText77() {
return this.customText77;
} |
7a295cd8-85da-4e09-bb81-2eb1721c4118 | public java.math.BigDecimal getCustomNumber57() {
return this.customNumber57;
} |
725ea0ea-4be6-4a37-a4e6-0e722615d5a8 | public crmondemand.xml.customobject6.query.QueryType getCustomText64() {
return this.customText64;
} |
da0934fa-e28d-4292-89a0-a437617bb1b6 | public void setFundId(crmondemand.xml.customobject3.query.QueryType fundId) {
this.fundId = fundId;
} |
42eae07e-b024-4fa2-8e95-4ade3d0cfc5d | public void setCustomObject11IntegrationId(java.lang.String customObject11IntegrationId) {
this.customObject11IntegrationId = customObject11IntegrationId;
} |
48dda12d-27c3-411f-bf26-ae5b7fccff78 | public void setCustomPickList62(java.lang.String customPickList62) {
this.customPickList62 = customPickList62;
} |
da48c1b9-ae1b-4c31-851e-16f53420b478 | public crmondemand.xml.opportunity.query.QueryType getCustomPickList23() {
return this.customPickList23;
} |
b9c4a184-3270-4b14-829a-3d44475d689d | public void setCustomPhone2(crmondemand.xml.contact.query.QueryType customPhone2) {
this.customPhone2 = customPhone2;
} |
f7cd6cc6-4a84-41b5-be70-51c1b362bfcd | public void setCustomInteger16(crmondemand.xml.customobject6.query.QueryType customInteger16) {
this.customInteger16 = customInteger16;
} |
90e4c629-7b2f-4db2-893b-af3062b25ae5 | public java.lang.String getCustomObject8Name() {
return this.customObject8Name;
} |
cbec3805-8bc0-4671-a306-11bb4ce9ed62 | public java.lang.String getCustomObject15Type() {
return this.customObject15Type;
} |
209c821a-821f-46e8-8ee0-019116b7f7a9 | private int value() {
Pair euler = calculateEulerValue();
return calculateCentralizationHeuristic(new Node(state)) - euler.i + euler.j;
} |
89c1d1d1-0dcd-4cad-a295-cfd2dc4ec66a | public java.lang.String getCustomObject14ExternalSystemId() {
return this.customObject14ExternalSystemId;
} |
454fb8a8-e9b8-43dc-b1d5-4f54860ad420 | public BufferedImage walking() {
animationTimer++;
try {
if (walking) {
if (animationTimer >= 1 && animationTimer < 15) {
walk = image.getSubimage(4, 45, 30, 38);
} else if (animationTimer >= 15 && animationTimer < 30) {
walk = image.getSubimage(37, 45, 31, 38);
} else if (animationTimer >= 30 && animationTimer < 45) {
walk = image.getSubimage(67, 44, 40, 38);
} else if (animationTimer >= 45 && animationTimer < 60) {
walk = image.getSubimage(112, 46, 44, 38);
} else if (animationTimer >= 60 && animationTimer < 75) {
walk = image.getSubimage(162, 46, 27, 38);
} else if (animationTimer >= 75 && animationTimer < 90) {
walk = image.getSubimage(202, 46, 27, 38);
} else if (animationTimer >= 90 && animationTimer < 105) {
walk = image.getSubimage(239, 46, 33, 37);
} else if (animationTimer >= 105 && animationTimer < 120) {
walk = image.getSubimage(278, 44, 42, 38);
} else if (animationTimer >= 120 && animationTimer < 135) {
walk = image.getSubimage(321, 44, 39, 38);
} else if (animationTimer >= 135 && animationTimer < 150) {
walk = image.getSubimage(363, 45, 27, 38);
} else if (animationTimer >= 150 && animationTimer < 175) {
walk = image.getSubimage(404, 45, 27, 38);
}else {
animationTimer = 0;
}
// Have to Implements walking left
if (facingRight) {
walk = flip(walk);
}
}
} catch (Exception e) {
e.printStackTrace();
}
return walk;
} |
9e44a184-1590-48d5-926c-074c4ab7c302 | public void setCustomObject5ExternalSystemId(crmondemand.xml.contact.query.QueryType customObject5ExternalSystemId) {
this.customObject5ExternalSystemId = customObject5ExternalSystemId;
} |
ea8e432b-85f3-4a53-a81b-4e8b70038ec5 | public void setCustomObject15Id(crmondemand.xml.opportunity.query.QueryType customObject15Id) {
this.customObject15Id = customObject15Id;
} |
9d075d13-e484-4f1e-a9a4-d74bd05a7cea | public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getSpecNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getSpecFileBytes());
}
getUnknownFields().writeTo(output);
} |
ebe085e8-b4c9-4256-bf59-3f48a5b6411c | public void setPartnerChannelAccountManagerAlias(java.lang.String partnerChannelAccountManagerAlias) {
this.partnerChannelAccountManagerAlias = partnerChannelAccountManagerAlias;
} |
c5aba664-53a2-460a-97f5-23b766ad88ff | public crmondemand.xml.customobject6.query.QueryType getCustomPickList12() {
return this.customPickList12;
} |
c13ede80-e484-436a-a51a-2acdb920df3a | public java.lang.Boolean getSolutionMultiFileAsset() {
return this.solutionMultiFileAsset;
} |
17a81b4a-4b70-47c7-8bba-a0dbf6785343 | public crmondemand.xml.customobject6.query.QueryType getCustomDate39() {
return this.customDate39;
} |
f4c242e9-9949-44c0-9fc5-943178a6c939 | public void setCustomText60(java.lang.String customText60) {
this.customText60 = customText60;
} |
c3f73bb0-d5c6-4ba4-9133-78bbe173f17c | public void setCustomText43(crmondemand.xml.customobject6.query.QueryType customText43) {
this.customText43 = customText43;
} |
d24917e6-c987-4617-af53-2fe1a89a045c | public void setProductType(java.lang.String productType) {
this.productType = productType;
} |
7c17e56b-ed01-4ef8-8806-4d6e5d6f47d7 | public void test_with_WithAdjuster_Offset_timeAdjust() {
ZonedDateTime base = ZonedDateTime.of(LocalDateTime.of(2012, 7, 31, 0, 0), ZONE_PARIS);
ZonedDateTime test = base.with(ZoneOffset.ofHours(1));
check(test, 2012, 7, 31, 1, 0, 0, 0, OFFSET_0200, ZONE_PARIS); // time adjusted
}
@Test(groups = { "tck" } |
2977bf82-0db3-4761-927d-71889b5ada26 | public void setCustomNumber25(crmondemand.xml.contact.query.QueryType customNumber25) {
this.customNumber25 = customNumber25;
} |
3870a86e-d886-443b-be31-f9952e49537e | public void setWidth(double width) {
this.width = width;
if (isEngaged()) {
this.rec.setWidth(this.width);
}
} |
18bc08f8-ecfc-4a84-b8b6-0970ab8b1cb0 | public int getNumDims()
{
return numDims;
} |
73dc09cd-3bfa-484d-9d39-d686a28e4ecc | public void setCustomText25(crmondemand.xml.contact.query.QueryType customText25) {
this.customText25 = customText25;
} |
b671c403-4b68-403a-b324-fb12c2d950bb | public void renderBlockAsItem(Block par1Block, int par2, float par3)
{
Tessellator var4 = Tessellator.instance;
boolean var5 = par1Block.blockID == Block.grass.blockID;
int var6;
float var7;
float var8;
float var9;
if (this.useInventoryTint)
{
var6 = par1Block.getRenderColor(par2);
if (var5)
{
var6 = 16777215;
}
var7 = (float)(var6 >> 16 & 255) / 255.0F;
var8 = (float)(var6 >> 8 & 255) / 255.0F;
var9 = (float)(var6 & 255) / 255.0F;
GL11.glColor4f(var7 * par3, var8 * par3, var9 * par3, 1.0F);
}
var6 = par1Block.getRenderType();
int var10;
if (var6 != 0 && var6 != 16)
{
if (var6 == 1)
{
var4.startDrawingQuads();
var4.setNormal(0.0F, -1.0F, 0.0F);
this.drawCrossedSquares(par1Block, par2, -0.5D, -0.5D, -0.5D);
var4.draw();
}
else if (var6 == 19)
{
var4.startDrawingQuads();
var4.setNormal(0.0F, -1.0F, 0.0F);
par1Block.setBlockBoundsForItemRender();
this.renderBlockStemSmall(par1Block, par2, par1Block.maxY, -0.5D, -0.5D, -0.5D);
var4.draw();
}
else if (var6 == 23)
{
var4.startDrawingQuads();
var4.setNormal(0.0F, -1.0F, 0.0F);
par1Block.setBlockBoundsForItemRender();
var4.draw();
}
else if (var6 == 13)
{
par1Block.setBlockBoundsForItemRender();
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
var7 = 0.0625F;
var4.startDrawingQuads();
var4.setNormal(0.0F, -1.0F, 0.0F);
this.renderBottomFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(0));
var4.draw();
var4.startDrawingQuads();
var4.setNormal(0.0F, 1.0F, 0.0F);
this.renderTopFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(1));
var4.draw();
var4.startDrawingQuads();
var4.setNormal(0.0F, 0.0F, -1.0F);
var4.addTranslation(0.0F, 0.0F, var7);
this.renderEastFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(2));
var4.addTranslation(0.0F, 0.0F, -var7);
var4.draw();
var4.startDrawingQuads();
var4.setNormal(0.0F, 0.0F, 1.0F);
var4.addTranslation(0.0F, 0.0F, -var7);
this.renderWestFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(3));
var4.addTranslation(0.0F, 0.0F, var7);
var4.draw();
var4.startDrawingQuads();
var4.setNormal(-1.0F, 0.0F, 0.0F);
var4.addTranslation(var7, 0.0F, 0.0F);
this.renderNorthFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(4));
var4.addTranslation(-var7, 0.0F, 0.0F);
var4.draw();
var4.startDrawingQuads();
var4.setNormal(1.0F, 0.0F, 0.0F);
var4.addTranslation(-var7, 0.0F, 0.0F);
this.renderSouthFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(5));
var4.addTranslation(var7, 0.0F, 0.0F);
var4.draw();
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
}
else if (var6 == 22)
{
ChestItemRenderHelper.instance.func_35609_a(par1Block, par2, par3);
GL11.glEnable(GL12.GL_RESCALE_NORMAL);
}
else if (var6 == 6)
{
var4.startDrawingQuads();
var4.setNormal(0.0F, -1.0F, 0.0F);
this.renderBlockCropsImpl(par1Block, par2, -0.5D, -0.5D, -0.5D);
var4.draw();
}
else if (var6 == 2)
{
var4.startDrawingQuads();
var4.setNormal(0.0F, -1.0F, 0.0F);
this.renderTorchAtAngle(par1Block, -0.5D, -0.5D, -0.5D, 0.0D, 0.0D);
var4.draw();
}
else if (var6 == 10)
{
for (var10 = 0; var10 < 2; ++var10)
{
if (var10 == 0)
{
par1Block.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 0.5F);
}
if (var10 == 1)
{
par1Block.setBlockBounds(0.0F, 0.0F, 0.5F, 1.0F, 0.5F, 1.0F);
}
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
var4.startDrawingQuads();
var4.setNormal(0.0F, -1.0F, 0.0F);
this.renderBottomFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(0));
var4.draw();
var4.startDrawingQuads();
var4.setNormal(0.0F, 1.0F, 0.0F);
this.renderTopFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(1));
var4.draw();
var4.startDrawingQuads();
var4.setNormal(0.0F, 0.0F, -1.0F);
this.renderEastFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(2));
var4.draw();
var4.startDrawingQuads();
var4.setNormal(0.0F, 0.0F, 1.0F);
this.renderWestFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(3));
var4.draw();
var4.startDrawingQuads();
var4.setNormal(-1.0F, 0.0F, 0.0F);
this.renderNorthFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(4));
var4.draw();
var4.startDrawingQuads();
var4.setNormal(1.0F, 0.0F, 0.0F);
this.renderSouthFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(5));
var4.draw();
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
}
}
else if (var6 == 27)
{
var10 = 0;
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
var4.startDrawingQuads();
for (int var17 = 0; var17 < 8; ++var17)
{
byte var12 = 0;
byte var13 = 1;
if (var17 == 0)
{
var12 = 2;
}
if (var17 == 1)
{
var12 = 3;
}
if (var17 == 2)
{
var12 = 4;
}
if (var17 == 3)
{
var12 = 5;
var13 = 2;
}
if (var17 == 4)
{
var12 = 6;
var13 = 3;
}
if (var17 == 5)
{
var12 = 7;
var13 = 5;
}
if (var17 == 6)
{
var12 = 6;
var13 = 2;
}
if (var17 == 7)
{
var12 = 3;
}
float var14 = (float)var12 / 16.0F;
float var15 = 1.0F - (float)var10 / 16.0F;
float var16 = 1.0F - (float)(var10 + var13) / 16.0F;
var10 += var13;
par1Block.setBlockBounds(0.5F - var14, var16, 0.5F - var14, 0.5F + var14, var15, 0.5F + var14);
var4.setNormal(0.0F, -1.0F, 0.0F);
this.renderBottomFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(0));
var4.setNormal(0.0F, 1.0F, 0.0F);
this.renderTopFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(1));
var4.setNormal(0.0F, 0.0F, -1.0F);
this.renderEastFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(2));
var4.setNormal(0.0F, 0.0F, 1.0F);
this.renderWestFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(3));
var4.setNormal(-1.0F, 0.0F, 0.0F);
this.renderNorthFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(4));
var4.setNormal(1.0F, 0.0F, 0.0F);
this.renderSouthFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(5));
}
var4.draw();
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
par1Block.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
}
else if (var6 == 11)
{
for (var10 = 0; var10 < 4; ++var10)
{
var8 = 0.125F;
if (var10 == 0)
{
par1Block.setBlockBounds(0.5F - var8, 0.0F, 0.0F, 0.5F + var8, 1.0F, var8 * 2.0F);
}
if (var10 == 1)
{
par1Block.setBlockBounds(0.5F - var8, 0.0F, 1.0F - var8 * 2.0F, 0.5F + var8, 1.0F, 1.0F);
}
var8 = 0.0625F;
if (var10 == 2)
{
par1Block.setBlockBounds(0.5F - var8, 1.0F - var8 * 3.0F, -var8 * 2.0F, 0.5F + var8, 1.0F - var8, 1.0F + var8 * 2.0F);
}
if (var10 == 3)
{
par1Block.setBlockBounds(0.5F - var8, 0.5F - var8 * 3.0F, -var8 * 2.0F, 0.5F + var8, 0.5F - var8, 1.0F + var8 * 2.0F);
}
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
var4.startDrawingQuads();
var4.setNormal(0.0F, -1.0F, 0.0F);
this.renderBottomFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(0));
var4.draw();
var4.startDrawingQuads();
var4.setNormal(0.0F, 1.0F, 0.0F);
this.renderTopFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(1));
var4.draw();
var4.startDrawingQuads();
var4.setNormal(0.0F, 0.0F, -1.0F);
this.renderEastFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(2));
var4.draw();
var4.startDrawingQuads();
var4.setNormal(0.0F, 0.0F, 1.0F);
this.renderWestFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(3));
var4.draw();
var4.startDrawingQuads();
var4.setNormal(-1.0F, 0.0F, 0.0F);
this.renderNorthFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(4));
var4.draw();
var4.startDrawingQuads();
var4.setNormal(1.0F, 0.0F, 0.0F);
this.renderSouthFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(5));
var4.draw();
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
}
par1Block.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
}
else if (var6 == 21)
{
for (var10 = 0; var10 < 3; ++var10)
{
var8 = 0.0625F;
if (var10 == 0)
{
par1Block.setBlockBounds(0.5F - var8, 0.3F, 0.0F, 0.5F + var8, 1.0F, var8 * 2.0F);
}
if (var10 == 1)
{
par1Block.setBlockBounds(0.5F - var8, 0.3F, 1.0F - var8 * 2.0F, 0.5F + var8, 1.0F, 1.0F);
}
var8 = 0.0625F;
if (var10 == 2)
{
par1Block.setBlockBounds(0.5F - var8, 0.5F, 0.0F, 0.5F + var8, 1.0F - var8, 1.0F);
}
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
var4.startDrawingQuads();
var4.setNormal(0.0F, -1.0F, 0.0F);
this.renderBottomFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(0));
var4.draw();
var4.startDrawingQuads();
var4.setNormal(0.0F, 1.0F, 0.0F);
this.renderTopFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(1));
var4.draw();
var4.startDrawingQuads();
var4.setNormal(0.0F, 0.0F, -1.0F);
this.renderEastFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(2));
var4.draw();
var4.startDrawingQuads();
var4.setNormal(0.0F, 0.0F, 1.0F);
this.renderWestFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(3));
var4.draw();
var4.startDrawingQuads();
var4.setNormal(-1.0F, 0.0F, 0.0F);
this.renderNorthFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(4));
var4.draw();
var4.startDrawingQuads();
var4.setNormal(1.0F, 0.0F, 0.0F);
this.renderSouthFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSide(5));
var4.draw();
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
}
par1Block.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
}
else
{
ModLoader.renderInvBlock(this, par1Block, par2, var6);
}
}
else
{
if (var6 == 16)
{
par2 = 1;
}
par1Block.setBlockBoundsForItemRender();
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
var4.startDrawingQuads();
var4.setNormal(0.0F, -1.0F, 0.0F);
this.renderBottomFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSideAndMetadata(0, par2));
var4.draw();
if (var5 && this.useInventoryTint)
{
var10 = par1Block.getRenderColor(par2);
var8 = (float)(var10 >> 16 & 255) / 255.0F;
var9 = (float)(var10 >> 8 & 255) / 255.0F;
float var11 = (float)(var10 & 255) / 255.0F;
GL11.glColor4f(var8 * par3, var9 * par3, var11 * par3, 1.0F);
}
var4.startDrawingQuads();
var4.setNormal(0.0F, 1.0F, 0.0F);
this.renderTopFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSideAndMetadata(1, par2));
var4.draw();
if (var5 && this.useInventoryTint)
{
GL11.glColor4f(par3, par3, par3, 1.0F);
}
var4.startDrawingQuads();
var4.setNormal(0.0F, 0.0F, -1.0F);
this.renderEastFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSideAndMetadata(2, par2));
var4.draw();
var4.startDrawingQuads();
var4.setNormal(0.0F, 0.0F, 1.0F);
this.renderWestFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSideAndMetadata(3, par2));
var4.draw();
var4.startDrawingQuads();
var4.setNormal(-1.0F, 0.0F, 0.0F);
this.renderNorthFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSideAndMetadata(4, par2));
var4.draw();
var4.startDrawingQuads();
var4.setNormal(1.0F, 0.0F, 0.0F);
this.renderSouthFace(par1Block, 0.0D, 0.0D, 0.0D, par1Block.getBlockTextureFromSideAndMetadata(5, par2));
var4.draw();
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
}
} |
db238361-0945-4fcf-b99c-91589c6515e2 | public crmondemand.xml.customobject6.query.QueryType getCustomBoolean30() {
return this.customBoolean30;
} |
e3dad3e9-7240-410e-916a-35dc4de9aab1 | public crmondemand.xml.customobject6.query.QueryType getCustomPickList53() {
return this.customPickList53;
} |
0b9ff667-b966-46d2-9650-44f4060b50c5 | public java.lang.String getCustomText61() {
return this.customText61;
} |
a7fade7a-3a34-46b6-97d9-e023c3b564d3 | public void setCustomPickList63(java.lang.String customPickList63) {
this.customPickList63 = customPickList63;
} |
e2ff8126-cc8f-4c51-82a6-a3581c44a102 | public void setBrokerProfileId(crmondemand.xml.customobject3.query.QueryType brokerProfileId) {
this.brokerProfileId = brokerProfileId;
} |
cf99307e-3742-48c2-935d-4312b8bdf424 | public java.lang.String getLeadIntegrationId() {
return this.leadIntegrationId;
} |
201f44b9-f15e-40cb-a559-32bd58ffa5f8 | public void setPolicyExternalSystemId(java.lang.String policyExternalSystemId) {
this.policyExternalSystemId = policyExternalSystemId;
} |
f64eebfb-0599-4bcf-abf9-29cde88ef930 | public void setIndexedPick0(crmondemand.xml.customobject6.query.QueryType indexedPick0) {
this.indexedPick0 = indexedPick0;
} |
7fd61155-2ce4-4b56-918a-ccf1bac6f20f | public java.lang.Integer getCustomInteger24() {
return this.customInteger24;
} |
e8582e54-c28d-44b2-90e8-a3c06f5f1535 | public com.google.protobuf.ByteString
getTypeNameBytes() {
java.lang.Object ref = typeName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
typeName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
} |
ed562014-f3f6-4582-9106-6b1fcf71afb8 | public void setVehicleExternalSystemId(java.lang.String vehicleExternalSystemId) {
this.vehicleExternalSystemId = vehicleExternalSystemId;
} |
2c6ab4fc-444c-46c4-942f-be4241e9b141 | public java.lang.String getCustomText87() {
return this.customText87;
} |
5213c0f7-690f-4ba1-a902-75319d861440 | public crmondemand.xml.opportunity.query.QueryType getCustomBoolean14() {
return this.customBoolean14;
} |
74a70339-753a-49ed-b17e-006b8050169a | public crmondemand.xml.opportunity.query.QueryType getPolicySubStatus() {
return this.policySubStatus;
} |
7eaa0c10-f3fe-4e02-a0c7-faf01dbe3bec | public void setObjectiveId(java.lang.String objectiveId) {
this.objectiveId = objectiveId;
} |
44a61af3-f869-4f88-865e-71c6c4563c1b | public crmondemand.xml.opportunity.query.QueryType getCustomDate5() {
return this.customDate5;
} |
51bdab3b-71d6-4948-a871-0626f0e7c492 | public static Cons childModules(Module module) {
{ Cons directsubmodules = Stella.NIL;
{ Context child = null;
Cons iter000 = module.childContexts.theConsList;
Cons collect000 = null;
for (;!(iter000 == Stella.NIL); iter000 = iter000.rest) {
child = ((Context)(iter000.value));
if (Stella_Object.isaP(child, OntosaurusUtil.SGT_STELLA_MODULE)) {
if (collect000 == null) {
{
collect000 = Cons.cons(child, Stella.NIL);
if (directsubmodules == Stella.NIL) {
directsubmodules = collect000;
}
else {
Cons.addConsToEndOfConsList(directsubmodules, collect000);
}
}
}
else {
{
collect000.rest = Cons.cons(child, Stella.NIL);
collect000 = collect000.rest;
}
}
}
}
}
return (directsubmodules);
}
} |
5b3680c1-01f1-4ab0-a58c-5bcc4265a211 | public void setLeadFullName(java.lang.String leadFullName) {
this.leadFullName = leadFullName;
} |
30a527dc-3e8d-43be-be01-eb335b38896d | public java.util.Calendar getCustomDate24() {
return this.customDate24;
} |
91e3aad9-0176-4d60-a68e-c2e8dc3e5d5d | public void setOwnerExternalSystemId(java.lang.String ownerExternalSystemId) {
this.ownerExternalSystemId = ownerExternalSystemId;
} |
538c53ee-af71-41cc-bf31-1cbe093c8092 | public void setCustomDate44(java.util.Calendar customDate44) {
this.customDate44 = customDate44;
} |
649412dd-1554-4276-aa40-7796ef9c1f5f | public void setCourseId(crmondemand.xml.opportunity.query.QueryType courseId) {
this.courseId = courseId;
} |
9a7e3f78-507b-4c73-9a1a-d16d8c0f3e01 | public java.lang.String getCreatedByFullName() {
return this.createdByFullName;
} |
854df495-648a-4a04-8673-2faa61932fd2 | public void setCustomNumber47(crmondemand.xml.customobject6.query.QueryType customNumber47) {
this.customNumber47 = customNumber47;
} |
96abacc5-bde5-4800-b8a4-09e1f1f66fde | public void setPolicySubStatus(crmondemand.xml.opportunity.query.QueryType policySubStatus) {
this.policySubStatus = policySubStatus;
} |
171da9c3-fd14-4d22-904b-008a286563f1 | public void setCustomNumber45(java.math.BigDecimal customNumber45) {
this.customNumber45 = customNumber45;
} |
9134bbfe-701e-4010-9e4a-48cfcf880b35 | public void setCustomDate55(java.util.Calendar customDate55)
{
this.customDate55 = customDate55;
} |
ce66c306-805f-481e-98a9-c643ee767c4b | public crmondemand.xml.customobject6.query.QueryType getCustomPhone5() {
return this.customPhone5;
} |
30bd8786-fb5c-43ef-b3d0-5915115947bb | public void setAccreditationType(java.lang.String accreditationType) {
this.accreditationType = accreditationType;
} |
17ed7311-af07-4e0a-9a60-56a6f989b133 | public void addEntry(byte flag, byte rows, String command, byte takt[], byte value[], String function[]) {
Befehlssatz sp[] = this.befehle;
this.befehle = new Befehlssatz[befehle.length + 1];
for (byte i = 0; i < sp.length; i++) {
this.befehle[i] = sp[i];
}
this.befehle[sp.length] = new Befehlssatz(flag, rows, command, takt, value, function);
} |
cb2d9db6-131b-458a-b67e-2d960bd3f298 | public void run() {
try {
// This has to be synchronized or it can collide with the disable method.
synchronized (optOutLock) {
// Disable Task, if it is running and the server owner decided to opt-out
if (isOptOut() && task != null) {
task.cancel();
task = null;
// Tell all plotters to stop gathering information.
for (Graph graph : graphs) {
graph.onOptOut();
}
}
}
// We use the inverse of firstPost because if it is the first time we are posting,
// it is not a interval ping, so it evaluates to FALSE
// Each time thereafter it will evaluate to TRUE, i.e PING!
postPlugin(!firstPost);
// After the first post we set firstPost to false
// Each post thereafter will be a ping
firstPost = false;
} catch (IOException e) {
if (debug) {
Bukkit.getLogger().log(Level.INFO, "[Metrics] " + e.getMessage());
}
}
} |
82b10cf3-52c4-40ad-8122-f16e7822528b | opcode cb_46 = new opcode() { public void handler(){ BIT(0,RM(Z80.HL.D)); }} |
d978ea10-a7ac-4268-a143-8da83aa0c2f4 | public java.lang.String getCustomText19() {
return this.customText19;
} |
9f06d8ed-9237-45d4-b32d-e11ce006b0d3 | public void setCustomPickList81(crmondemand.xml.customobject3.query.QueryType customPickList81) {
this.customPickList81 = customPickList81;
} |
ab001130-e084-4398-988f-9989eb738f5a | public crmondemand.xml.customobject6.query.QueryType getCourseIdentifier() {
return this.courseIdentifier;
} |
a904c2c2-fe69-4340-a277-975afbfb2b72 | public java.lang.String getModifiedBy() {
return this.modifiedBy;
} |
268adecb-f11c-41d8-a639-038b9a354a4f | public java.math.BigDecimal getCustomNumber25() {
return this.customNumber25;
} |
27904157-adaf-46d4-8dbe-5a5ab2e76e9c | public GDisplay(Component var1) {
comp = var1;
} |
7cb99585-a5f3-4ff7-a768-1142356d1589 | public void setCustomPickList24(java.lang.String customPickList24) {
this.customPickList24 = customPickList24;
} |
6365ae46-93cc-422d-8f3e-258ecdb1cb58 | public java.util.Calendar getZCustomDate34() {
return this.zCustomDate34;
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.