public class Correlativity extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<Correlativity>
| Modifier and Type | Class and Description |
|---|---|
static class |
Correlativity.Builder |
| Modifier and Type | Field and Description |
|---|---|
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
int |
part_id |
static int |
PART_ID |
double |
proportion |
static int |
PROPORTION |
| Constructor and Description |
|---|
Correlativity() |
Correlativity(Correlativity other)
Performs a deep copy on other.
|
Correlativity(int part_id,
double proportion) |
| Modifier and Type | Method and Description |
|---|---|
static Correlativity.Builder |
builder() |
int |
compareTo(Correlativity other) |
Correlativity |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
Object |
getFieldValue(int fieldID) |
int |
getPart_id() |
double |
getProportion() |
int |
hashCode() |
boolean |
isSetPart_id() |
boolean |
isSetProportion() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
void |
setFieldValue(int fieldID,
Object __value) |
Correlativity |
setPart_id(int part_id) |
void |
setPart_idIsSet(boolean __value) |
Correlativity |
setProportion(double proportion) |
void |
setProportionIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetPart_id() |
void |
unsetProportion() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public int part_id
public double proportion
public static final int PART_ID
public static final int PROPORTION
public Correlativity()
public Correlativity(int part_id,
double proportion)
public Correlativity(Correlativity other)
public static Correlativity.Builder builder()
public Correlativity deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic int getPart_id()
public Correlativity setPart_id(int part_id)
public void unsetPart_id()
public boolean isSetPart_id()
public void setPart_idIsSet(boolean __value)
public double getProportion()
public Correlativity setProportion(double proportion)
public void unsetProportion()
public boolean isSetProportion()
public void setProportionIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(Correlativity other)
compareTo in interface Comparable<Correlativity>public void read(com.facebook.thrift.protocol.TProtocol iprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBaseread in interface com.facebook.thrift.TBaseiprot - Input protocolcom.facebook.thrift.TExceptionpublic void write(com.facebook.thrift.protocol.TProtocol oprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBasewrite in interface com.facebook.thrift.TBaseoprot - Output protocolcom.facebook.thrift.TExceptionpublic String toString(int indent, boolean prettyPrint)
com.facebook.thrift.TBasetoString in interface com.facebook.thrift.TBaseindent - The level of indentation desiredprettyPrint - Set pretty printing on/offpublic void validate()
throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionCopyright © 2022. All rights reserved.