query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
t + delteMin . get timestamp.
public void click(int deltaMins){ map.put(deltaMins,map.getOrDefault(deltaMins,0)+1); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "long getTimestamp();", "long getTimestamp();", "long getTimestamp();", "long getTimestamp();", "long getTimestamp();", "long getTimestamp();", "long getTimestamp();", "long getTimestamp();", "long getTimestamp();", "long getTimestamp();", "long getTimestamp();", "long getTimestamp();", "lon...
[ "0.73215014", "0.73215014", "0.73215014", "0.73215014", "0.73215014", "0.73215014", "0.73215014", "0.73215014", "0.73215014", "0.73215014", "0.73215014", "0.73215014", "0.73215014", "0.73215014", "0.73215014", "0.73215014", "0.73201215", "0.73115605", "0.7227393", "0.7227393", ...
0.0
-1
Inflate the layout for this fragment
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { view = inflater.inflate(R.layout.fragment_temp, container, false); appData = this.getActivity().getSharedPreferences("appData", MODE_PRIVATE); //설정값을 가지고 온다...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup...
[ "0.6740675", "0.6725193", "0.67224836", "0.6699259", "0.6691596", "0.668896", "0.6687658", "0.66861755", "0.667755", "0.66756433", "0.6667425", "0.66667783", "0.6665166", "0.66614723", "0.66549766", "0.665031", "0.6643759", "0.6639389", "0.66378653", "0.66345453", "0.6626348"...
0.0
-1
Bundle bundle = new Bundle();
@Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { CoordyItem cd = coordyItemslist.get(position); like = cd.getFullCodiImgURL(); //누른 이미지 info = cd.getTall()+"/"+cd.getWeight(); if (gridView.isItemCheck...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void bundle(Bundle bundle);", "File getBundle();", "@NotNull\n @Generated\n @Selector(\"bundle\")\n public native NSBundle bundle();", "@Override\n public void startBundle(Bundle bundle) {\n mBundle = bundle;\n }", "public Bundle getBundle() {\r\n\r\n\r\n ...
[ "0.762423", "0.72123635", "0.7069785", "0.6925983", "0.6796157", "0.6681578", "0.6681257", "0.66711986", "0.66684806", "0.6557652", "0.6506018", "0.6499321", "0.649196", "0.6484429", "0.6448908", "0.6448908", "0.6448908", "0.6448908", "0.643593", "0.64153755", "0.64142096", ...
0.0
-1
Generate the report for given customers
void generate(List<Customer> customers);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void generateReport(){\n String fileOutput = \"\";\n fileOutput += allCustomers()+\"\\n\";\n fileOutput += getNoAccounts()+\"\\n\";\n fileOutput += getTotalDeposits()+\"\\n\";\n fileOutput += accountsOfferingLoans()+\"\\n\";\n fileOutput += accountsReceivingLoans()+...
[ "0.7586236", "0.720589", "0.667859", "0.6637228", "0.650521", "0.6233051", "0.6179396", "0.614238", "0.6138695", "0.6110123", "0.60912716", "0.60408056", "0.59609145", "0.5935524", "0.5853147", "0.58507645", "0.5799858", "0.579729", "0.5753547", "0.5750421", "0.57494634", "...
0.6740886
2
Return the owning field.
public BCField getField() { return (BCField) getOwner(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public PersonAndOrganization getOwningUser()\r\n\t{\r\n\t\treturn owningUser;\r\n\t}", "public String owner() {\n return this.owner;\n }", "public T getOwner() {\n return owner;\n }", "public UserModel getOwner() {\n return localOwner;\n }", "public com.hps.july.persis...
[ "0.66344786", "0.6467926", "0.6414546", "0.6412583", "0.6411658", "0.63329136", "0.6327339", "0.6313894", "0.6278779", "0.6258277", "0.6250102", "0.6218283", "0.6203939", "0.6203939", "0.6194147", "0.6194147", "0.61931866", "0.6189475", "0.61445516", "0.6144146", "0.61279786"...
0.7346958
0
Return the type of constant this attribute represents, or null if not set.
public String getTypeName() { Class type = getType(); if (type == null) return null; return type.getName(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getType () { return getAttributeOrDefault(ATTNAMECOMMONPREFIX + ATTNAMESUFFIX_TYPE , \"\"); }", "public Class getAttributeType();", "public String getValueType() {\n String valueType = getAttribute(\"ValueType\");\n if (valueType.equals(\"\"))\n return null;\n retu...
[ "0.6436941", "0.63216966", "0.63173944", "0.61918336", "0.61509156", "0.61480105", "0.610965", "0.6065515", "0.6052952", "0.60308444", "0.6020974", "0.60056674", "0.59701025", "0.5969621", "0.59693235", "0.5968299", "0.5968299", "0.5968299", "0.5968299", "0.5968299", "0.59682...
0.0
-1
Return the type of constant this attribute represents (String.class, int.class, etc), or null if not set.
public Class getType() { Object value = getValue(); if (value == null) return null; Class type = value.getClass(); if (type == Integer.class) return int.class; if (type == Float.class) return float.class; if (type == Double.class) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getType () { return getAttributeOrDefault(ATTNAMECOMMONPREFIX + ATTNAMESUFFIX_TYPE , \"\"); }", "public Class getAttributeType();", "private Class<?> resolveBuiltInAttrType(String anAlloyAttrType){\n\t\tif(anAlloyAttrType == \"int\" || anAlloyAttrType == \"Int\") return int.class;\n\t\telse if(an...
[ "0.6634352", "0.66239184", "0.6452557", "0.6343537", "0.6343537", "0.6343537", "0.6343537", "0.6343537", "0.6343537", "0.6343537", "0.6343537", "0.6343537", "0.6343537", "0.6343537", "0.6343537", "0.6343537", "0.630709", "0.6258633", "0.62343484", "0.61726093", "0.61629343", ...
0.66089505
2
Return the bytecode for the type of constant this attribute represents.
public BCClass getTypeBC() { return getProject().loadClass(getType()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String toCode()\n {\n return \"TermConstant.getConstant(\" + index + \")\";\n }", "com.google.protobuf.ByteString\n getConstantValueBytes();", "public int getConstant() {\n\t\treturn magicConstant;\n\t}", "ByteConstant createByteConstant();", "String getConstant();", "java.lang.String ...
[ "0.6834132", "0.6381141", "0.6308251", "0.62670964", "0.6105736", "0.60879785", "0.6083281", "0.6008476", "0.58782583", "0.5726451", "0.57262033", "0.5670707", "0.5670327", "0.5667782", "0.5667287", "0.5608699", "0.5583726", "0.5581802", "0.5581643", "0.5579311", "0.55749387"...
0.5245056
50
Return the value of this constant as an Object of the appropriate type (String, Integer, Double, etc), or null if not set.
public Object getValue() { if (_valueIndex <= 0) return null; return ((ConstantEntry) getPool().getEntry(_valueIndex)).getConstant(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Object getValue() {\n Object o = null; \n if (type == \"string\") { o = svalue; }\n if (type == \"int\" ) { o = ivalue; }\n return o;\n }", "protected Object getDefaultValue() {\r\n if (FeatureCollectionTools.isAttributeTypeNumeric((AttributeType) this.typeDrop...
[ "0.7234192", "0.67341566", "0.64932907", "0.6480933", "0.62345624", "0.61921084", "0.61280227", "0.61236995", "0.6106396", "0.6087238", "0.60485876", "0.6045009", "0.6045009", "0.6045009", "0.6045009", "0.6045009", "0.6045009", "0.6045009", "0.6030074", "0.59918094", "0.59347...
0.0
-1
Set the value of this constant using the appropriate wrapper Object type (String, Integer, Double, etc). Types that are not directly supported will be converted accordingly if possible.
public void setValue(Object value) { Class type = value.getClass(); if (type == Boolean.class) setIntValue((((Boolean) value).booleanValue()) ? 1 : 0); else if (type == Character.class) setIntValue((int) ((Character) value).charValue()); else if (type == Byte.clas...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setPropertyWithAutoTypeCast(Object obj, Object value) {\n if(value==null) {\n setProperty(obj, value);\n return;\n }\n Class<?> propType = getPropertyType();\n if(propType.isAssignableFrom(value.getClass())) {\n setProperty(obj, value);\n ...
[ "0.6771022", "0.646494", "0.64033026", "0.63856274", "0.63631624", "0.629127", "0.62840265", "0.62521166", "0.61744064", "0.61644065", "0.61515945", "0.6141138", "0.6140684", "0.61359566", "0.6130016", "0.612499", "0.612499", "0.60674495", "0.60670185", "0.6037246", "0.602484...
0.6655256
1
Get the value of this int constant, or 0 if not set.
public int getIntValue() { if (getValueIndex() <= 0) return 0; return ((IntEntry) getPool().getEntry(getValueIndex())).getValue(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final int getInt()\n {\n return intValue;\n }", "public int getValue() {\n\t\t// Precondition -- The value is a non-negative integer.\n\t\tassert(value >= 0);\n\t\t\n\t\treturn value;\n\t}", "public static int getValueInt()\n {\n return Util.valueInt;\n }", "public int intValue( )\n ...
[ "0.74323744", "0.73202103", "0.7307931", "0.72668546", "0.71900326", "0.71385837", "0.7019389", "0.70053655", "0.7004451", "0.69768", "0.69738644", "0.6970003", "0.69569623", "0.6954898", "0.69431037", "0.6908692", "0.6867876", "0.6867876", "0.6865284", "0.6840079", "0.679978...
0.661574
50
Set the value of this int constant.
public void setIntValue(int value) { setValueIndex(getPool().findIntEntry(value, true)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void\t\tset(int val) { value = val; }", "public void setValue(int value) {\r\n this.value = value;\r\n }", "public void setValue(int value) {\n this.value = value;\n }", "public void setValue(int value) {\n this.value = value;\n }", "publ...
[ "0.78330344", "0.7817697", "0.78052557", "0.78052557", "0.7797286", "0.7797286", "0.7797286", "0.7766598", "0.7763726", "0.7757787", "0.7746458", "0.7712442", "0.7712442", "0.7712442", "0.7712442", "0.7712442", "0.76779544", "0.76779544", "0.7677676", "0.7634758", "0.7564236"...
0.73095095
33
Get the value of this float constant.
public float getFloatValue() { if (getValueIndex() <= 0) return 0F; return ((FloatEntry) getPool().getEntry(getValueIndex())).getValue(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public float getValue() {\n return value_;\n }", "public static float getValueFloat()\n {\n return Util.valueFloat;\n }", "public Float getValue() {\n\t\treturn value;\n\t}", "public Float getValue() {\n\t\treturn value;\n\t}", "public final float getValue() {\r\n\t\treturn value;\...
[ "0.80981225", "0.8069575", "0.7959677", "0.7959677", "0.7958516", "0.7954697", "0.79401517", "0.7926731", "0.7897038", "0.7897038", "0.7897038", "0.78717", "0.78606427", "0.7811298", "0.7799767", "0.7783215", "0.77786815", "0.776025", "0.7745613", "0.7686085", "0.7598866", ...
0.7327976
25
Set the value of this float constant.
public void setFloatValue(float value) { setValueIndex(getPool().findFloatEntry(value, true)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setValue(float value) {\n this.value = value;\n }", "public void setValue(float val)\n\t{\n\t\tthis.value = val;\n\t}", "public void setfVal(float value){\n this.fVal = value;\n }", "public final void setValue(final float value) {\r\n\t\tthis.value = value;\r\n\t}", "public ...
[ "0.81595814", "0.80938977", "0.79887134", "0.7890176", "0.7837853", "0.7832577", "0.7828943", "0.7742245", "0.75576925", "0.75562227", "0.7552754", "0.7430614", "0.742032", "0.7397669", "0.7282692", "0.7103515", "0.70484537", "0.7011241", "0.6914781", "0.68685484", "0.6854446...
0.75516725
11
Get the value of this double constant.
public double getDoubleValue() { if (getValueIndex() <= 0) return 0D; return ((DoubleEntry) getPool().getEntry(getValueIndex())).getValue(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double constant()\n\t{\n\t\treturn _dblConstant;\n\t}", "Double getValue();", "Double getDoubleValue();", "public double doubleValue() {\n return this.value;\n }", "public double getDoubleValue()\n {\n return (double) getValue() / (double) multiplier;\n }", "public double getVal...
[ "0.7889321", "0.76936173", "0.76821035", "0.7657276", "0.7585649", "0.7578301", "0.757087", "0.7561323", "0.75551695", "0.75423735", "0.754028", "0.754028", "0.754028", "0.75391287", "0.7534013", "0.75332516", "0.7522108", "0.7514898", "0.7476842", "0.7469114", "0.7457663", ...
0.73857045
30
Set the value of this double constant.
public void setDoubleValue(double value) { setValueIndex(getPool().findDoubleEntry(value, true)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void set(double val);", "public void setValue(double value) {\n this.value = value; \n }", "public void setValue(double value) {\n this.value = value;\n }", "public void setValue(double value) {\n this.value = value;\n }", "public void setValue(double value) {\n ...
[ "0.81999236", "0.7897708", "0.7859873", "0.7859873", "0.7859873", "0.78138506", "0.7784192", "0.7748018", "0.77266395", "0.7725606", "0.77023655", "0.7648295", "0.75707096", "0.7437003", "0.72924316", "0.72809315", "0.72386575", "0.72305274", "0.7227414", "0.71689963", "0.710...
0.7235026
17
Get the value of this long constant.
public long getLongValue() { if (getValueIndex() <= 0) return 0L; return ((LongEntry) getPool().getEntry(getValueIndex())).getValue(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long longValue() {\n return this.value;\n }", "public long longValue() {\r\n return intValue();\r\n }", "public long longValue() {\n return value;\n }", "public long getLongValue() {\n return longValue_;\n }", "public long getLongValue() {\n return longVa...
[ "0.82122386", "0.81846", "0.81469345", "0.80358577", "0.8035131", "0.7979165", "0.7979165", "0.7928201", "0.78362626", "0.783336", "0.7818155", "0.7814789", "0.77490485", "0.7599828", "0.75472605", "0.7502451", "0.747478", "0.7474324", "0.7450822", "0.7443509", "0.7418592", ...
0.77654165
12
Set the value of this long constant.
public void setLongValue(long value) { setValueIndex(getPool().findLongEntry(value, true)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setValue(long value) {\n\t this.value = value;\n\t }", "public void set(long value) {\n\t\t\tset(1, value);\n\t\t}", "public Builder setLongValue(long value) {\n bitField0_ |= 0x00000020;\n longValue_ = value;\n onChanged();\n return this;\n }", "@...
[ "0.79900235", "0.7739142", "0.7660923", "0.7494087", "0.7437563", "0.7374736", "0.7363012", "0.7313704", "0.7257376", "0.7122413", "0.71002704", "0.70932275", "0.70883125", "0.6997449", "0.6940774", "0.69399375", "0.69266325", "0.6900558", "0.6868335", "0.68651944", "0.685885...
0.7904671
1
Get the value of this string constant.
public String getStringValue() { if (getValueIndex() <= 0) return null; return ((StringEntry) getPool().getEntry(getValueIndex())). getStringEntry().getValue(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String stringVal(){\n\n if (currentTokenType == TYPE.STRING_CONST){\n\n return currentToken.substring(1, currentToken.length() - 1);\n\n }else {\n throw new IllegalStateException(\"Current token is not a string constant!\");\n }\n }", "java.lang.String getCons...
[ "0.78308946", "0.7572209", "0.75338984", "0.75236076", "0.73458314", "0.73458314", "0.7179563", "0.717617", "0.7172169", "0.7172169", "0.7146778", "0.71410626", "0.7140736", "0.7140736", "0.7140736", "0.7140736", "0.7140736", "0.7140736", "0.71357286", "0.7122544", "0.7101252...
0.66291934
56
Set the value of this string constant.
public void setStringValue(String value) { setValueIndex(getPool().findStringEntry(value, true)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setValue(java.lang.String value);", "public void setValue(final String value)\n {\n this.value = value;\n }", "public void setValue( String value )\n {\n this.value = value;\n }", "void setValue(final String value);", "public void setValue(final String value) {\n this.valu...
[ "0.7568336", "0.745712", "0.7435277", "0.74303985", "0.74027205", "0.7401353", "0.7319258", "0.7319258", "0.7319258", "0.7319258", "0.7319258", "0.7304432", "0.7304432", "0.7304432", "0.7304432", "0.7304432", "0.72945815", "0.72449183", "0.7239204", "0.7233396", "0.72140455",...
0.69772047
40
get all available tuples from this data input
List<String[]> readAll();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Tuple[] getTuples() {\r\n Tuple[] newTuples = new Tuple[tupleCount];\r\n System.arraycopy(tuple,0,newTuples,0,tupleCount);\r\n return newTuples;\r\n }", "public ArrayList<Tuple> getTuples(){\r\n\t\treturn tuples;\r\n\t}", "public void collectTuples() {\n Tuple t = child.next();\n ...
[ "0.6875609", "0.67392254", "0.63193303", "0.6262598", "0.6077626", "0.6002099", "0.5895822", "0.5820086", "0.5791119", "0.57071763", "0.5673", "0.5668754", "0.56539994", "0.56176287", "0.55899405", "0.55479944", "0.5517348", "0.54838455", "0.547629", "0.54422444", "0.540926",...
0.0
-1
print even numbers divisible by 7, between 1 and 1000
public static void main(String[] args) { int number = 1; do{ if ( (number%2 == 0) && (number%7 == 0) ){ System.out.print(number + " "); } number++; }while(number<=1000); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\n int count = 0;\r\n \r\n for (int num = 100; num <= 500; num++) {\r\n // Find all numbers from 100 to 500 divisible by 5 or 7 but not both.\r\n if ((num % 5 == 0 && num % 7 != 0) || (num % 5 != 0 && num % 7 == 0)) {\r\n ...
[ "0.71673113", "0.7087265", "0.67308366", "0.6708563", "0.66200274", "0.6571614", "0.6467984", "0.6277524", "0.6273269", "0.60941386", "0.6090037", "0.60896593", "0.6059093", "0.6024764", "0.601224", "0.5988195", "0.5979376", "0.5966601", "0.59448284", "0.5936931", "0.59288245...
0.7846942
0
/ Load and parse XML file into DOM
public Document parse (String filePath) { Document document = null; try { /* DOM parser instance */ DocumentBuilder builder = builderFactory.newDocumentBuilder(); /* parse an XML file into a DOM tree */ document = builder.parse(filePath); } catch (...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void parseXmlFile(String fileName){\n\t\t//get the factory\n\t\tDocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();\n\t\t\n\t\ttry {\n\t\t\t//Using factory get an instance of document builder\n\t\t\tDocumentBuilder db = dbf.newDocumentBuilder();\n\t\t\t\n\t\t\t//parse using builder to get DOM...
[ "0.72715116", "0.68735945", "0.6774739", "0.6755751", "0.671903", "0.671879", "0.6665013", "0.66283774", "0.6611237", "0.6494421", "0.6488911", "0.64634085", "0.6462303", "0.64164776", "0.6397816", "0.63884985", "0.636907", "0.6366248", "0.63622415", "0.63514435", "0.63190836...
0.684054
2
Created by siva on 1/2/2017.
public interface CalApptDAO { public List<CalApptBO> getAllCalAppts(); public CalApptBO getCalApptById(int id); public int updateCalAppt(CalApptBO calApptBO); public int insertCalAppt(CalApptBO calApptBO); public int deleteCalAppt(int apptId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "public final void mo51373a() {\n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Overri...
[ "0.59251577", "0.5814574", "0.57968456", "0.57516295", "0.57476014", "0.56830525", "0.568219", "0.568219", "0.56716543", "0.55654746", "0.55653554", "0.55596966", "0.55516696", "0.55220675", "0.55192184", "0.55098283", "0.5506408", "0.5492252", "0.5476638", "0.54763925", "0.5...
0.0
-1
Adds the given model element to the collection.
void addModelElement(EObject modelElement);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void add(E element) {\n\t\t// your code here\n\t}", "public boolean add(Object element);", "void add(Object element);", "public synchronized void addElement(WModelObject object)\n\t{\n\t\tm_elements.addElement(object);\n\t}", "public void addElement(Object obj);", "@Override\r\n\tpublic void add(T...
[ "0.7105732", "0.70143634", "0.69426817", "0.68226373", "0.6588444", "0.65755284", "0.6562389", "0.6525841", "0.6525841", "0.65045077", "0.6487551", "0.64591336", "0.6443752", "0.63616645", "0.63616645", "0.62611425", "0.62439495", "0.62259984", "0.6218746", "0.62127656", "0.6...
0.7818147
0
Checks whether a given model element is contained in the collection.
boolean containsInstance(EObject modelElement);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean contains(E element) {\r\n return items.contains(element);\r\n }", "public boolean contains(Object elem);", "public boolean contains(E element);", "public boolean contains(WModelObject object)\n\t{\n\t\treturn m_elements.contains(object);\n\t}", "public boolean contains(SVGElement e...
[ "0.74375343", "0.7354667", "0.73255044", "0.7236172", "0.7009629", "0.70009637", "0.69965285", "0.6961159", "0.6896237", "0.68439466", "0.6805967", "0.6785213", "0.66583025", "0.66288716", "0.6545925", "0.6532002", "0.64975494", "0.64516425", "0.6438266", "0.6437224", "0.6409...
0.7175666
4
Returns all directly contained model element of the collection, i.e. a hierarchical representation of the model elements.
Collection<EObject> getModelElements();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Set<EObject> getAllModelElements();", "Collection<V> getAllElements();", "Collection<T> getSimpleModelObjects();", "public Collection<T> dump() {\n\t\treturn internalElements();\n\t}", "public Collection findAll() {\n\t\treturn null;\r\n\t}", "Collection<Element> getElementTreeFromPlainList() {\n ...
[ "0.759301", "0.7287214", "0.6451468", "0.6344118", "0.6297174", "0.6194129", "0.6194129", "0.61209023", "0.6109524", "0.6100993", "0.6072781", "0.6056828", "0.6048171", "0.6013581", "0.60036683", "0.60005546", "0.59906876", "0.59899694", "0.5987824", "0.59720564", "0.59583396...
0.7316746
1
Deletes the given model element from the collection.
void deleteModelElement(EObject modelElement);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void delete(T element);", "void deleteElement(int elementId);", "public T remove(T element) throws EmptyCollectionException, ElementNotFoundException;", "@Override\r\n\tpublic void delete(T element) {\n\r\n\t}", "public <T extends IDBEntities> void delete(T element) {\n\t\tif (element == null)\n\t\t...
[ "0.68521106", "0.6758707", "0.6740455", "0.6554566", "0.65042394", "0.64661527", "0.64648217", "0.6395211", "0.6365591", "0.63487136", "0.6321384", "0.62948376", "0.62789464", "0.6242097", "0.61746806", "0.6168673", "0.6150382", "0.61298317", "0.5979601", "0.59427696", "0.586...
0.77868557
0
Returns a flat representation of all model elements in the collection.
Set<EObject> getAllModelElements();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Collection<T> dump() {\n\t\treturn internalElements();\n\t}", "Collection<V> getAllElements();", "Collection<T> getSimpleModelObjects();", "Collection<EObject> getModelElements();", "public com.google.protobuf.ByteString\n getCollectionBytes() {\n return instance.getCollectionBytes();\n ...
[ "0.67661023", "0.64894843", "0.6467788", "0.6410849", "0.5731302", "0.5659566", "0.56558603", "0.561641", "0.55725914", "0.5567916", "0.5548262", "0.5519964", "0.5500748", "0.5499895", "0.54874676", "0.54866886", "0.54822177", "0.5461297", "0.5458734", "0.54499036", "0.544261...
0.6543182
1
Initializes the ID caches of the project with the given mappings.
void initCaches(Map<EObject, String> eObjectToIdMap, Map<String, EObject> idToEObjectMap);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void initialize(String id, ConfigMap configMap) {}", "private void init() {\n clearCaches();\n }", "private static void mapDbAsstIDs()\r\n {\r\n if (dbIdMap == null) {\r\n dbIdMap = new HashMap<String, Integer>();\r\n dbIdMap.put(\"repair\", 1);\r\n d...
[ "0.5971669", "0.5744237", "0.5692017", "0.56738657", "0.56026906", "0.5497261", "0.5486443", "0.53997785", "0.5397525", "0.53897095", "0.53752214", "0.5371435", "0.5359326", "0.53472656", "0.53337014", "0.53315437", "0.5286094", "0.52835035", "0.52677214", "0.5262994", "0.525...
0.6955385
0
a game event has occurred
public void notify(IGameEvent event) { switch (event.getType()) { case GameEvent.GAME_LOST_EVENT: GameLostEvent gameLostEvent = (GameLostEvent)event; destroy(); //TODO:Show "You lose" message here //redirect to main menu on loser ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void gameEnded() {}", "void onNewGame();", "public abstract void onLostGame();", "public void handleNewGameEvent(ActionEvent event) {\n\t\tgame.startNewGame();\n\t}", "void gameStarted();", "void gameStarted();", "public abstract void onSolvedGame();", "void notifyNewGame();", "void gameFini...
[ "0.71412003", "0.6990698", "0.6931753", "0.6827192", "0.6803705", "0.6803705", "0.6727091", "0.6711276", "0.66823405", "0.6677878", "0.6672251", "0.66482115", "0.65949833", "0.65690845", "0.6530662", "0.6521199", "0.6483409", "0.64566284", "0.6452928", "0.64487153", "0.644204...
0.6641103
12
kill the activity on back pressed
@Override public void onBackPressed() { onStop(); super.onBackPressed(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void onBackPressed() {\n\t\tIntent intent = new Intent(Intent.ACTION_MAIN);\n intent.addCategory(Intent.CATEGORY_HOME);\n intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n startActivity(intent);\n finish();\n System.exit(0);\n\t}", "@Override\n public vo...
[ "0.78835666", "0.7872585", "0.7871903", "0.78287816", "0.7805391", "0.77505267", "0.77422035", "0.7729479", "0.7699043", "0.7692814", "0.7692814", "0.7691294", "0.766956", "0.7659125", "0.76521176", "0.7647435", "0.7613604", "0.7612032", "0.76034117", "0.759672", "0.7592999",...
0.78425366
3
Sets the "items" attribute with a collection of Docente entities that are retrieved from TipoTrabajo?cap_first and returns the navigation outcome.
public String navigateDocenteCollection() { if (this.getSelected() != null) { FacesContext.getCurrentInstance().getExternalContext().getRequestMap().put("Docente_items", this.getSelected().getDocenteCollection()); } return this.mobilePageController.getMobilePagesPrefix() + "/docente/...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@ApiModelProperty(value = \"The items that are setup to rebill\")\r\n public List<AutoOrderItem> getItems() {\r\n return items;\r\n }", "public Item getItems() {\n return items;\n }", "public void setItems(Item items) {\n this.items = items;\n }", "public Item[] getItems()\n {\n ...
[ "0.5542197", "0.5458511", "0.5423568", "0.53247565", "0.5227976", "0.5162513", "0.5158199", "0.51494855", "0.5126079", "0.50966305", "0.5085995", "0.5085995", "0.5047325", "0.5014992", "0.50074035", "0.49946198", "0.49925733", "0.49828637", "0.49786893", "0.49745694", "0.4962...
0.58890027
0
A comment to describe the origin request policy. The comment cannot be longer than 128 characters.
public void setComment(String comment) { this.comment = comment; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public OriginRequestPolicyConfig withComment(String comment) {\n setComment(comment);\n return this;\n }", "@ApiModelProperty(value = \"The Software Statement RFC-3986-compliant policy URI\")\n\n@Size(max=256) \n public String getPolicyUri() {\n return policyUri;\n }", "String privacyPoli...
[ "0.600284", "0.59364176", "0.581487", "0.5692022", "0.54967624", "0.5483498", "0.5459916", "0.542538", "0.53623563", "0.5335817", "0.5334937", "0.5301174", "0.5251088", "0.5200294", "0.51979524", "0.5149952", "0.5090156", "0.5090113", "0.5090113", "0.5090113", "0.5090113", ...
0.0
-1
A comment to describe the origin request policy. The comment cannot be longer than 128 characters.
public String getComment() { return this.comment; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public OriginRequestPolicyConfig withComment(String comment) {\n setComment(comment);\n return this;\n }", "@ApiModelProperty(value = \"The Software Statement RFC-3986-compliant policy URI\")\n\n@Size(max=256) \n public String getPolicyUri() {\n return policyUri;\n }", "String privacyPoli...
[ "0.60019714", "0.59342885", "0.58115476", "0.5691147", "0.5499147", "0.54837596", "0.54584527", "0.5428354", "0.5364685", "0.53330266", "0.53329295", "0.5298703", "0.5252348", "0.5203775", "0.51941127", "0.51535696", "0.5094", "0.5094", "0.5094", "0.5094", "0.5094", "0.5094...
0.48438936
53
A comment to describe the origin request policy. The comment cannot be longer than 128 characters.
public OriginRequestPolicyConfig withComment(String comment) { setComment(comment); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@ApiModelProperty(value = \"The Software Statement RFC-3986-compliant policy URI\")\n\n@Size(max=256) \n public String getPolicyUri() {\n return policyUri;\n }", "String privacyPolicy();", "@ApiModelProperty(value = \"String describing the policy\")\n public String getDescription() {\n return descript...
[ "0.59364176", "0.581487", "0.5692022", "0.54967624", "0.5483498", "0.5459916", "0.542538", "0.53623563", "0.5335817", "0.5334937", "0.5301174", "0.5251088", "0.5200294", "0.51979524", "0.5149952", "0.5090156", "0.5090113", "0.5090113", "0.5090113", "0.5090113", "0.5090113", ...
0.600284
0
A unique name to identify the origin request policy.
public void setName(String name) { this.name = name; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getPolicyName() {\n \t\treturn policyName;\n \t}", "@Attribute(order = 100, validators = { RequiredValueValidator.class })\n\t\tString policyName();", "@Override\n public Exp getBasePolicyCode() {\n return null;\n }", "int getOriginName();", "String privacyPolicy();", "public String ge...
[ "0.68103296", "0.6771613", "0.6066658", "0.5730213", "0.569812", "0.5682288", "0.56342715", "0.56274265", "0.55718863", "0.5501357", "0.5497524", "0.5483823", "0.5483823", "0.5482238", "0.5475418", "0.5455818", "0.54347533", "0.54025906", "0.5391406", "0.53714055", "0.5331647...
0.0
-1
A unique name to identify the origin request policy.
public String getName() { return this.name; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getPolicyName() {\n \t\treturn policyName;\n \t}", "@Attribute(order = 100, validators = { RequiredValueValidator.class })\n\t\tString policyName();", "@Override\n public Exp getBasePolicyCode() {\n return null;\n }", "int getOriginName();", "String privacyPolicy();", "public String ge...
[ "0.6809448", "0.6770867", "0.6067784", "0.57285357", "0.57008207", "0.56826305", "0.5635702", "0.5627242", "0.5572165", "0.549972", "0.54980433", "0.54843956", "0.54843956", "0.5482105", "0.54760456", "0.5454691", "0.5433714", "0.54012346", "0.5392043", "0.53707314", "0.53328...
0.0
-1
A unique name to identify the origin request policy.
public OriginRequestPolicyConfig withName(String name) { setName(name); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getPolicyName() {\n \t\treturn policyName;\n \t}", "@Attribute(order = 100, validators = { RequiredValueValidator.class })\n\t\tString policyName();", "@Override\n public Exp getBasePolicyCode() {\n return null;\n }", "int getOriginName();", "String privacyPolicy();", "public String ge...
[ "0.6809696", "0.6771039", "0.6064411", "0.57317615", "0.56956214", "0.5682151", "0.5631227", "0.56266755", "0.5573897", "0.55040914", "0.54951614", "0.5483061", "0.54825944", "0.54825944", "0.54746556", "0.54558307", "0.5434835", "0.5402839", "0.5394219", "0.53729755", "0.532...
0.5112608
39
The HTTP headers to include in origin requests. These can include headers from viewer requests and additional headers added by CloudFront.
public void setHeadersConfig(OriginRequestPolicyHeadersConfig headersConfig) { this.headersConfig = headersConfig; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void displayOriginRequestHeaders(HttpRequest argOriginRequest) {\r\n\t\tif (logger.isDebugEnabled()) {\r\n\t\t\tHeader[] headers = argOriginRequest.getAllHeaders();\r\n\t\t\tif (headers != null) {\r\n\t\t\t\tlogger.debug(\"======================= ORIGIN REQUEST HEADERS : BEGIN ======================...
[ "0.7182265", "0.715534", "0.71082205", "0.7089163", "0.70659244", "0.7024808", "0.69982445", "0.699599", "0.6978063", "0.6924159", "0.6915473", "0.6903489", "0.6895051", "0.68705446", "0.683307", "0.68211967", "0.68211967", "0.67975205", "0.67288744", "0.66534096", "0.6615653...
0.58272576
95
The HTTP headers to include in origin requests. These can include headers from viewer requests and additional headers added by CloudFront.
public OriginRequestPolicyHeadersConfig getHeadersConfig() { return this.headersConfig; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void displayOriginRequestHeaders(HttpRequest argOriginRequest) {\r\n\t\tif (logger.isDebugEnabled()) {\r\n\t\t\tHeader[] headers = argOriginRequest.getAllHeaders();\r\n\t\t\tif (headers != null) {\r\n\t\t\t\tlogger.debug(\"======================= ORIGIN REQUEST HEADERS : BEGIN ======================...
[ "0.7183675", "0.7152357", "0.71048117", "0.7086269", "0.70622134", "0.70220405", "0.6996087", "0.6992831", "0.69754666", "0.69131064", "0.69029987", "0.6893538", "0.68683857", "0.6831342", "0.6819495", "0.6819495", "0.6796393", "0.6726944", "0.6651483", "0.6613329", "0.660015...
0.69249094
9
The HTTP headers to include in origin requests. These can include headers from viewer requests and additional headers added by CloudFront.
public OriginRequestPolicyConfig withHeadersConfig(OriginRequestPolicyHeadersConfig headersConfig) { setHeadersConfig(headersConfig); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void displayOriginRequestHeaders(HttpRequest argOriginRequest) {\r\n\t\tif (logger.isDebugEnabled()) {\r\n\t\t\tHeader[] headers = argOriginRequest.getAllHeaders();\r\n\t\t\tif (headers != null) {\r\n\t\t\t\tlogger.debug(\"======================= ORIGIN REQUEST HEADERS : BEGIN ======================...
[ "0.7182265", "0.715534", "0.71082205", "0.7089163", "0.70659244", "0.7024808", "0.69982445", "0.699599", "0.6978063", "0.6924159", "0.6915473", "0.6903489", "0.6895051", "0.68705446", "0.683307", "0.68211967", "0.68211967", "0.67975205", "0.67288744", "0.66534096", "0.6615653...
0.0
-1
The cookies from viewer requests to include in origin requests.
public void setCookiesConfig(OriginRequestPolicyCookiesConfig cookiesConfig) { this.cookiesConfig = cookiesConfig; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Map<String, String> getCookies() {\r\n return _cookies;\r\n }", "public OriginRequestPolicyCookiesConfig getCookiesConfig() {\n return this.cookiesConfig;\n }", "public static Series<Cookie> getResourceCookies() {\n return getRequest() == null ? null : getRequest().getCookies();\n ...
[ "0.72387284", "0.69367564", "0.69241923", "0.68988955", "0.68353415", "0.68038523", "0.6793431", "0.67628545", "0.6612621", "0.6594174", "0.65337354", "0.64467674", "0.6145164", "0.60553604", "0.5995681", "0.5904755", "0.58495086", "0.5810338", "0.57532585", "0.57070196", "0....
0.5705989
20
The cookies from viewer requests to include in origin requests.
public OriginRequestPolicyCookiesConfig getCookiesConfig() { return this.cookiesConfig; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Map<String, String> getCookies() {\r\n return _cookies;\r\n }", "public static Series<Cookie> getResourceCookies() {\n return getRequest() == null ? null : getRequest().getCookies();\n }", "public Cookie[] getCookieObjects() {\n\t\tCookie[] result = request.getCookies();\n\t\treturn result...
[ "0.7237613", "0.69230855", "0.68985987", "0.6835624", "0.68034965", "0.6793045", "0.6762831", "0.6612331", "0.65937185", "0.6533473", "0.64456475", "0.61440396", "0.60540867", "0.59953743", "0.5905497", "0.5849215", "0.5811661", "0.57532495", "0.5708315", "0.570574", "0.57046...
0.6936035
1
The cookies from viewer requests to include in origin requests.
public OriginRequestPolicyConfig withCookiesConfig(OriginRequestPolicyCookiesConfig cookiesConfig) { setCookiesConfig(cookiesConfig); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Map<String, String> getCookies() {\r\n return _cookies;\r\n }", "public OriginRequestPolicyCookiesConfig getCookiesConfig() {\n return this.cookiesConfig;\n }", "public static Series<Cookie> getResourceCookies() {\n return getRequest() == null ? null : getRequest().getCookies();\n ...
[ "0.7237137", "0.69354516", "0.69224465", "0.68976045", "0.68353355", "0.68021035", "0.6791745", "0.67619324", "0.66112185", "0.6591663", "0.6531761", "0.6444562", "0.6143302", "0.6053896", "0.5995528", "0.5905758", "0.58487386", "0.5810411", "0.5751393", "0.5707078", "0.57063...
0.0
-1
The URL query strings from viewer requests to include in origin requests.
public void setQueryStringsConfig(OriginRequestPolicyQueryStringsConfig queryStringsConfig) { this.queryStringsConfig = queryStringsConfig; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String getOriginUrl() {\n Uri.Builder builder = url.buildUpon();\n for (Param p : queryParams) {\n builder.appendQueryParameter(p.key, p.value);\n }\n return builder.build().toString();\n }", "String getQueryRequestUrl();", "String getQueryResultsUrl();", "public String getQueryStri...
[ "0.72871846", "0.71905744", "0.63596356", "0.62278205", "0.62278205", "0.6113529", "0.6059315", "0.6025161", "0.5988152", "0.5926859", "0.5917828", "0.59154516", "0.5892884", "0.58883315", "0.5880111", "0.5878703", "0.5848155", "0.5785168", "0.5784631", "0.5772261", "0.575830...
0.0
-1
The URL query strings from viewer requests to include in origin requests.
public OriginRequestPolicyQueryStringsConfig getQueryStringsConfig() { return this.queryStringsConfig; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String getOriginUrl() {\n Uri.Builder builder = url.buildUpon();\n for (Param p : queryParams) {\n builder.appendQueryParameter(p.key, p.value);\n }\n return builder.build().toString();\n }", "String getQueryRequestUrl();", "String getQueryResultsUrl();", "public String getQueryStri...
[ "0.7284183", "0.7190249", "0.6359226", "0.62292427", "0.62292427", "0.61118233", "0.60588264", "0.6023927", "0.5986357", "0.5925862", "0.59170485", "0.5916523", "0.5891946", "0.5888038", "0.58801496", "0.5879504", "0.5846927", "0.57846415", "0.57834715", "0.57720983", "0.5759...
0.56175756
29
The URL query strings from viewer requests to include in origin requests.
public OriginRequestPolicyConfig withQueryStringsConfig(OriginRequestPolicyQueryStringsConfig queryStringsConfig) { setQueryStringsConfig(queryStringsConfig); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String getOriginUrl() {\n Uri.Builder builder = url.buildUpon();\n for (Param p : queryParams) {\n builder.appendQueryParameter(p.key, p.value);\n }\n return builder.build().toString();\n }", "String getQueryRequestUrl();", "String getQueryResultsUrl();", "public String getQueryStri...
[ "0.72871846", "0.71905744", "0.63596356", "0.62278205", "0.62278205", "0.6113529", "0.6059315", "0.6025161", "0.5988152", "0.5926859", "0.5917828", "0.59154516", "0.5892884", "0.58883315", "0.5880111", "0.5878703", "0.5848155", "0.5785168", "0.5784631", "0.5772261", "0.575830...
0.0
-1
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
@Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getComment() != null) sb.append("Comment: ").append(getComment()).append(","); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String toString() { return stringify(this, true); }", "@Override\n public String toString() {\n return new JSONSerializer().serialize(this);\n }", "public String toString() {\n\t\treturn this.toJSON().toString();\n\t}", "public String toString() {\n\t\treturn this.toJSON().toString();\n\t...
[ "0.8098023", "0.80729294", "0.80471045", "0.80471045", "0.80242705", "0.79729", "0.79374725", "0.79282546", "0.7908959", "0.7893721", "0.7782485", "0.778223", "0.77669334", "0.77661014", "0.77661014", "0.77661014", "0.77553314", "0.7727662", "0.7721703", "0.7672967", "0.76729...
0.0
-1
/ 1) ArrayLists are flexible in size. 2) ArrayLists cannot store multiple data types 3) ArrayLists store nonprimitive data type. 4) ArrayLists are updates version of Arrays. 5)
public static void main(String[] args) { ArrayList<Integer>list1 = new ArrayList<>(); System.out.println(list1); //How to add element into an ArrayList. //add() method uses Insertion order.(yerlestirme sirasi) list1.add(12); list1.add(12); list1.add(33); //How to add an element into a spe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\n int[] myIntArray = new int[10]; // int array\n String[] myStringArray = new String[10]; // String array\n\n ArrayList<String> myStringArrayList = new ArrayList<String>(); // String ArrayList\n myStringArrayList.add(\"Peti\");\nclass IntClass {/...
[ "0.6581157", "0.6578604", "0.6384306", "0.63233584", "0.629145", "0.62519056", "0.6232327", "0.6226919", "0.61898947", "0.6181715", "0.61740243", "0.61378604", "0.612578", "0.60696733", "0.605858", "0.6045574", "0.6026386", "0.5999936", "0.5992958", "0.5963747", "0.59445965",...
0.0
-1
Removes all EnemyFish 'hit' by a FishBomb. Updates the score of the player for every 'hit' fish.
public void handleFishBomb(FishBomb aFishBomb) { ArrayList<EnemyFish> fishToRemove = new ArrayList<EnemyFish>(); for (EnemyFish currEnemyFish : fEnemyFishList) { BoundingBox currEnemyFishBoundingBox = currEnemyFish.getSprite().getBoundingBox(); if (aFishBomb.intersectsRectangle(currEnemyFishBoun...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void clearEnemies() {\n\t\tIterator<Entity> it = entities.iterator();\n\t\twhile (it.hasNext()) {\n\t\t\tEntity e = it.next();\n\t\t\t//Skip playerfish\n\t\t\tif (e instanceof PlayerFish) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t\n\t\t\t//Kill and remove the entity\n\t\t\te.kill();\n\t\t\tit.remove();\n\t\t}\n\...
[ "0.628002", "0.6200398", "0.61992306", "0.619489", "0.60360783", "0.60154206", "0.6008967", "0.5939271", "0.59074503", "0.585753", "0.56982845", "0.5619524", "0.56040186", "0.55981195", "0.55358666", "0.5525055", "0.5516535", "0.5508373", "0.5503018", "0.5497888", "0.54879105...
0.7539472
0
Searches for an intersection between the EnemyFish and the parameter PlayerFish. If an intersection is found, a comparison is made ( Enemy Fish small than PlayerFish ? ). If it is, the player's score is updated.
public Pair<Integer, Boolean> intersectsPlayerFish(PlayerFish aPlayerFish) { for (int i = 0; i < fEnemyFishList.size(); i++) { Entity currEnemyFish = fEnemyFishList.get(i); if (aPlayerFish.intersects(currEnemyFish)) { BoundingBox currEnemyFishBoundingBox = currEnemyFish.getSprite().getBoundingBo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void handleFishBomb(FishBomb aFishBomb) {\n\n ArrayList<EnemyFish> fishToRemove = new ArrayList<EnemyFish>();\n\n for (EnemyFish currEnemyFish : fEnemyFishList) {\n\n BoundingBox currEnemyFishBoundingBox = currEnemyFish.getSprite().getBoundingBox();\n\n if (aFishBomb.intersectsRectangle(curr...
[ "0.5629139", "0.52964395", "0.5097721", "0.49914134", "0.49796656", "0.49686474", "0.4967404", "0.49610716", "0.49331567", "0.48740172", "0.48689273", "0.48246226", "0.480552", "0.47817823", "0.47732928", "0.47713965", "0.4767803", "0.47610873", "0.47571278", "0.47536752", "0...
0.7476815
0
Removes fish that have moved outside a certain bounding box.
public void removeOffScreenEnemyFish(BoundingBox aBoundingBox) { for (int i = 0; i < fEnemyFishList.size(); i++) { EnemyFish currEnemyFish = fEnemyFishList.get(i); BoundingBox currEnemyFishBoundingBox = currEnemyFish.getSprite().getBoundingBox(); if (!aBoundingBox.intersects(currEnemyFishBoundingB...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void removeBall(Coordinates at);", "public void remove(DrawEvent currentEvent) {\n super.removeElement(currentEvent);\n bounds.x = Integer.MAX_VALUE;\n bounds.y = Integer.MAX_VALUE;\n for (int i = 0; i < this.size(); i++) {\n DrawEvent event = (DrawEvent) this.elementAt(i);...
[ "0.60304683", "0.58871776", "0.58588", "0.5810979", "0.5750786", "0.57288915", "0.5704131", "0.56313545", "0.5529695", "0.54806596", "0.5464947", "0.5369235", "0.53063715", "0.5287769", "0.5283776", "0.5250235", "0.5199455", "0.5171526", "0.5171046", "0.5144587", "0.5143806",...
0.707215
0
Renders all the fish to a particular GraphicsContext.
public void render(GraphicsContext aGraphicsContext) { for (EnemyFish currEnemyFish : fEnemyFishList) { currEnemyFish.getSprite().render(aGraphicsContext); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void drawAllGraphics(){\r\n\t\t \r\n\t}", "public void render(Graphics g)\r\n\t{\r\n\t\tfor(Entity e : entities)\r\n\t\t{\r\n\t\t\te.render(g);\r\n\t\t}\t\r\n\t}", "public void draw(Graphics g) {\n\t\tfor (var f : flowers) {\n\t\t\tf.draw(g);\n\t\t}\n\t\t\n\t\t//loop through weeds; draw each\n\t\tfor...
[ "0.63255954", "0.62934685", "0.62853146", "0.6211382", "0.61916614", "0.61418957", "0.6135177", "0.6107893", "0.61007047", "0.6071929", "0.6067531", "0.60586137", "0.60535777", "0.60404223", "0.6035877", "0.6028631", "0.602528", "0.60201466", "0.6017408", "0.59974957", "0.597...
0.782297
0
Moves all the fish.
public void move() { for (EnemyFish currEnemyFish : fEnemyFishList) { int movespeed = currEnemyFish.getMoveSpeed(); if (currEnemyFish.isLefty()) { currEnemyFish.getSprite().updateX(movespeed); } else { currEnemyFish.getSprite().updateX(-movespeed); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void move() {\r\n\t\tthis.swim();\r\n\t\tthis.swim();\r\n\t\tthis.swim();\r\n\t\tthis.swim();\r\n\t\tthis.swim();\r\n\t\tthis.swim();\r\n\t\tthis.swim();\r\n\t\tthis.swim();\r\n\t\tthis.swim();\r\n\t\tthis.swim();\r\n\t}", "protected void move()\n {\n // Find a location to move to.\n Debu...
[ "0.69429195", "0.68941605", "0.6839798", "0.674867", "0.6708253", "0.6626727", "0.65701646", "0.6488166", "0.6462933", "0.64021146", "0.63750684", "0.6337616", "0.62956274", "0.6255246", "0.62519765", "0.62373906", "0.622386", "0.6157352", "0.6128977", "0.61172307", "0.608352...
0.7038949
0
Implement an algorithm to determine if a string has all unique characters.
public static boolean checkUnique(String s) { if (s == null || s.length() == 0) return true; HashMap<Character, Integer> map = new HashMap<Character, Integer>(); char[] arr = new char[s.length()]; for (int i = 0; i < s.length(); i++) { if (!map.containsKey(s.charAt(i))) map.put(s.charAt(i), 1); els...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean isUniqueChars(String str) {\n\t if(str.length() > 128) return false;\n\t \n\t //created hash table boolean to flag duplicate characters\n\t boolean [] check = new boolean [128];\n\t \n\t //run a for look in order to iterate through the string.\n for(int i = 0; i < str...
[ "0.8095279", "0.8068671", "0.80384827", "0.8000393", "0.7963777", "0.7931937", "0.79025024", "0.79016227", "0.7875805", "0.787168", "0.78433067", "0.78232676", "0.7820955", "0.78130895", "0.7785114", "0.7761669", "0.7733038", "0.77259123", "0.77221996", "0.7717699", "0.766521...
0.76897156
20
Inflate the menu; this adds items to the action bar if it is present.
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.main, menu); ActionBar bar = getActionBar(); int color = Color.parseColor("#FF038f0d"); bar.setBackgroundDrawable(new ColorDrawable(color)); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {...
[ "0.7249201", "0.7204109", "0.7197405", "0.71792436", "0.7109801", "0.7041446", "0.7040234", "0.70145714", "0.7011273", "0.6983118", "0.6946729", "0.6940447", "0.6936383", "0.6920103", "0.6920103", "0.6893587", "0.6885479", "0.6877562", "0.6877041", "0.6864375", "0.6864375", ...
0.0
-1
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
@Override public boolean onOptionsItemSelected(MenuItem item) { int id = item.getItemId(); if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ...
[ "0.7904536", "0.78052336", "0.7766536", "0.7727363", "0.76318616", "0.7621916", "0.7584545", "0.7530609", "0.74878335", "0.74571276", "0.74571276", "0.7438656", "0.7422694", "0.7403604", "0.73918706", "0.7387049", "0.7379379", "0.73706305", "0.7362634", "0.7356091", "0.734574...
0.0
-1
Code to sign in an existing Organization (Or Super User)
public void studentSignIn(View view){ final EditText userName = (EditText) findViewById(R.id.StudentNameSignText); final EditText password = (EditText) findViewById(R.id.StudentPasswordSignText); final TextView error = (TextView) findViewById(R.id.ErrorStudentSignIn); ParseUser.logInInBackground(use...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void signIn() {\n }", "String signIn(String userName, String password) throws UserNotFoundException;", "User signIn(String login, String password);", "public void loginCorporateByCaller(CorporateLoginData corporateLoginData){\n type(By.name(\"auth[ACCOUNT]\"),corporateLoginData.getAccountnu...
[ "0.6325741", "0.63103145", "0.6278437", "0.60852826", "0.60404956", "0.59590936", "0.59496146", "0.5924416", "0.58762026", "0.58749807", "0.58749807", "0.58749807", "0.5795834", "0.5792392", "0.57872117", "0.57686925", "0.5718239", "0.5718239", "0.5718239", "0.5718239", "0.57...
0.54733497
34
This set the range of numbers that the random will be generated from.
public static void main(String[] Args) { //Generate a lottery number lottery = (int) (Math.random() * RAND1); //Prompt the user to enter a guess Scanner input = new Scanner(System.in); System.out.print("Enter your lottery pick (two digits): "); guess = input.nextInt(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RangeRandom(final float min, final float max) {\n this.max = max;\n this.min = min;\n this.random = new Random(System.nanoTime());\n }", "public void setRange(Range range) { setRange(range, true, true); }", "public static int customRandom(int range)\n {\n \tint random = (in...
[ "0.6865913", "0.6836989", "0.6787983", "0.67378134", "0.673143", "0.6559691", "0.6557358", "0.65481174", "0.64389694", "0.64249617", "0.64214545", "0.64189196", "0.6378161", "0.6360618", "0.6357158", "0.63545156", "0.63131857", "0.6310808", "0.6281232", "0.62546444", "0.62272...
0.0
-1
Runs only once after all suite
@AfterClass public static void dropDown() { ApplicationProperties properties = new ApplicationProperties(); UserApiResource userApiResource = new UserApiResource(properties); // DropUsers dropUsers = new DropUsers(userApiResource); // dropUsers.tearDownUsers(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void runAfterTest() {}", "@AfterClass\n public static void runOnceAfterClass() {\n //System.out.println(\"@AfterClass - runOnceAfterClass\");\n }", "@AfterAll\n public static void afterClass() {\n System.out.println(\"After!!! **** - I am only called once!!!\");\n }", "@Af...
[ "0.7791578", "0.7453813", "0.7359249", "0.732181", "0.7138631", "0.7137668", "0.7136586", "0.7072794", "0.7053231", "0.70517737", "0.7018195", "0.6998371", "0.69653726", "0.6961615", "0.6954403", "0.6954403", "0.6954403", "0.6954403", "0.6954403", "0.6954403", "0.6954403", ...
0.0
-1
Runs only once before test
@BeforeClass public static void setUp() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Before\r\n\tpublic void doThisEveryTime() {\n\t}", "protected void runBeforeTest() {}", "@Override\n public void beforeFirstLogic() {\n }", "protected void runBeforeStep() {}", "protected void runBeforeIterations() {}", "void beforeRun();", "void before();", "protected void runBeforeIteration(...
[ "0.79800266", "0.77299887", "0.7354612", "0.73248434", "0.7268435", "0.7213212", "0.71793807", "0.7179332", "0.7081557", "0.7064145", "0.70541185", "0.7013787", "0.6951577", "0.6945802", "0.69332874", "0.69332874", "0.69311786", "0.69247127", "0.69247127", "0.68834126", "0.68...
0.0
-1
KEEP FIELDS put your custom fields here KEEP FIELDS END
public EatTime() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tprotected String[] ignoreFields() {\n\t\treturn null;\n\t}", "public void formatFields() {\r\n\t}", "private static String db2selectFields() {\n return \"ID, EXTERNAL_ID, CREATED, CLAIMED, COMPLETED, MODIFIED, PLANNED, RECEIVED, DUE, NAME, \"\n + \"CREATOR, DESCRIPTION, NOTE, PRIORITY, M...
[ "0.59416205", "0.5639585", "0.5415948", "0.5414844", "0.5337502", "0.5317737", "0.5300493", "0.52835107", "0.528257", "0.52172285", "0.5210397", "0.52023166", "0.5193315", "0.5119721", "0.51156837", "0.5107027", "0.51057434", "0.5083161", "0.50756294", "0.5057746", "0.5047119...
0.0
-1
Value to write if no title is found (optional).
public void setDefault(String defaultTitle) { this.defaultTitle = defaultTitle; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setTitle(String value) {\n/* 337 */ setTitle((String)null, value);\n/* */ }", "public void addTitle( org.ontoware.rdf2go.model.node.Node value) {\r\n\t\tBase.add(this.model, this.getResource(), TITLE, value);\r\n\t}", "public java.lang.String getTitle()\n {\n synchronized (monit...
[ "0.58070797", "0.5797471", "0.5698605", "0.5693548", "0.56366414", "0.56160504", "0.56009126", "0.56009126", "0.56009126", "0.5583325", "0.5579866", "0.55622697", "0.555321", "0.54992884", "0.5482602", "0.5475036", "0.5453866", "0.5427397", "0.54175884", "0.54086703", "0.5405...
0.0
-1
Override onAttach to make sure that the container activity has implemented the callback
@Override public void onAttach(Context context) { super.onAttach(context); // This makes sure that the host activity has implemented the callback interface // If not, it throws an exception try { mCallback = (OnStepClickListener) context; } catch (ClassCastExcept...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void onAttach();", "@Override\n public void onAttach(Activity activity) {\n super.onAttach(activity);\n\n Log.v(TAG, \"on attach\");\n callback = (Callback)activity;\n }", "@Override\n public void onAttach(Activity activity) {\n super.onAttach(activity);\n ...
[ "0.80008924", "0.7982926", "0.7853515", "0.7612218", "0.76015514", "0.7554143", "0.75436616", "0.75240314", "0.75203705", "0.7510079", "0.7482968", "0.7473909", "0.7473909", "0.7473909", "0.74672127", "0.74487925", "0.74467325", "0.74300414", "0.74300414", "0.7407447", "0.739...
0.73893744
22
Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a screenshot from the resulting frame. Requires that the target was created with enabled BeginFrameControl. Designed for use with runallcompositorstagesbeforedraw, see also for more background. experimental
public jpuppeteer.cdp.cdp.entity.headlessexperimental.BeginFrameResponse beginFrame(jpuppeteer.cdp.cdp.entity.headlessexperimental.BeginFrameRequest request, int timeout) throws Exception { return session.send("HeadlessExperimental.beginFrame", request, jpuppeteer.cdp.cdp.entity.headlessexperimental.BeginFrameR...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void takesScreenshot();", "@Override\n public void capture() {\n captureScreen();\n }", "public Bitmap makeScreenshot() {\n renderer.setScreenshot();\n requestRender();\n return renderer.getLastScreenshot();\n }", "public void screenshot() {\n\t\tRemoteWebDriv...
[ "0.5688359", "0.567537", "0.5372571", "0.5249844", "0.5145505", "0.5122008", "0.5122008", "0.50810015", "0.507617", "0.4947894", "0.4918881", "0.49126273", "0.49116343", "0.48865846", "0.4881445", "0.48783693", "0.48683894", "0.48587602", "0.48350826", "0.48265782", "0.481244...
0.52082014
4
Disables headless events for the target. experimental
public void disable(int timeout) throws Exception { session.send("HeadlessExperimental.disable", null, timeout); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void onDisabled() {\n // Do nothing.\n }", "public void disable();", "void disable() {\n }", "void disable();", "void disable();", "default void onDisable() {}", "@Override\n public void onDisable() {\n }", "public void onDisable() {\n }", "public void onDisable() {\n }",...
[ "0.64972407", "0.62598187", "0.62422395", "0.62298733", "0.62298733", "0.6229125", "0.6106665", "0.6099624", "0.6097628", "0.6097628", "0.6096517", "0.60931915", "0.6066453", "0.6048589", "0.6005291", "0.5951261", "0.5936122", "0.5930351", "0.59284514", "0.59142464", "0.58979...
0.6081378
12
Enables headless events for the target. experimental
public void enable(int timeout) throws Exception { session.send("HeadlessExperimental.enable", null, timeout); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setHeadless(boolean headless) {\n\t\tthis.headless = headless;\n\t}", "public static boolean isHeadless() {\n return false;\n }", "protected void setHeadless(boolean b) {\n m_Headless = b;\n }", "public boolean isHeadless() {\n return m_Headless;\n }", "boolean eve...
[ "0.64269775", "0.60321605", "0.6003383", "0.56575716", "0.5518375", "0.5298514", "0.5258314", "0.5171723", "0.510744", "0.51055855", "0.50714606", "0.50575906", "0.5028344", "0.50089204", "0.50035405", "0.4998805", "0.4998805", "0.49852696", "0.4975137", "0.49716777", "0.4962...
0.6133132
1
process of waiting for train
public void CondWait(){ try { trainCond.await(); } catch (InterruptedException ex) { Logger.getLogger(Area.class.getName()).log(Level.SEVERE, null, ex); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void waitUntilTrainPasses(Train train) {\n\t\tthis.wait = train;\n\t}", "public void train ()\t{\t}", "public void startTrainingMode() {\n\t\t\r\n\t}", "public void train(){\n recoApp.training(idsToTest);\n }", "ProcessRunner waitFor();", "@Override\n\t\t\tpublic void run() {\n\t\t\t\tRe...
[ "0.7579316", "0.6548509", "0.63046354", "0.62851703", "0.6278908", "0.62110907", "0.61443585", "0.60415155", "0.5986649", "0.59763485", "0.5975602", "0.59653103", "0.5950705", "0.59052217", "0.58932114", "0.58684933", "0.5857912", "0.58561885", "0.58125895", "0.57895494", "0....
0.68471736
1
signal to wait for train
public void CondSignal(){ trainCond.signal(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void waitUntilTrainPasses(Train train) {\n\t\tthis.wait = train;\n\t}", "public void CondWait(){\n try {\r\n trainCond.await();\r\n } catch (InterruptedException ex) {\r\n Logger.getLogger(Area.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n }", "pub...
[ "0.77340597", "0.66363674", "0.6444308", "0.61044896", "0.6047691", "0.6047426", "0.5915263", "0.5854453", "0.57820904", "0.5755931", "0.57447237", "0.57447237", "0.571434", "0.5631679", "0.5627684", "0.5600621", "0.5600084", "0.5566091", "0.55660295", "0.5525304", "0.5519111...
0.67625624
1
TODO Autogenerated method stub
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_register); DBInit(); initViews(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(View v) { toRegister(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(View v) { RegisterActivity.this.finish(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void done(List<TeacherUser> userlist, BmobException e) { if (username.isEmpty() || password.isEmpty() || passagain.isEmpty() || phonenumber.isEmpty()) { toast("请将信息填写完整!"); progressDialog.dismiss(); } else if (!passagain.equals(password)) { progressDialog.dismiss(); toast...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
TODO Autogenerated method stub
@Override public void done(String message, BmobException e) { if (e == null) { progressDialog.dismiss(); toast("注册成功,请登录!"); RegisterActivity.this.finish(); } else { progressDialog.dismiss(); toast("失败," + e.getMessage()); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Associations (Imposed from DBSTable). In Exasol, Most of objects "derived" from Tables don't have those..
@Override public Collection<? extends DBSEntityAssociation> getReferences(@NotNull DBRProgressMonitor monitor) throws DBException { return Collections.emptyList(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void readAssociations() {\n // proxy the collections for lazy loading\n Class c = getClass();\n for (Field f : c.getDeclaredFields()) {\n for (Annotation a : f.getAnnotations()) {\n if (a.annotationType().equals(HasMany.class)) {\n HasManyProxy prox...
[ "0.61501527", "0.6043774", "0.58472425", "0.5843586", "0.57541424", "0.5646676", "0.56303626", "0.5602845", "0.54984003", "0.5461274", "0.5443302", "0.5430515", "0.5383879", "0.53828275", "0.5357908", "0.5323432", "0.5300445", "0.53002024", "0.52894175", "0.52569175", "0.5252...
0.5076327
45
Returns reference to listener to be notified of events such as when estimation starts, ends or its progress significantly changes.
public QuadricRobustEstimatorListener getListener() { return mListener; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public MetricTransformation2DRobustEstimatorListener getListener() {\n return mListener;\n }", "public Listener getListener() {\n return listener;\n }", "public NumberCellGeneratorListener getListener() {\n return mListener;\n }", "private static StatusListener getListener() {\n...
[ "0.6868623", "0.66674155", "0.6624695", "0.6546386", "0.6395816", "0.63479", "0.63479", "0.6286388", "0.6221112", "0.6131263", "0.6112051", "0.6058083", "0.6057619", "0.60420835", "0.5956826", "0.59215677", "0.5921043", "0.5850519", "0.58287615", "0.57945377", "0.5764203", ...
0.7105951
0
Sets listener to be notified of events such as when estimation starts, ends or its progress significantly changes.
public void setListener(QuadricRobustEstimatorListener listener) throws LockedException { if (isLocked()) { throw new LockedException(); } mListener = listener; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setListener(Listener listener);", "private void setListener() {\n\t}", "public static void setListener(QuadConsumer listener) {\n\t\t\n\t\tnotificationListener = listener;\n\t\t\n\t}", "public void setListener(Listener listener) {\n this.mListener = listener;\n }", "public void setListener(L...
[ "0.7265548", "0.7144251", "0.709955", "0.7056303", "0.7056303", "0.69078785", "0.6823753", "0.6823753", "0.6802239", "0.6720833", "0.6720833", "0.6718777", "0.66806203", "0.6680361", "0.6599116", "0.65104693", "0.64467883", "0.6364148", "0.6341656", "0.63347006", "0.6310808",...
0.65350837
15
Indicates whether listener has been provided and is available for retrieval.
public boolean isListenerAvailable() { return mListener != null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public synchronized boolean isEnabled() {\n \t\t\treturn listenerEnabled;\n \t\t}", "public boolean hasListeners() {\n return !listeners.isEmpty();\n }", "public boolean hasListeners() {\n return !listeners.isEmpty();\n }", "protected boolean hasListeners()\n {\n // m_listen...
[ "0.70809144", "0.6818271", "0.6818271", "0.6746362", "0.6746362", "0.6514572", "0.64971626", "0.6454716", "0.6453146", "0.6407265", "0.63617945", "0.63517386", "0.63517386", "0.628341", "0.62631404", "0.61190814", "0.609551", "0.6088507", "0.6055311", "0.6049273", "0.6003335"...
0.80822253
0
Indicates if this instance is locked because estimation is being computed.
public boolean isLocked() { return mLocked; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isLocked() {\r\n return isLocked;\r\n }", "public boolean isLocked() {\n return isLocked;\n }", "public boolean isLocked();", "public boolean isLocked() {\r\n \treturn false;\r\n }", "public boolean isLocked()\n\t{\n\t\treturn locked;\n\t}", "public boolean isLocke...
[ "0.73449665", "0.73406225", "0.7318423", "0.73046416", "0.7199156", "0.7174745", "0.7133425", "0.7125279", "0.7103307", "0.70931864", "0.70395", "0.70296186", "0.70296186", "0.701967", "0.6892794", "0.6866237", "0.6842724", "0.67849535", "0.6774601", "0.6748443", "0.67418075"...
0.7302277
5
Returns amount of progress variation before notifying a progress change during estimation.
public float getProgressDelta() { return mProgressDelta; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getProgress()\n {\n return ((double)getCount() / (double)getGoal());\n }", "public int getProgress() {\n return Math.round(mProgress);\n }", "public int getProgress() {\n\t\treturn activeQuest.getThreshold() - getRemaining();\n\t}", "public float getProgress() {\n // D...
[ "0.75506335", "0.73286074", "0.72543895", "0.7107118", "0.70774496", "0.7050573", "0.70460683", "0.6924295", "0.6892969", "0.6814838", "0.6786149", "0.67838407", "0.6735586", "0.6730284", "0.657921", "0.65610015", "0.6549625", "0.65104395", "0.648145", "0.6472314", "0.6459088...
0.6504585
18
Sets amount of progress variation before notifying a progress change during estimation.
public void setProgressDelta(float progressDelta) throws LockedException { if (isLocked()) { throw new LockedException(); } if (progressDelta < MIN_PROGRESS_DELTA || progressDelta > MAX_PROGRESS_DELTA) { throw new IllegalArgumentException(); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setProgress(float progress);", "public void setProgress(int value);", "void setProgress(@FloatRange(from = 0, to = 1) float progress);", "void setProgress(int progress);", "void setProgress(int progress);", "public void setProgress(int progress) {\n \t\t\tsynchronized (this) {\n \t\t\t\tm_progress =...
[ "0.7084081", "0.700154", "0.6912164", "0.6882074", "0.6882074", "0.6861678", "0.6640632", "0.6583202", "0.655008", "0.65121454", "0.6437862", "0.63822556", "0.63396823", "0.63003993", "0.6288806", "0.61641014", "0.6158109", "0.61559635", "0.61252785", "0.6102799", "0.6033366"...
0.57575226
51
Returns amount of confidence expressed as a value between 0.0 and 1.0 (which is equivalent to 100%). The amount of confidence indicates the probability that the estimated result is correct. Usually this value will be close to 1.0, but not exactly 1.0.
public double getConfidence() { return mConfidence; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getConfidence() {\n return !Double.isNaN(confidence) ? MathUtil.coerce(0, 1, confidence) : 0.0;\n }", "float getConfidence();", "public float getConfidence();", "public double confidence() {\n return this.confidence;\n }", "public float getConfidence() {\n r...
[ "0.78179747", "0.7585187", "0.7372572", "0.73433137", "0.72368664", "0.7157623", "0.7157347", "0.7119267", "0.7116276", "0.7090907", "0.7089661", "0.7074982", "0.70415807", "0.6972049", "0.6894532", "0.6854308", "0.6850974", "0.6832434", "0.68013465", "0.6782663", "0.67239547...
0.7077271
12
Sets amount of confidence expressed as a value between 0.0 and 1.0 (which is equivalent to 100%). The amount of confidence indicates the probability that the estimated result is correct. Usually this value will be close to 1.0, but not exactly 1.0.
public void setConfidence(double confidence) throws LockedException { if (isLocked()) { throw new LockedException(); } if (confidence < MIN_CONFIDENCE || confidence > MAX_CONFIDENCE) { throw new IllegalArgumentException(); } mConfidence = confidence; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setConfidence(final Double confidence);", "public boolean setConfidence(double value) {\n\t\tboolean valid;\n\t\tif (valid = value >= 0 && value <= 100) {\n\t\t\tconfidence = value;\n\t\t}\n\t\treturn valid;\n\t}", "public void setConfidence(\n final double confidence)\n {\n Argume...
[ "0.81813914", "0.72276163", "0.6934763", "0.6779493", "0.6764295", "0.6714482", "0.66965914", "0.65969163", "0.65484124", "0.6510335", "0.64847386", "0.6443067", "0.6395379", "0.6325644", "0.63237566", "0.6311892", "0.6286368", "0.6277307", "0.6253628", "0.6223065", "0.620725...
0.6628324
7
Returns maximum allowed number of iterations. If maximum allowed number of iterations is achieved without converging to a result when calling estimate(), a RobustEstimatorException will be raised.
public int getMaxIterations() { return mMaxIterations; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected int get_max_iter() {\n\t\treturn iterationsMaximum;\n\t}", "public final int getMaxIterations()\r\n\t{\r\n\t\treturn maxIterations;\r\n\t}", "@Override\n\tpublic int getMaxIterations() {\n\t\treturn maxIterations;\n\t}", "int getMaximalIterationCount();", "public int getMaxRetries() {\n\t retur...
[ "0.7821479", "0.7704983", "0.75827926", "0.6935425", "0.6908832", "0.66979146", "0.6658101", "0.65389854", "0.65361065", "0.65294284", "0.64452404", "0.64130116", "0.64021367", "0.6364047", "0.6362191", "0.6345605", "0.6340106", "0.6315478", "0.631412", "0.6312108", "0.630925...
0.7603091
2
Sets maximum allowed number of iterations. When the maximum number of iterations is exceeded, result will not be available, however an approximate result will be available for retrieval.
public void setMaxIterations(int maxIterations) throws LockedException { if (isLocked()) { throw new LockedException(); } if (maxIterations < MIN_ITERATIONS) { throw new IllegalArgumentException(); } mMaxIterations = maxIterations; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setMaxIterations(int number) {\r\n if (number < CurrentIteration) {\r\n throw new Error(\"Cannot be lower than the current iteration.\");\r\n }\r\n MaxIteration = number;\r\n Candidates.ensureCapacity(MaxIteration);\r\n }", "public void setIterationLimit(int ...
[ "0.7840953", "0.7755202", "0.7491471", "0.7417605", "0.73820555", "0.73660547", "0.73660547", "0.73660547", "0.73660547", "0.73463553", "0.7313698", "0.73084104", "0.73052764", "0.71522796", "0.70732754", "0.70370805", "0.7001223", "0.6992006", "0.6992006", "0.69389325", "0.6...
0.72709805
13
Returns list of points to be used to estimate a quadric. Provided list must have a size greater or equal than MINIMUM_SIZE.
public List<Point3D> getPoints() { return mPoints; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.util.List<com.google.ads.googleads.v6.common.CpvBidSimulationPoint> \n getPointsList();", "public abstract List<Point2D> getInterpolatedPoints();", "private static float[] getPlanBounds(List<float[]> list) {\n float xStart = Float.MAX_VALUE;\n float yStart = Float.MAX_VALUE;\n fl...
[ "0.6479608", "0.6028442", "0.5890266", "0.58750015", "0.58402956", "0.58394766", "0.579594", "0.57190895", "0.5689079", "0.56618506", "0.5641386", "0.5439058", "0.542632", "0.5413576", "0.5406974", "0.5398699", "0.5386848", "0.5316865", "0.53060156", "0.5275488", "0.52437437"...
0.5446457
11
Sets list of points to be used to estimate a quadric. Provided list must have a size greater or equal than MINIMUM_SIZE.
public void setPoints(List<Point3D> points) throws LockedException { if (isLocked()) { throw new LockedException(); } internalSetPoints(points); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void internalSetPoints(List<Point3D> points) {\n if (points.size() < MINIMUM_SIZE) {\n throw new IllegalArgumentException();\n }\n mPoints = points;\n }", "public void setPoints(List<GeoPoint> points){\n\t\tclearPath();\n\t\tint size = points.size();\n\t\tmOriginalPoint...
[ "0.6861506", "0.6612493", "0.5851038", "0.5837212", "0.57881373", "0.5777309", "0.57527065", "0.57389134", "0.5713126", "0.558894", "0.5587252", "0.5568811", "0.54773486", "0.5434007", "0.54200155", "0.54179275", "0.54112124", "0.5403501", "0.53707516", "0.53513926", "0.53481...
0.6004738
2
Indicates if estimator is ready to start the quadric estimation. This is true when a minimum if MINIMUM_SIZE points are available.
public boolean isReady() { return mPoints != null && mPoints.size() >= MINIMUM_SIZE; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isReady() {\n return mInputPoints != null && mOutputPoints != null &&\n mInputPoints.size() == mOutputPoints.size() &&\n mInputPoints.size() >= getMinimumPoints();\n }", "@Override\n public boolean isReady() {\n //at least one parameter estimtion m...
[ "0.732552", "0.6877622", "0.6819254", "0.6229994", "0.62081456", "0.6197551", "0.6186369", "0.6183606", "0.6178502", "0.61560196", "0.6154821", "0.6146487", "0.6128107", "0.612677", "0.61142117", "0.60945666", "0.60108846", "0.5977166", "0.5973491", "0.59435505", "0.5923285",...
0.7629786
0
Returns quality scores corresponding to each point. The larger the score value the better the quality of the point measure. This implementation always returns null. Subclasses using quality scores must implement proper behaviour.
public double[] getQualityScores() { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Collection getQualityResults()\r\n {\r\n return mQualityResults;\r\n }", "public int getScore()\n {\n return points + extras;\n }", "Float getScore();", "public double getBestScore();", "public int getQuality()\n {\n int sleeplatencyScore = getSleepLatencyScore();...
[ "0.60177225", "0.5961553", "0.5915674", "0.58049655", "0.5762028", "0.57319355", "0.5719094", "0.56886214", "0.5675533", "0.5675533", "0.5672815", "0.5634205", "0.5616717", "0.56094563", "0.5561813", "0.5560258", "0.5537521", "0.55336267", "0.552479", "0.552479", "0.552479", ...
0.7153146
0
Sets quality scores corresponding to each point. The larger the score value the better the quality of the matching. This implementation makes no action. Subclasses using quality scores must implement proper behaviour.
public void setQualityScores(double[] qualityScores) throws LockedException { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setQuality(float quality);", "public void setQualityResults( Collection pQualityResults )\r\n {\r\n mQualityResults = pQualityResults;\r\n }", "protected void adjustScore() {\r\n scoreMultiplier = (int) (mineField.getDensity() * 100);\r\n maxScore = scoreMultiplier * (int...
[ "0.60793316", "0.59672844", "0.5779435", "0.5726066", "0.5726066", "0.56645787", "0.56645787", "0.5662654", "0.5642483", "0.56399965", "0.5592576", "0.55815274", "0.55219394", "0.54928255", "0.5478443", "0.54636073", "0.54139435", "0.54111934", "0.5394999", "0.5394638", "0.53...
0.6279426
0
Creates a quadric robust estimator based on 3D point samples and using provided robust estimator method.
public static QuadricRobustEstimator create(RobustEstimatorMethod method) { switch (method) { case LMedS: return new LMedSQuadricRobustEstimator(); case MSAC: return new MSACQuadricRobustEstimator(); case PROSAC: return new PROS...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static QuadricRobustEstimator create(List<Point3D> points, \n RobustEstimatorMethod method) {\n switch (method) {\n case LMedS:\n return new LMedSQuadricRobustEstimator(points);\n case MSAC:\n return new MSACQuadricRobustEstimator(points)...
[ "0.67998636", "0.67813826", "0.64026177", "0.6393912", "0.63395154", "0.6333955", "0.59628075", "0.59558123", "0.595219", "0.5591722", "0.55268717", "0.55123776", "0.55015075", "0.5465201", "0.51629907", "0.50408906", "0.5010393", "0.49495968", "0.4922408", "0.48803073", "0.4...
0.58857393
9
Creates a quadric robust estimator based on 3D point samples and using provided points and robust estimator method.
public static QuadricRobustEstimator create(List<Point3D> points, RobustEstimatorMethod method) { switch (method) { case LMedS: return new LMedSQuadricRobustEstimator(points); case MSAC: return new MSACQuadricRobustEstimator(points); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static QuadricRobustEstimator create(List<Point3D> points) {\n return create(points, DEFAULT_ROBUST_METHOD);\n }", "public static QuadricRobustEstimator create(List<Point3D> points, \n double[] qualityScores) {\n return create(points, qualityScores, DEFAULT_ROBUST_METHOD);\n ...
[ "0.7282746", "0.69708234", "0.68200606", "0.6535223", "0.6518758", "0.6377748", "0.6325459", "0.5666203", "0.5283425", "0.51388514", "0.5114672", "0.5076479", "0.5004864", "0.500467", "0.5004067", "0.49957326", "0.4901855", "0.4859033", "0.48303407", "0.4796994", "0.47922328"...
0.7122663
1
Creates a quadric robust estimator based on 3D point samples and using provided listener.
public static QuadricRobustEstimator create( QuadricRobustEstimatorListener listener, RobustEstimatorMethod method) { switch (method) { case LMedS: return new LMedSQuadricRobustEstimator(listener); case MSAC: return new MSACQuadric...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static QuadricRobustEstimator create(\n QuadricRobustEstimatorListener listener, List<Point3D> points) {\n return create(listener, points, DEFAULT_ROBUST_METHOD);\n }", "public static QuadricRobustEstimator create(\n QuadricRobustEstimatorListener listener, List<Point3D> po...
[ "0.70746464", "0.7021823", "0.6331607", "0.6284595", "0.6176815", "0.61763376", "0.5860509", "0.584871", "0.5736692", "0.5530753", "0.54392445", "0.53035533", "0.5229927", "0.5166618", "0.5124115", "0.509723", "0.5062904", "0.50601053", "0.50129247", "0.48342562", "0.47835588...
0.56078756
9
Creates a quadric robust estimator based on 3D point samples and using provided listener and points.
public static QuadricRobustEstimator create( QuadricRobustEstimatorListener listener, List<Point3D> points, RobustEstimatorMethod method) { switch (method) { case LMedS: return new LMedSQuadricRobustEstimator(listener, points); case MSAC: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static QuadricRobustEstimator create(\n QuadricRobustEstimatorListener listener, List<Point3D> points) {\n return create(listener, points, DEFAULT_ROBUST_METHOD);\n }", "public static QuadricRobustEstimator create(\n QuadricRobustEstimatorListener listener, List<Point3D> po...
[ "0.7426172", "0.7282735", "0.67786705", "0.6638928", "0.6380538", "0.61467886", "0.6106096", "0.5992496", "0.58196706", "0.5663684", "0.53706545", "0.5261676", "0.5185706", "0.5166172", "0.5075014", "0.5059568", "0.5054577", "0.49285087", "0.49069807", "0.48829708", "0.487460...
0.6546238
4
Creates a quadric robust estimator based on 3D point samples and using provided robust estimator method.
public static QuadricRobustEstimator create(double[] qualityScores, RobustEstimatorMethod method) { switch (method) { case LMedS: return new LMedSQuadricRobustEstimator(); case MSAC: return new MSACQuadricRobustEstimator(); case PRO...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static QuadricRobustEstimator create(List<Point3D> points, \n RobustEstimatorMethod method) {\n switch (method) {\n case LMedS:\n return new LMedSQuadricRobustEstimator(points);\n case MSAC:\n return new MSACQuadricRobustEstimator(points)...
[ "0.67998636", "0.67813826", "0.64026177", "0.6393912", "0.63395154", "0.6333955", "0.59558123", "0.595219", "0.58857393", "0.5591722", "0.55268717", "0.55123776", "0.55015075", "0.5465201", "0.51629907", "0.50408906", "0.5010393", "0.49495968", "0.4922408", "0.48803073", "0.4...
0.59628075
6
Creates a quadric robust estimator based on 3D point samples and using provided points and robust estimator method.
public static QuadricRobustEstimator create(List<Point3D> points, double[] qualityScores, RobustEstimatorMethod method) { switch (method) { case LMedS: return new LMedSQuadricRobustEstimator(points); case MSAC: return new MSACQuadricRobustEsti...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static QuadricRobustEstimator create(List<Point3D> points) {\n return create(points, DEFAULT_ROBUST_METHOD);\n }", "public static QuadricRobustEstimator create(List<Point3D> points, \n RobustEstimatorMethod method) {\n switch (method) {\n case LMedS:\n ...
[ "0.7282746", "0.7122663", "0.69708234", "0.6535223", "0.6518758", "0.6377748", "0.6325459", "0.5666203", "0.5283425", "0.51388514", "0.5114672", "0.5076479", "0.5004864", "0.500467", "0.5004067", "0.49957326", "0.4901855", "0.4859033", "0.48303407", "0.4796994", "0.47922328",...
0.68200606
3
Creates a quadric robust estimator based on 3D point samples and using provided listener.
public static QuadricRobustEstimator create( QuadricRobustEstimatorListener listener, double[] qualityScores, RobustEstimatorMethod method) { switch (method) { case LMedS: return new LMedSQuadricRobustEstimator(listener); case MSAC: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static QuadricRobustEstimator create(\n QuadricRobustEstimatorListener listener, List<Point3D> points) {\n return create(listener, points, DEFAULT_ROBUST_METHOD);\n }", "public static QuadricRobustEstimator create(\n QuadricRobustEstimatorListener listener, List<Point3D> po...
[ "0.70746464", "0.7021823", "0.6331607", "0.6284595", "0.6176815", "0.61763376", "0.5860509", "0.584871", "0.5736692", "0.56078756", "0.54392445", "0.53035533", "0.5229927", "0.5166618", "0.5124115", "0.509723", "0.5062904", "0.50601053", "0.50129247", "0.48342562", "0.4783558...
0.5530753
10
Creates a quadric robust estimator based on 3D point samples and using provided listener and points.
public static QuadricRobustEstimator create( QuadricRobustEstimatorListener listener, List<Point3D> points, double[] qualityScores, RobustEstimatorMethod method) { switch (method) { case LMedS: return new LMedSQuadricRobustEstimator(listener, points); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static QuadricRobustEstimator create(\n QuadricRobustEstimatorListener listener, List<Point3D> points) {\n return create(listener, points, DEFAULT_ROBUST_METHOD);\n }", "public static QuadricRobustEstimator create(\n QuadricRobustEstimatorListener listener, List<Point3D> po...
[ "0.7426172", "0.7282735", "0.67786705", "0.6638928", "0.6546238", "0.61467886", "0.6106096", "0.5992496", "0.58196706", "0.5663684", "0.53706545", "0.5261676", "0.5185706", "0.5166172", "0.5075014", "0.5059568", "0.5054577", "0.49285087", "0.49069807", "0.48829708", "0.487460...
0.6380538
5
Creates a quadric robust estimator based on 3D point samples and using default robust estimator method.
public static QuadricRobustEstimator create() { return create(DEFAULT_ROBUST_METHOD); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static QuadricRobustEstimator create(List<Point3D> points) {\n return create(points, DEFAULT_ROBUST_METHOD);\n }", "public static QuadricRobustEstimator create(List<Point3D> points, \n double[] qualityScores) {\n return create(points, qualityScores, DEFAULT_ROBUST_METHOD);\n ...
[ "0.6567202", "0.64364773", "0.6429722", "0.63715166", "0.6078404", "0.6020438", "0.5961994", "0.59596395", "0.5779811", "0.55974317", "0.55352813", "0.5475058", "0.53647023", "0.50479853", "0.50322753", "0.5023113", "0.4919555", "0.4864228", "0.47349322", "0.4688753", "0.4574...
0.5916434
8