public class Complex extends java.lang.Object implements org.apache.thrift.TBase<Complex,Complex._Fields>, java.io.Serializable, java.lang.Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Complex._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static java.util.Map<Complex._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
Complex() |
Complex(Complex other)
Performs a deep copy on other.
|
Complex(int aint,
java.lang.String aString,
java.util.List<java.lang.Integer> lint,
java.util.List<java.lang.String> lString,
java.util.List<IntString> lintString,
java.util.Map<java.lang.String,java.lang.String> mStringString) |
Modifier and Type | Method and Description |
---|---|
void |
addToLint(int elem) |
void |
addToLintString(IntString elem) |
void |
addToLString(java.lang.String elem) |
void |
clear() |
int |
compareTo(Complex other) |
Complex |
deepCopy() |
boolean |
equals(Complex that) |
boolean |
equals(java.lang.Object that) |
Complex._Fields |
fieldForId(int fieldId) |
int |
getAint() |
java.lang.String |
getAString() |
java.lang.Object |
getFieldValue(Complex._Fields field) |
java.util.List<java.lang.Integer> |
getLint() |
java.util.Iterator<java.lang.Integer> |
getLintIterator() |
int |
getLintSize() |
java.util.List<IntString> |
getLintString() |
java.util.Iterator<IntString> |
getLintStringIterator() |
int |
getLintStringSize() |
java.util.List<java.lang.String> |
getLString() |
java.util.Iterator<java.lang.String> |
getLStringIterator() |
int |
getLStringSize() |
java.util.Map<java.lang.String,java.lang.String> |
getMStringString() |
int |
getMStringStringSize() |
int |
hashCode() |
boolean |
isSet(Complex._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAint()
Returns true if field aint is set (has been assigned a value) and false otherwise
|
boolean |
isSetAString()
Returns true if field aString is set (has been assigned a value) and false otherwise
|
boolean |
isSetLint()
Returns true if field lint is set (has been assigned a value) and false otherwise
|
boolean |
isSetLintString()
Returns true if field lintString is set (has been assigned a value) and false otherwise
|
boolean |
isSetLString()
Returns true if field lString is set (has been assigned a value) and false otherwise
|
boolean |
isSetMStringString()
Returns true if field mStringString is set (has been assigned a value) and false otherwise
|
void |
putToMStringString(java.lang.String key,
java.lang.String val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setAint(int aint) |
void |
setAintIsSet(boolean value) |
void |
setAString(java.lang.String aString) |
void |
setAStringIsSet(boolean value) |
void |
setFieldValue(Complex._Fields field,
java.lang.Object value) |
void |
setLint(java.util.List<java.lang.Integer> lint) |
void |
setLintIsSet(boolean value) |
void |
setLintString(java.util.List<IntString> lintString) |
void |
setLintStringIsSet(boolean value) |
void |
setLString(java.util.List<java.lang.String> lString) |
void |
setLStringIsSet(boolean value) |
void |
setMStringString(java.util.Map<java.lang.String,java.lang.String> mStringString) |
void |
setMStringStringIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetAint() |
void |
unsetAString() |
void |
unsetLint() |
void |
unsetLintString() |
void |
unsetLString() |
void |
unsetMStringString() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<Complex._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Complex()
public Complex(int aint, java.lang.String aString, java.util.List<java.lang.Integer> lint, java.util.List<java.lang.String> lString, java.util.List<IntString> lintString, java.util.Map<java.lang.String,java.lang.String> mStringString)
public Complex(Complex other)
public Complex deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Complex,Complex._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Complex,Complex._Fields>
public int getAint()
public void setAint(int aint)
public void unsetAint()
public boolean isSetAint()
public void setAintIsSet(boolean value)
public java.lang.String getAString()
public void setAString(java.lang.String aString)
public void unsetAString()
public boolean isSetAString()
public void setAStringIsSet(boolean value)
public int getLintSize()
public java.util.Iterator<java.lang.Integer> getLintIterator()
public void addToLint(int elem)
public java.util.List<java.lang.Integer> getLint()
public void setLint(java.util.List<java.lang.Integer> lint)
public void unsetLint()
public boolean isSetLint()
public void setLintIsSet(boolean value)
public int getLStringSize()
public java.util.Iterator<java.lang.String> getLStringIterator()
public void addToLString(java.lang.String elem)
public java.util.List<java.lang.String> getLString()
public void setLString(java.util.List<java.lang.String> lString)
public void unsetLString()
public boolean isSetLString()
public void setLStringIsSet(boolean value)
public int getLintStringSize()
public java.util.Iterator<IntString> getLintStringIterator()
public void addToLintString(IntString elem)
public java.util.List<IntString> getLintString()
public void setLintString(java.util.List<IntString> lintString)
public void unsetLintString()
public boolean isSetLintString()
public void setLintStringIsSet(boolean value)
public int getMStringStringSize()
public void putToMStringString(java.lang.String key, java.lang.String val)
public java.util.Map<java.lang.String,java.lang.String> getMStringString()
public void setMStringString(java.util.Map<java.lang.String,java.lang.String> mStringString)
public void unsetMStringString()
public boolean isSetMStringString()
public void setMStringStringIsSet(boolean value)
public void setFieldValue(Complex._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<Complex,Complex._Fields>
public java.lang.Object getFieldValue(Complex._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Complex,Complex._Fields>
public boolean isSet(Complex._Fields field)
isSet
in interface org.apache.thrift.TBase<Complex,Complex._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(Complex that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(Complex other)
compareTo
in interface java.lang.Comparable<Complex>
public Complex._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Complex,Complex._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Complex,Complex._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<Complex,Complex._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2012 The Apache Software Foundation