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
Defines optional entry path.
public AddContentToZip path(final String path) { this.path = path; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "interface Entry {\n\n /** The entry name separator as a string. */\n String SEPARATOR = ArchiveEntry.SEPARATOR;\n\n /** The entry name separator as a character. */\n char SEPARATOR_CHAR = ArchiveEntry.SEPARATOR_CHAR;\n\n /**\n * Denotes the entry name of the virtual root directory.\n * This ...
[ "0.5600774", "0.55813664", "0.54234606", "0.52855027", "0.5211819", "0.5098448", "0.5086174", "0.5040827", "0.5017289", "0.4988906", "0.49846902", "0.49749374", "0.4962634", "0.49316525", "0.49211997", "0.49119872", "0.49055418", "0.49054834", "0.4893965", "0.48647007", "0.48...
0.0
-1
Stores the content into the ZIP.
public ZipBuilder save() throws IOException { ZipUtil.addToZip(zos, bytes, path, comment); return ZipBuilder.this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void writeArchive(Content content) throws Exception {\n\t\tString path = open();\n\t\tTranslateContent translate = new TranslateContent(content, path);\n\t\ttranslate.writeArchive();\n\n\t\t// compress archive file if +C used\n\t\tif (content.isCompressed()) {\n\t\t\tcompressArchive();\n\t\t}\n\t}", "abs...
[ "0.6361827", "0.5738215", "0.5727646", "0.55008113", "0.54476136", "0.5378546", "0.5373098", "0.52861434", "0.5238124", "0.5182399", "0.5056666", "0.5032724", "0.49996433", "0.499212", "0.49816284", "0.49781796", "0.49723515", "0.4971199", "0.49403712", "0.4928753", "0.489887...
0.6061013
1
TODO Autogenerated method stub
private void initView(View subview) { lay_one = (ImageView) subview.findViewById(R.id.green); lay_four = (ImageView) subview.findViewById(R.id.yelow); lay_two = (ImageView) subview.findViewById(R.id.good); lay_five = (ImageView) subview.findViewById(R.id.red_smiley); lay_three = (ImageView) subview.findViewBy...
{ "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.66713095", "0.6567948", "0.652319", "0.648097", "0.64770466", "0.64586824", "0.64132667", "0.6376419", "0.62759", "0.62545097", "0.62371093", "0.62237984", "0.6201738", "0.619477", "0.619477", "0.61924416", "0.61872935", "0.6173417", "0.613289", "0.6127952", "0.6080854", ...
0.0
-1
TODO: Warning this method won't work in the case the id fields are not set
@Override public boolean equals(Object object) { if (!(object instanceof Pessoa)) { return false; } Pessoa other = (Pessoa) object; if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) { return false; } return true;...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setId(Integer id) { this.id = id; }", "private Integer getId() { return this.id; }", "public void setId(int id){ this.id = id; }", "public void setId(Long id) {this.id = id;}", "public void setId(Long id) {this.id = id;}", "public void setID(String idIn) {this.id = idIn;}", "public void se...
[ "0.6893787", "0.68366045", "0.67026585", "0.66388494", "0.66388494", "0.6589572", "0.65758747", "0.65758747", "0.6572052", "0.6572052", "0.6572052", "0.6572052", "0.6572052", "0.6572052", "0.6559372", "0.6559372", "0.65421206", "0.65220076", "0.65133774", "0.64854103", "0.647...
0.0
-1
Description: FaultInfoJpa Author: DIYILIU Update: 20180509 17:09
public interface FaultInfoJpa extends JpaRepository<FaultInfo, Long> { FaultInfo findById(long id); /* @Query("select f from FaultInfo f where endTime is null or endTime < startTime") List<FaultInfo> findByEndTimeIsNullOrEndTimeBeforeStartTime(); */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\t\t\tpublic void onFault(Throwable fault) {\n\t\t\t\t\r\n\t\t\t}", "public Object getFaultDetail() {\n\treturn this.faultDetail;\n }", "@Override\r\n\tpublic Fault getFaultById(int faultId) {\r\n\t\tString sql = \"SELECT * FROM \" + Constants.FAULT_TABLE_NAME + \" WHERE \" + Constants.FAULT_TA...
[ "0.6526123", "0.60850626", "0.60159194", "0.5861579", "0.58230716", "0.58144575", "0.5760012", "0.5757161", "0.5754777", "0.57307374", "0.565848", "0.5626021", "0.559371", "0.5556963", "0.55530584", "0.5524773", "0.55035764", "0.54799324", "0.5465532", "0.544796", "0.5441358"...
0.51785743
43
Method used to show error view
public void showError() { mapView.setVisibility(View.GONE); loadingLayout.setVisibility(View.GONE); errorLayout.setVisibility(View.VISIBLE); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void showError() {\n }", "public void showError(String error);", "private void showErrorView() {\n Log.d(\"lodd\", \"showSuccessView: hjfj91919515\");\n\n }", "public void showError(String errorMessage);", "public interface ErrorView {\n void showError(String message);...
[ "0.79521835", "0.77362186", "0.77361816", "0.7545361", "0.7399887", "0.73942226", "0.7379408", "0.7346692", "0.7312394", "0.7298499", "0.72828734", "0.72828734", "0.7159312", "0.70199424", "0.6960995", "0.6923159", "0.691686", "0.687156", "0.686489", "0.68564004", "0.6830808"...
0.68150514
22
Method used to show the loading view
public void showLoading() { loadingLayout.setVisibility(View.VISIBLE); mapView.setVisibility(View.GONE); errorLayout.setVisibility(View.GONE); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void showLoadingView() {\n handleLoadingContainer(false /* showContent */, false /* showEmpty */, false /* animate */);\n }", "public void showLoading() {\n }", "public void showLoadingView() {\n mStateView.showViewLoading();\n }", "@Override\n public void showLoading() {\n ...
[ "0.85469824", "0.8424872", "0.8303928", "0.8284237", "0.8231309", "0.82079226", "0.8056969", "0.8022479", "0.8008287", "0.79482853", "0.7784498", "0.778066", "0.77576923", "0.7721073", "0.76814157", "0.76092464", "0.75830793", "0.75604266", "0.7408138", "0.73036486", "0.72283...
0.80597043
6
Method used to show the listView
public void showContent() { mapView.setVisibility(View.VISIBLE); loadingLayout.setVisibility(View.GONE); errorLayout.setVisibility(View.GONE); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void showList() {\n select();\n //create adapter\n adapter = new ArrayAdapter<>(this, android.R.layout.simple_list_item_1, studentInfo);\n //show data list\n listView.setAdapter(adapter);\n }", "private void showListView()\n {\n SimpleCursorAdapter adapter ...
[ "0.7821444", "0.76669836", "0.7426491", "0.7405857", "0.7314197", "0.7305197", "0.7303808", "0.72066134", "0.7072402", "0.70572585", "0.70389676", "0.70315576", "0.69906557", "0.69690007", "0.69383246", "0.6922169", "0.68933505", "0.6887983", "0.68377835", "0.6837103", "0.681...
0.0
-1
Prepare the dialog by setting up a Builder.
private void showMapTypeSelectorDialog() { final String fDialogTitle = getActivity().getString(R.string.select_map); AlertDialog.Builder builder = new AlertDialog.Builder(getContext()); builder.setTitle(fDialogTitle); // Find the current map type to pre-check the item representing the c...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void makeDialog()\n\t{\n\t\tfDialog = new ViewOptionsDialog(this.getTopLevelAncestor());\n\t}", "private void initDialog() {\n }", "private void createDialog() {\r\n final AlertDialog dialog = new AlertDialog.Builder(getActivity()).setView(R.layout.dialog_recorder_details)\r\n .setTitl...
[ "0.65297675", "0.636429", "0.61694795", "0.6043925", "0.60164803", "0.6002518", "0.5969236", "0.58714986", "0.58032006", "0.5711248", "0.5711134", "0.5688042", "0.5676403", "0.5676244", "0.5648939", "0.5600947", "0.55893713", "0.55786794", "0.55539316", "0.5550868", "0.553778...
0.0
-1
Locally create a finalised object.
public void onClick(DialogInterface dialog, int item) { Log.d("DIALOG", String.valueOf(item)); // Perform an action depending on which item was selected. switch (item) { case 0: map.setMap...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "OBJECT createOBJECT();", "public void create(){}", "public static CMFinal make() {\n return new CMFinal();\n }", "public abstract String createNewObject(boolean fPromote_p, Object mode_p, OwResource resource_p, String strObjectClassName_p, OwPropertyCollection properties_p, OwPermissionCollection per...
[ "0.5869533", "0.5824853", "0.57546526", "0.5697713", "0.56886655", "0.56209826", "0.5558911", "0.5483041", "0.5452868", "0.5388552", "0.5370326", "0.53646606", "0.53610945", "0.535177", "0.5321492", "0.53046757", "0.5294869", "0.5284244", "0.52766097", "0.5222102", "0.5215648...
0.0
-1
give a context to the calls from other activities
@Override public void onAttach(Context context) { super.onAttach(context); if (context instanceof ParadasFragment.FragmentFromFragment) { fragmentFromFragmentListener = (ParadasFragment.FragmentFromFragment) context; } else { throw new ClassCastException(context.toStr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic BaseActivity getContext() {\n\t\treturn this;\n\t}", "@Override\n\tpublic BaseActivity getContext() {\n\t\treturn this;\n\t}", "void getContext() {\n playerName = getIntent().getExtras().getString(\"player_name\");\n Log.i(\"DiplomaActivity\", \"getContext - Player name: \" + ...
[ "0.713289", "0.713289", "0.7063644", "0.70442873", "0.69841766", "0.6961372", "0.69312596", "0.6874359", "0.6866885", "0.67033607", "0.67033607", "0.66816866", "0.6653624", "0.66505426", "0.66505426", "0.6570754", "0.65555716", "0.65555716", "0.65339375", "0.65339375", "0.653...
0.0
-1
Defines the Type that extends the Order with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Order.
public OrderSetCustomTypeActionBuilder type( Function<com.commercetools.api.models.type.TypeResourceIdentifierBuilder, com.commercetools.api.models.type.TypeResourceIdentifierBuilder> builder) { this.type = builder.apply(com.commercetools.api.models.type.TypeResourceIdentifierBuilder.of()).build(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public OrderType(Type type) {\n\t\tsuper();\n\t\tthis.setType(type);\n\t}", "public org.LNDCDC_NCS_TCS.ORDER_TYPES.apache.nifi.LNDCDC_NCS_TCS_ORDER_TYPES.Builder clearORDERTYPE() {\n ORDER_TYPE = null;\n fieldSetFlags()[0] = false;\n return this;\n }", "void setOrderType(OrderType inOrderType...
[ "0.6574137", "0.65210414", "0.60581577", "0.60520816", "0.6014551", "0.59847605", "0.58897847", "0.5837726", "0.58336955", "0.579281", "0.5786567", "0.5758291", "0.5755126", "0.57541454", "0.57510036", "0.573086", "0.5707166", "0.56817794", "0.5592659", "0.5558051", "0.553517...
0.0
-1
Defines the Type that extends the Order with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Order.
public OrderSetCustomTypeActionBuilder withType( Function<com.commercetools.api.models.type.TypeResourceIdentifierBuilder, com.commercetools.api.models.type.TypeResourceIdentifier> builder) { this.type = builder.apply(com.commercetools.api.models.type.TypeResourceIdentifierBuilder.of()); ret...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public OrderType(Type type) {\n\t\tsuper();\n\t\tthis.setType(type);\n\t}", "public org.LNDCDC_NCS_TCS.ORDER_TYPES.apache.nifi.LNDCDC_NCS_TCS_ORDER_TYPES.Builder clearORDERTYPE() {\n ORDER_TYPE = null;\n fieldSetFlags()[0] = false;\n return this;\n }", "void setOrderType(OrderType inOrderType...
[ "0.6572922", "0.6522643", "0.60571474", "0.60513264", "0.6013497", "0.5983702", "0.5889184", "0.58358544", "0.5832542", "0.5792414", "0.5784595", "0.5759344", "0.5754744", "0.5752347", "0.5749549", "0.5731655", "0.5707105", "0.5681694", "0.55907494", "0.55564314", "0.55353576...
0.0
-1
Defines the Type that extends the Order with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Order.
public OrderSetCustomTypeActionBuilder type( @Nullable final com.commercetools.api.models.type.TypeResourceIdentifier type) { this.type = type; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public OrderType(Type type) {\n\t\tsuper();\n\t\tthis.setType(type);\n\t}", "public org.LNDCDC_NCS_TCS.ORDER_TYPES.apache.nifi.LNDCDC_NCS_TCS_ORDER_TYPES.Builder clearORDERTYPE() {\n ORDER_TYPE = null;\n fieldSetFlags()[0] = false;\n return this;\n }", "void setOrderType(OrderType inOrderType...
[ "0.6575545", "0.65231144", "0.60596234", "0.60541767", "0.6016441", "0.5985902", "0.5891228", "0.5837232", "0.58353245", "0.5794289", "0.57860285", "0.5759861", "0.57548034", "0.5754538", "0.57514966", "0.5732663", "0.57091254", "0.56837237", "0.5593388", "0.55575347", "0.552...
0.5537005
20
Sets the Custom Fields fields for the Order.
public OrderSetCustomTypeActionBuilder fields( Function<com.commercetools.api.models.type.FieldContainerBuilder, com.commercetools.api.models.type.FieldContainerBuilder> builder) { this.fields = builder.apply(com.commercetools.api.models.type.FieldContainerBuilder.of()).build(); return this;...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setOrderField() \n\t{\n\t\tString size = currentOrder.get(\"size\");\n\t\tString temperature = currentOrder.get(\"drinkTemperature\");\n\t\tString drinkName = currentOrder.get(\"name\");\n\t\t\n\t\torderField.setText(\"Order Status: \" + size + \" \" + temperature + \" \" + drinkName);\n\t}", "publi...
[ "0.7055104", "0.6646911", "0.59782046", "0.5917991", "0.58140314", "0.5659098", "0.5654295", "0.55874777", "0.5557672", "0.55417025", "0.54912996", "0.5469274", "0.54373413", "0.54334635", "0.5421658", "0.5419589", "0.5413679", "0.54070365", "0.53773385", "0.53564966", "0.534...
0.60133606
2
Sets the Custom Fields fields for the Order.
public OrderSetCustomTypeActionBuilder withFields( Function<com.commercetools.api.models.type.FieldContainerBuilder, com.commercetools.api.models.type.FieldContainer> builder) { this.fields = builder.apply(com.commercetools.api.models.type.FieldContainerBuilder.of()); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setOrderField() \n\t{\n\t\tString size = currentOrder.get(\"size\");\n\t\tString temperature = currentOrder.get(\"drinkTemperature\");\n\t\tString drinkName = currentOrder.get(\"name\");\n\t\t\n\t\torderField.setText(\"Order Status: \" + size + \" \" + temperature + \" \" + drinkName);\n\t}", "publi...
[ "0.70547736", "0.66470325", "0.60134", "0.5980678", "0.59156203", "0.5660608", "0.5652059", "0.5583983", "0.5554638", "0.5540217", "0.5489812", "0.5467824", "0.54392517", "0.5431332", "0.54203737", "0.5418168", "0.5411308", "0.5405937", "0.53797585", "0.53588617", "0.53512025...
0.58145934
5
Sets the Custom Fields fields for the Order.
public OrderSetCustomTypeActionBuilder fields( @Nullable final com.commercetools.api.models.type.FieldContainer fields) { this.fields = fields; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setOrderField() \n\t{\n\t\tString size = currentOrder.get(\"size\");\n\t\tString temperature = currentOrder.get(\"drinkTemperature\");\n\t\tString drinkName = currentOrder.get(\"name\");\n\t\t\n\t\torderField.setText(\"Order Status: \" + size + \" \" + temperature + \" \" + drinkName);\n\t}", "publi...
[ "0.7056744", "0.6013734", "0.5982429", "0.5918478", "0.5814646", "0.56623256", "0.5655003", "0.55869716", "0.5557291", "0.55395436", "0.54913396", "0.54679996", "0.5440503", "0.543432", "0.54215413", "0.5420109", "0.54141194", "0.5407294", "0.5380281", "0.5359596", "0.5352453...
0.66470265
1
Defines the Type that extends the Order with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Order.
@Nullable public com.commercetools.api.models.type.TypeResourceIdentifier getType() { return this.type; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public OrderType(Type type) {\n\t\tsuper();\n\t\tthis.setType(type);\n\t}", "public org.LNDCDC_NCS_TCS.ORDER_TYPES.apache.nifi.LNDCDC_NCS_TCS_ORDER_TYPES.Builder clearORDERTYPE() {\n ORDER_TYPE = null;\n fieldSetFlags()[0] = false;\n return this;\n }", "void setOrderType(OrderType inOrderType...
[ "0.6575545", "0.65231144", "0.60596234", "0.60541767", "0.6016441", "0.5985902", "0.5891228", "0.5837232", "0.58353245", "0.5794289", "0.57860285", "0.5759861", "0.57548034", "0.5754538", "0.57514966", "0.5732663", "0.57091254", "0.56837237", "0.5593388", "0.55575347", "0.553...
0.0
-1
Sets the Custom Fields fields for the Order.
@Nullable public com.commercetools.api.models.type.FieldContainer getFields() { return this.fields; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setOrderField() \n\t{\n\t\tString size = currentOrder.get(\"size\");\n\t\tString temperature = currentOrder.get(\"drinkTemperature\");\n\t\tString drinkName = currentOrder.get(\"name\");\n\t\t\n\t\torderField.setText(\"Order Status: \" + size + \" \" + temperature + \" \" + drinkName);\n\t}", "publi...
[ "0.7055104", "0.6646911", "0.60133606", "0.59782046", "0.5917991", "0.58140314", "0.5659098", "0.5654295", "0.55874777", "0.5557672", "0.55417025", "0.54912996", "0.5469274", "0.54373413", "0.54334635", "0.5421658", "0.5419589", "0.5413679", "0.54070365", "0.53773385", "0.535...
0.0
-1
builds OrderSetCustomTypeAction with checking for nonnull required values
public OrderSetCustomTypeAction build() { return new OrderSetCustomTypeActionImpl(type, fields); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static OrderSetCustomTypeActionBuilder of() {\n return new OrderSetCustomTypeActionBuilder();\n }", "public OrderSetCustomTypeAction buildUnchecked() {\n return new OrderSetCustomTypeActionImpl(type, fields);\n }", "public static OrderSetCustomTypeActionBuilder of(final OrderSetCusto...
[ "0.69340354", "0.6712305", "0.62806827", "0.55451447", "0.5537601", "0.54826635", "0.53242636", "0.5187428", "0.51802915", "0.5131385", "0.5111427", "0.5017167", "0.50131446", "0.5002281", "0.49553397", "0.49461657", "0.494208", "0.49121457", "0.4912067", "0.48951164", "0.488...
0.67020774
2
builds OrderSetCustomTypeAction without checking for nonnull required values
public OrderSetCustomTypeAction buildUnchecked() { return new OrderSetCustomTypeActionImpl(type, fields); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static OrderSetCustomTypeActionBuilder of() {\n return new OrderSetCustomTypeActionBuilder();\n }", "public OrderSetCustomTypeAction build() {\n return new OrderSetCustomTypeActionImpl(type, fields);\n }", "public static OrderSetCustomTypeActionBuilder of(final OrderSetCustomTypeActi...
[ "0.7260521", "0.7132912", "0.6535981", "0.56982434", "0.56244814", "0.5596224", "0.5470008", "0.5436263", "0.539901", "0.5233946", "0.52100855", "0.51809496", "0.5132099", "0.5084536", "0.50551766", "0.50111973", "0.50000787", "0.4977857", "0.49654752", "0.49211392", "0.48822...
0.7179611
1
factory method for an instance of OrderSetCustomTypeActionBuilder
public static OrderSetCustomTypeActionBuilder of() { return new OrderSetCustomTypeActionBuilder(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public OrderSetCustomTypeAction build() {\n return new OrderSetCustomTypeActionImpl(type, fields);\n }", "public static OrderSetCustomTypeActionBuilder of(final OrderSetCustomTypeAction template) {\n OrderSetCustomTypeActionBuilder builder = new OrderSetCustomTypeActionBuilder();\n builde...
[ "0.7887674", "0.7566909", "0.6889613", "0.68265414", "0.675142", "0.6511211", "0.6505786", "0.6319645", "0.6011441", "0.596265", "0.5795536", "0.56802565", "0.563799", "0.55508906", "0.5527284", "0.5476266", "0.5446715", "0.54199827", "0.53771466", "0.5318047", "0.5297147", ...
0.8740479
0
create builder for OrderSetCustomTypeAction instance
public static OrderSetCustomTypeActionBuilder of(final OrderSetCustomTypeAction template) { OrderSetCustomTypeActionBuilder builder = new OrderSetCustomTypeActionBuilder(); builder.type = template.getType(); builder.fields = template.getFields(); return builder; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static OrderSetCustomTypeActionBuilder of() {\n return new OrderSetCustomTypeActionBuilder();\n }", "public OrderSetCustomTypeAction build() {\n return new OrderSetCustomTypeActionImpl(type, fields);\n }", "public OrderSetCustomTypeActionBuilder withType(\n Function<com.co...
[ "0.8992815", "0.81908786", "0.70142895", "0.6968951", "0.6806437", "0.6776605", "0.6584301", "0.65808415", "0.5907697", "0.58032763", "0.57988113", "0.57363236", "0.5722623", "0.57015085", "0.56757015", "0.5526921", "0.55184054", "0.54955757", "0.54244334", "0.54189456", "0.5...
0.80313534
2
Inflate the menu; this adds items to the action bar if it is present.
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.menu_result, menu); 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.72497207", "0.72041494", "0.7198533", "0.71808106", "0.71110344", "0.7044596", "0.7042557", "0.7015272", "0.70119643", "0.6984017", "0.6950008", "0.6944079", "0.6937662", "0.6921333", "0.6921333", "0.6894039", "0.6887707", "0.6880534", "0.68777215", "0.6867014", "0.6867014...
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(); //noinspection SimplifiableIfStatement if (id == R.id.action_veten) { Intent i = new Intent(ResultActivity.this, VetenActivity.class); startActivity(i); } retu...
{ "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.7905288", "0.7806507", "0.7767581", "0.7728288", "0.76327986", "0.7622734", "0.75856835", "0.7531844", "0.74890584", "0.74584335", "0.74584335", "0.7439769", "0.7422939", "0.7404292", "0.7392902", "0.7388083", "0.73805684", "0.7371689", "0.7363277", "0.73572534", "0.734688...
0.0
-1
Check unique name constraint for tariff.
public boolean hasUniqueName(final long id, final String name) { Map<String, Object> params = new HashMap<>(); params.put("id", id); params.put("name", name); List<Tariff> resultList = tariffDao.getQueryResult(Tariff.HAS_UNIQUE_NAME, Tariff.class, params); if (resultList.isEmpty(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isExplicitUniqueCheckRequired();", "@Override\n protected void checkElementNameUnique(Element element)\n {\n }", "public boolean checkName(String name)\n {\n return true;\n }", "@objid (\"ef9777b4-ed2a-4341-bb22-67675cddb70a\")\n boolean isIsUnique();", "@Test(timeout = 4000...
[ "0.58990663", "0.58745384", "0.572218", "0.5719151", "0.5704271", "0.56942487", "0.5682938", "0.5666623", "0.56236345", "0.5619205", "0.5618519", "0.5544814", "0.5538313", "0.553147", "0.5523995", "0.55110717", "0.55100054", "0.55013585", "0.55003035", "0.5499679", "0.5473034...
0.59468234
0
return this.productionYear > o.getProductionYear() ? 1 : this.productionYear < o.getProductionYear() ? 1 : 0;
@Override public int compareTo(final Car o) { return Integer.compare(this.productionYear,o.getProductionYear()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic int compare(Movie o1, Movie o2) {if (o1.getYear() > o2.getYear())\n//\t\t\treturn 1;\n//\t\tif (o1.getYear() < o2.getYear()) \n//\t\t\treturn -1;\n//\t\telse \n//\t\t\treturn 0;\n//\t\t\n\t\treturn o1.getYear() - o2.getYear();\n\t}", "@Override\n public int compareTo(Date ARG) {\n i...
[ "0.6732784", "0.6584031", "0.60807973", "0.6012654", "0.5966405", "0.5937991", "0.5768536", "0.5753738", "0.5703472", "0.5700965", "0.5636687", "0.5605419", "0.5603971", "0.55703366", "0.55544794", "0.55518365", "0.55186516", "0.5515613", "0.5511529", "0.54938644", "0.5478531...
0.6622645
1
TODO casovanie udalosti (podla occurrenceTime), zatial to pustam vsetko rovno za sebou
public static void main(String[] args) { try (BufferedReader br = new BufferedReader(new FileReader("src/main/resources/jel.log"))) { String line = br.readLine(); JsonNode root; JsonNode event; if (line != null) { //prepare the connection ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DateTime getOccurrenceTime() { return occurrenceTime; }", "public WordOccurence(final int time) {\n\t\t\toccurences = new ArrayList<Integer>();\n\t\t\toccurences.add(time);\n\t\t\tvDitected = new ArrayList<Integer>();\n\t\t\tvaluesSet = false;\n\t\t}", "public void reviewExtractorPeriodicity() {\r\n ...
[ "0.70906985", "0.56755143", "0.560291", "0.5552469", "0.5282653", "0.5265154", "0.5244429", "0.5212231", "0.5185696", "0.51816016", "0.51783043", "0.514156", "0.5119958", "0.5113127", "0.51053274", "0.5067907", "0.5064084", "0.5039041", "0.5030886", "0.501943", "0.5009299", ...
0.0
-1
if (unownSprites) get the sprites for Unown
Sprite[] readRomSprites(boolean unownSprites) throws IOException { Sprite[] sprites = (unownSprites) ? new Sprite[N_UNOWN] : new Sprite[N_POKEMON]; int ptrOffset = (unownSprites) ? OFFSET_SPRITE_POINTERS_U : OFFSET_SPRITE_POINTERS; for (int i = 0; i < sprites.length; i++) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void removeSprites(){\r\n\r\n\t}", "public HashMap<String, BufferedImage> getSprites() {\n \t\treturn sprites;\n \t}", "ArrayList<Sprite> getSpriteArray();", "public Sprite getBattleSprite()\n {\n return battleSprite;\n }", "public HashMap<Integer, Sprite> getVillagers() {\n\t\tfor (int...
[ "0.63263", "0.5900842", "0.5691425", "0.56612283", "0.5605803", "0.55130917", "0.54397684", "0.5409088", "0.5391365", "0.5365766", "0.53654957", "0.53627706", "0.5352064", "0.53489697", "0.53097355", "0.53021216", "0.52913344", "0.5286986", "0.52739567", "0.526537", "0.525885...
0.7090909
0
returns the name of the nth Pokemon
byte[] readPokemonName(int n) throws IOException { int pos = OFFSET_POKEMON_NAMES + NAME_LEN * n; int len = min(lengthUntilByte(ch, pos, (byte) 0x50), 10); return readFromRom(ch, pos, len); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getPokemonName() {\n\t\treturn pokemon.getName();\n\t}", "public Pokemon(String name, int number) {\r\n this.name = name;\r\n this.number = number;\r\n }", "String getPokemonByNumber(int number) throws Exception\n\t{\n\t\tString urlHalf1 = \"https://pokeapi.co/api/v2/pokemon-form...
[ "0.67804587", "0.675388", "0.6656754", "0.6437575", "0.61321014", "0.609766", "0.5974297", "0.594193", "0.593356", "0.5910134", "0.59029984", "0.58213794", "0.577525", "0.577525", "0.576903", "0.57460433", "0.56956136", "0.56860745", "0.5660594", "0.5607291", "0.560684", "0...
0.6491198
3
gets size of lz compressed pics that starts at position pos in the ROM
int getPicSize(int pos) throws IOException { int out = pos; int jump = 0; byte ptrPar; // pointer parameter byte b = readByteFromRom(ch, out); while (b != (byte) 0xFF) { switch (b & 0b111_00000) { case (0b000_0000...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "long getSize();", "public native float kbGetMapZSize();", "public long getSize();", "int getLocalSize();", "int getSize();", "int getSize();", "int getSize();", "int getSize();", "int getSize();", "int getSize();", "int getSize();", "int getSize();", "int getSize();", "int getSize();", ...
[ "0.68185145", "0.6579371", "0.64674", "0.6461503", "0.64537466", "0.64537466", "0.64537466", "0.64537466", "0.64537466", "0.64537466", "0.64537466", "0.64537466", "0.64537466", "0.64537466", "0.64537466", "0.64537466", "0.64537466", "0.6445014", "0.6292503", "0.6256472", "0.6...
0.6836215
0
/ access modifiers changed from: private
public final Device blockingGetEmulator() { Device emu = find(true); if (emu != null) { return emu; } EmulatorController emuController = EmulatorController.getInstance(); if (emuController.getState() == State.NOT_RUNNING) { try { emuControl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n protected void prot() {\n }", "private Rekenhulp()\n\t{\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void func_104...
[ "0.70451087", "0.66481936", "0.66338545", "0.6534467", "0.6533057", "0.63756114", "0.6368523", "0.63063055", "0.6244554", "0.62261415", "0.62046665", "0.61776316", "0.6142759", "0.6131381", "0.6131381", "0.61274433", "0.610919", "0.610797", "0.60792845", "0.6062989", "0.60593...
0.0
-1
/ JADX WARNING: Code restructure failed: missing block: B:25:?, code lost: return r0; / Code decompiled incorrectly, please refer to instructions dump.
private processing.mode.android.Device find(boolean r7) { /* r6 = this; r6.refresh() java.util.Map<java.lang.String, processing.mode.android.Device> r3 = r6.devices monitor-enter(r3) java.util.Map<java.lang.String, processing.mode.android.Device> r2 = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private p000a.p001a.p002a.p003a.C0916s m1655b(p000a.p001a.p002a.p003a.p022i.p024b.C0112x r7, p000a.p001a.p002a.p003a.p034n.C0157e r8) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(Proces...
[ "0.6983303", "0.695171", "0.69324076", "0.692011", "0.6816378", "0.6815518", "0.68110245", "0.68050873", "0.67884755", "0.6711922", "0.67102885", "0.6689858", "0.6674472", "0.6656389", "0.66511554", "0.66465664", "0.6625762", "0.66109747", "0.65888906", "0.656231", "0.6560592...
0.0
-1
/ access modifiers changed from: private
public final Device blockingGetHardware() { Device hardware = find(false); if (hardware != null) { return hardware; } while (!Thread.currentThread().isInterrupted()) { try { Thread.sleep(2000); Device hardware2 = find(false); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n protected void prot() {\n }", "private Rekenhulp()\n\t{\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void func_104...
[ "0.70451087", "0.66481936", "0.66338545", "0.6534467", "0.6533057", "0.63756114", "0.6368523", "0.63063055", "0.6244554", "0.62261415", "0.62046665", "0.61776316", "0.6142759", "0.6131381", "0.6131381", "0.61274433", "0.610919", "0.610797", "0.60792845", "0.6062989", "0.60593...
0.0
-1
/ access modifiers changed from: 0000
public void deviceRemoved(Device device) { if (this.devices.remove(device.getId()) == null) { throw new IllegalStateException("I didn't know about device " + device.getId() + "!"); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract Member mo23408O();", "@Override\n public void func_104112_b() {\n \n }", "public final void mo51373a() {\n }", "@Override\n protected void prot() {\n }", "public void m23075a() {\n }", "@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}", "public void m...
[ "0.65163475", "0.64186674", "0.640346", "0.63479716", "0.62999594", "0.62956387", "0.62451077", "0.6229237", "0.62047416", "0.6193751", "0.61896276", "0.6180873", "0.6175551", "0.6169901", "0.61686474", "0.6163415", "0.6151628", "0.6149818", "0.61404216", "0.6134207", "0.6133...
0.0
-1
Created by ryan on 1835.
public interface WifiInfoDataSource { interface LoadWifiInfoCallback{ void onWifiInfoLoaded(WiFiInfo wifiInfo); void onDataNotFound(); } interface LoadWifiInfoListCallback{ void onWifiInfoLoaded(List<WiFiInfo> wifiInfoList); void onDataNotFound(); } //insert WifiInfo ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "private stendhal() {\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n\tprotected void interr() {\n\t}", "@Override\n pu...
[ "0.57662416", "0.5712478", "0.5651608", "0.56202894", "0.5602697", "0.5597762", "0.5578869", "0.5560285", "0.5546798", "0.5540753", "0.5540753", "0.55307096", "0.5501548", "0.5483696", "0.5474136", "0.547199", "0.5471649", "0.5450962", "0.54335", "0.54199106", "0.5414321", ...
0.0
-1
Test of removeDuplicates method, of class q1_3.
@Test public void testRemoveDuplicates() { System.out.println("removeDuplicates"); assertArrayEquals("abcd".toCharArray(), q1_3.removeDuplicates("abcd".toCharArray())); assertArrayEquals(null, q1_3.removeDuplicates(null)); assertArrayEquals("a****".toCharArray(), q1_3.removeDuplicate...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testRemoveDuplicates() {\n System.out.println(\"removeDuplicates\");\n ArrayList<String> array = new ArrayList<>(Arrays.asList(\n \"A.example.COM,1.1.1.1,NO,11,Faulty fans\",\n \"b.example.com,1.1.1.2,no,13,Behind the other routers so no one sees i...
[ "0.78209555", "0.72704214", "0.6848103", "0.68179953", "0.68104917", "0.67317116", "0.6643454", "0.66374665", "0.65841", "0.6563196", "0.6526229", "0.6490033", "0.64445007", "0.6414482", "0.6371371", "0.63595915", "0.6355545", "0.62901884", "0.6253607", "0.6216676", "0.614810...
0.7383315
1
Get Complaint Obj base on Id
@Override public Complaint getComplaintById(int id) { DataConnection db = new DataConnection(); Connection conn = db.getConnection(); String query = "SELECT * FROM Complaint WHERE id = ?"; ResultSet rs = null; try { PreparedStatement ps = conn.prepareStatement(qu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n Optional<Complaint> findById(Integer id);", "public Conge find( Integer idConge ) ;", "public abstract Integer getCompteId();", "public Conseiller getById(int id) {\n\t\treturn null;\r\n\t}", "public New getObject(long id);", "@Override\n\t\tpublic Carrera get(int id) {\n\t\t\t\treturn nul...
[ "0.7002431", "0.6607696", "0.6594168", "0.646541", "0.6445866", "0.62948227", "0.62789446", "0.6266871", "0.6255844", "0.6217324", "0.6199055", "0.6187751", "0.6169109", "0.6153587", "0.6145509", "0.61448604", "0.6124561", "0.6104339", "0.60779667", "0.6026139", "0.59575635",...
0.73090106
0
Returns true if the value is equal, ignoring leading zeros
@Override public boolean equals(Object other) { if(other instanceof BitWord) { // If the value is the same, ignoring leading zeros return Integer.parseInt(value) == Integer.parseInt(((BitWord) other).value); } else { return false; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean checkdigitsequal() {\n int count2=0;\n for (a = 0; a < 10; a++) {\n if (digits[a] == 0)\n {\n count2++;\n if(count2==10)return true;\n }\n else return false;\n }\n return false;\n }", "p...
[ "0.6164708", "0.5707628", "0.5676968", "0.5663", "0.5632839", "0.56257683", "0.55898595", "0.55741376", "0.5560384", "0.553908", "0.547926", "0.5385886", "0.5377286", "0.5372463", "0.5365581", "0.5301297", "0.5299353", "0.5297961", "0.528139", "0.5263796", "0.5260715", "0.5...
0.6530639
0
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jLabel1 = new javax.swing.JLabel(); jScrollPane1 = new javax.swing.JScrollPane(); supplierReqJTbl = new javax.swing.JTable(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.7318948", "0.7290426", "0.7290426", "0.7290426", "0.7284922", "0.7247965", "0.7213206", "0.72080696", "0.7195916", "0.7189941", "0.71835536", "0.71579427", "0.7147217", "0.70927703", "0.7080282", "0.7055882", "0.6987108", "0.69770193", "0.6954159", "0.69529283", "0.6944756...
0.0
-1
wyswietl konsole wybrana po id
@RequestMapping(value = "/console", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE) public Consoles getByParamPublicId(@RequestParam("id") Integer publicId) { return consolesService.getConsolesById(publicId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String Show()\n\t{\n\t\treturn id;\n\t\t\n\t}", "@Override\n public String toString() {\n return id;\n }", "public String getId() { return id; }", "public String getId() { return id; }", "public String getId() { return id; }", "public String id() {\n return this.id...
[ "0.69339913", "0.6829524", "0.68154716", "0.68154716", "0.68154716", "0.667536", "0.667536", "0.667536", "0.667536", "0.667536", "0.667536", "0.6661051", "0.6652975", "0.66522306", "0.66522306", "0.66332406", "0.6617968", "0.6614704", "0.66075593", "0.6606458", "0.65986466", ...
0.0
-1
wyslij konsole do bazy danych
@RequestMapping(value = "/console", method = RequestMethod.POST) public ResponseEntity<Consoles> create(@RequestBody @Valid @NotNull Consoles consoles) { consoles.setConsolesId(UUID.randomUUID().toString()); consolesService.saveConsoles(consoles); return ResponseEntity.ok().body(consoles); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void 자기() {\n\t\tSystem.out.println(\"잠을 잔다\");\r\n\t}", "public void atakuj() {\n\n System.out.println(\"to metoda atakuj z klasy Potwor \");\n\n }", "@Override\n\tpublic void show() {\n\t\tSystem.out.println(\"´óTÐô\");\n\t}", "@Override\r\n\tpublic void mostrar() {\n\t\t\r\...
[ "0.68816197", "0.68216634", "0.67157876", "0.66214395", "0.6610322", "0.6603713", "0.6601479", "0.65787625", "0.65463907", "0.65445554", "0.64071614", "0.6396941", "0.6366948", "0.63595146", "0.635886", "0.63573337", "0.6322587", "0.6293827", "0.6290826", "0.6283043", "0.6276...
0.0
-1
edytuj konsole w bazie danych
@RequestMapping(value = "/console", method = RequestMethod.PUT) public ResponseEntity<Void> edit(@RequestBody @Valid @NotNull Consoles consoles) { if (!consolesService.checkIfExist(consoles.getId())) return new ResponseEntity<>(HttpStatus.NO_CONTENT); else { consolesService.s...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void atakuj() {\n\n System.out.println(\"to metoda atakuj z klasy Potwor \");\n\n }", "public void setmostrar(){\n System.out.println(\"¿Qué deseas hacer?\");\n System.out.println(\"i=incrementar\");\n System.out.println(\"d=decrementar\");\n System.out.println(\"s=sa...
[ "0.63015646", "0.62536216", "0.6143971", "0.6081923", "0.6057495", "0.6013095", "0.5924376", "0.5923307", "0.5920978", "0.5897343", "0.58338505", "0.5820366", "0.58197284", "0.5806279", "0.5805983", "0.58058375", "0.5798128", "0.5786362", "0.57775134", "0.5709968", "0.5696047...
0.0
-1
usun konsole wybrana po id
@RequestMapping(value = "/console/{id}", method = RequestMethod.DELETE) public ResponseEntity<Consoles> delete(@PathVariable Integer id) { consolesService.deleteConsoles(id); return new ResponseEntity<>(HttpStatus.OK); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String Show()\n\t{\n\t\treturn id;\n\t\t\n\t}", "@Override\n public String toString() {\n return id;\n }", "@Override\n\tpublic String toString() {\n\t\treturn id;\n\t}", "public String toString() {\n return id;\n }", "public String getId() { return id; }", "pub...
[ "0.71550524", "0.70045894", "0.68750906", "0.6822447", "0.67948097", "0.67948097", "0.67948097", "0.67854166", "0.67459446", "0.67459446", "0.67459446", "0.67459446", "0.67459446", "0.67459446", "0.67459446", "0.67459446", "0.67459446", "0.67459446", "0.67459446", "0.67459446",...
0.0
-1
Container of types info to determine the template for notification content List typeOfNotification = new ArrayList(); typeOfNotification.add("reply"); more to add to assist with upcoming services Container of template content
public void sendNotification(String type, int fromId, int commentId, int articleId) { Map<String, String> content = new HashMap<String, String>(); content.put("reply", "{from} replied your comment for {article}, check it out!"); //more to add to assist with upcoming services CommentAdde...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private List<String> tipoNotificaciones() {\n\t\tList<String> tipos = new LinkedList<String>();\n\t\ttipos.add(\"Estrenos\");\n\t\ttipos.add(\"Promociones\");\n\t\ttipos.add(\"Noticias\");\n\t\ttipos.add(\"Eventos\");\n\t\ttipos.add(\"Pre-Ventas\");\n\n\t\treturn tipos;\n\t}", "public static List<VaadinNotificat...
[ "0.61802894", "0.6080894", "0.58853066", "0.5725791", "0.5717784", "0.5707949", "0.5693509", "0.5560308", "0.55488294", "0.5528117", "0.55245906", "0.5518352", "0.55068386", "0.5494945", "0.54907477", "0.5486314", "0.54373074", "0.54046124", "0.5378023", "0.5351875", "0.53245...
0.5184837
33
Created by godong9 on 2017. 7. 29..
@Repository public interface PostRepository extends JpaRepository<Post, Long> { List<Post> findByNxAndNy(Integer nx, Integer ny); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r...
[ "0.6093871", "0.6045682", "0.5924078", "0.5894503", "0.58707386", "0.58707386", "0.58647984", "0.5861231", "0.5799446", "0.5789981", "0.5780541", "0.5740468", "0.57343715", "0.5725202", "0.5712612", "0.5712612", "0.5698242", "0.56934816", "0.568889", "0.5686822", "0.5674689",...
0.0
-1
Create a MethodResolver for the expected FieldInformer result and the given real informer
public SubInformerMethodResolver(FieldInformer returned, Informer<?> realInformer) { this(returned.getClass(), realInformer, returned.getField().getName()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void fromMethodResolverAndType() {\n\n MethodResolver methodResolver = MethodResolver.fromType(Person.class);\n\n assertThat(methodResolver).isNotNull();\n assertThat(methodResolver.getReferenceType()).isEqualTo(Person.class);\n }", "public static interface Resolver {\n\t\t\n\t\t/**\n\t...
[ "0.586514", "0.5155056", "0.5112448", "0.4853219", "0.48467368", "0.48352394", "0.47581413", "0.47409272", "0.47317928", "0.47193277", "0.46750528", "0.46225107", "0.46010584", "0.46010584", "0.46002972", "0.4591098", "0.45697337", "0.45654815", "0.4563613", "0.4552748", "0.4...
0.75379676
0
Call method and return given result
@Override public Object call(Object[] invokedArgs) { return returnType.cast(informer.get(fieldName)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "V result() throws Exception;", "Result getResult();", "<T> T callMethod(String name, Class<T> resultType, Object... args)\n throws ScriptRunnerException;", "int getResult();", "<T> T callMethod(Object obj, String name, Class<T> resultType, Object... args)\n throws ScriptRunnerExceptio...
[ "0.6932244", "0.6915979", "0.6869784", "0.6827699", "0.6813869", "0.66653556", "0.6595679", "0.65935165", "0.65649885", "0.65649885", "0.6539808", "0.6538258", "0.6538258", "0.6538258", "0.6431878", "0.6395991", "0.63738346", "0.62735724", "0.6234843", "0.62025344", "0.619241...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { System.setProperty("webdriver.chrome.driver", "C:\\Users\\koorosh\\eclipse-workspace2\\Verizon_Home\\DriverVer\\chromedriver.exe"); ChromeOptions option=new ChromeOptions(); option.addArguments("--disable-notifications"); WebDriver driver=new ChromeDriv...
{ "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
/ JADX INFO: super call moved to the top of the method (can break code semantics)
public UndispatchedCoroutine(@NotNull CoroutineContext coroutineContext, @NotNull Continuation<? super T> continuation) { super(coroutineContext, continuation); Intrinsics.checkParameterIsNotNull(coroutineContext, "context"); Intrinsics.checkParameterIsNotNull(continuation, "uCont"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void method_6349() {\r\n super.method_6349();\r\n }", "public void method_1449() {\r\n super.method_1449();\r\n }", "public void method_1449() {\r\n super.method_1449();\r\n }", "public void method_1449() {\r\n super.method_1449();\r\n }", "protected void method_3848() {\...
[ "0.7415376", "0.7120564", "0.7120564", "0.7120564", "0.71153504", "0.70223135", "0.7006699", "0.6959695", "0.69354844", "0.68295795", "0.6789057", "0.6759874", "0.6727165", "0.6727165", "0.6680012", "0.6670413", "0.6636899", "0.66286534", "0.6619911", "0.6605483", "0.6603786"...
0.0
-1
A lower level implementation to get path from key point to key point
public String searchFromGridFile(File file) { String result = ""; // TODO: read file and generate path using AStar algorithm return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PathKeys getPathKeys();", "public List<MapPoint> buildPath(MapPoint point) { // Palauttaa polun alusta loppuun listana.\n List<MapPoint> finalPath = new ArrayList<>();\n MapPoint tempPoint = point;\n while (true) {\n finalPath.add(0, tempPoint);\n \n if (...
[ "0.69809914", "0.6494761", "0.64861435", "0.6341531", "0.6284563", "0.62223935", "0.61914665", "0.60958254", "0.6089115", "0.6021385", "0.5986904", "0.59814584", "0.59188837", "0.5910466", "0.58555734", "0.5849642", "0.5843559", "0.5834336", "0.5827933", "0.5821707", "0.58099...
0.0
-1
Creates an instance of WeaponProjectile
public void shoot(double x, double y) { if (magazineCounter > 0 && !reloading) { magazineCounter--; new WeaponProjectile(new Point2D(x, y), mouseLocation(), projectileSpeed, testing); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initiateProjectile() {\n\t}", "public static Weapon spawnWeapon()\r\n\t{\r\n\t\tfinal int numberOfWeapons = 5; //update as weapons are added\r\n\t\t\r\n\t\t//Create weapons in order to access attributes / randomly select a weapon\r\n\t\tSword sword = new Sword();\r\n\t\tStick stick = new Stick();\r\...
[ "0.6862584", "0.6611251", "0.6595395", "0.64111394", "0.638931", "0.638463", "0.6308543", "0.62733096", "0.6271814", "0.6256809", "0.62362885", "0.61863106", "0.61633605", "0.6156378", "0.61410743", "0.6093972", "0.60630554", "0.60569465", "0.60560185", "0.60468566", "0.60354...
0.5688252
48
Resets the magazineAmmo counter after a delay specified by reloadTimerMilliseconds
public void reload() { reloading = true; notifyObserver(); if (!testing) { if (timerAction.isExpired()) { timerAction = runOnce(() -> resetMagazine(), Duration.millis(reloadTimerMilliseconds)); } } else { resetMagazine(); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void reload()\n\t{\n\t\tammo = maxAmmo;\n\t}", "public void reload() {\n\t\tammo = AMMO_CAPACITY;\n\t}", "private void resetMagazine() {\n magazineCounter = magazineSize;\n reloading = false;\n notifyObserver();\n }", "public void reloadWeapon() {\r\n Timer timer = new T...
[ "0.6547348", "0.6519212", "0.6349896", "0.6333435", "0.6227025", "0.5961129", "0.5931418", "0.5902073", "0.582254", "0.5785641", "0.5776285", "0.5773987", "0.5761551", "0.57280076", "0.57123756", "0.5665854", "0.56250584", "0.5613542", "0.55891925", "0.555791", "0.5556313", ...
0.6797968
0
Resets the magazineCounter to magazineSize
private void resetMagazine() { magazineCounter = magazineSize; reloading = false; notifyObserver(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void clearMediaCount() {\n \n mediaCount_ = 0;\n }", "public void clear(){\r\n currentSize = 0;\r\n }", "public void reset() {\n\t\tif (marker >= 0) {\n\t\t\tsetSize(marker);\n\t\t\tmarker = -1;\n\t\t}\n\t}", "public void resetCount() {\n count = 0;\n }", "void re...
[ "0.61221015", "0.60991025", "0.5898397", "0.5868441", "0.57902795", "0.57841444", "0.575342", "0.57101727", "0.5693544", "0.5687242", "0.56554824", "0.5651042", "0.5643737", "0.5591405", "0.5591405", "0.5591405", "0.5564566", "0.54917234", "0.5477313", "0.5474885", "0.5474244...
0.80898917
0
Gets the mouse position in the application
private Point2D mouseLocation() { return FXGL.getInput().getMousePositionWorld(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Point2D getMousePosition() {\n\t\treturn Lel.coreEngine.panelPositionToWorld(input.getMousePosition());\n\t}", "@Override\n public Point2D getMouseLocation() {\n if (PlatformAdapter.getOs() == PlatformAdapter.OS.UNIX &&\n !JavaVersionAdapter.currentVersion().isJava11Compatible()) ...
[ "0.8062175", "0.7848162", "0.7568662", "0.73974967", "0.7371202", "0.70167166", "0.6978658", "0.69077736", "0.6862019", "0.680245", "0.6748085", "0.6636818", "0.65783423", "0.65712285", "0.65679705", "0.6529788", "0.649346", "0.64672226", "0.64526457", "0.64315325", "0.643045...
0.80022514
1
Gets the weapons damage
public int getDamage() { return damage; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getWeaponDamage()\n {\n \t\treturn mystuff.getWepDmg();\n }", "public short getSiegeWeaponDamage();", "public int getWeaponDamage()\n\t{\n\t\treturn weaponDamage;\n\t}", "public int getWeaponDamage() {\n return Math.round(type.getWeaponDamage()*type.getItemLevelMultipliers()\n\t\t\...
[ "0.81896234", "0.8132514", "0.80847645", "0.7942261", "0.78967565", "0.77956265", "0.77198565", "0.76414776", "0.76414776", "0.76414776", "0.76414776", "0.76414776", "0.748069", "0.7471087", "0.7464201", "0.74466205", "0.7440406", "0.74223244", "0.74213725", "0.74113005", "0....
0.73868364
20
Listener for response to user permission request
@Override public void onRequestPermissionsResult(int requestCode, String permissions[], int[] grantResults) { if (requestCode == PERMISSION_CODE) { if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { launchPicker(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void permissionGranted(int requestCode);", "public interface PermissionListener {\n\n void onGranted(); //授权\n\n void onDenied(List<String> deniedPermission); //拒绝 ,并传入被拒绝的权限\n}", "@Override\n public void onPermissionGranted(PermissionGrantedResponse permissionGrantedResponse) {\n\n ...
[ "0.768076", "0.76588863", "0.74557644", "0.7434138", "0.7414481", "0.73892576", "0.70542026", "0.68936175", "0.68936175", "0.68079877", "0.6803841", "0.6778087", "0.6754177", "0.6754177", "0.67535526", "0.6715435", "0.6711303", "0.67007023", "0.6670215", "0.6610325", "0.65612...
0.0
-1
we want this handler to run immediately after we push the big red button!
public void onSuccess(Object explosion) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void buttonStatusChange() {\n\t\t\t\n\t\t}", "public void ipcallButtonPressed() {\n\t\tdialButtonPressed(true) ;\n\t}", "private void buttonRedMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_buttonRedMouseEntered\n buttonRed.setBackground(new Color(255, 100, 100));\...
[ "0.6219446", "0.6135543", "0.612683", "0.61046976", "0.60516685", "0.604715", "0.600963", "0.5968948", "0.59369135", "0.59091145", "0.5903942", "0.5894552", "0.5886917", "0.5884559", "0.5881495", "0.5879613", "0.5866054", "0.58572906", "0.5854205", "0.58490545", "0.58383805",...
0.0
-1
Convenience function to download a web page's text from a given URL.
private String downloadURL(String url) { try { HttpClient client = new DefaultHttpClient(); HttpGet request = new HttpGet(url); // Get the response ResponseHandler<String> responseHandler = new BasicResponseHandler(); String response_str = client.execute(request, responseHandler); return response_st...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String downloadContent(String url) throws IOException {\n URL website = new URL(url);\n URLConnection connection = website.openConnection();\n BufferedReader in = new BufferedReader(\n new InputStreamReader(\n ...
[ "0.71684474", "0.69846773", "0.6775019", "0.6659915", "0.6560513", "0.6505425", "0.6478215", "0.6436639", "0.63399136", "0.630198", "0.62623364", "0.625523", "0.6218776", "0.6180111", "0.61482507", "0.6136614", "0.6123494", "0.6104087", "0.60850066", "0.60843503", "0.60627085...
0.6757475
3
Creates new form TeamSquad
public TeamSquad() { initComponents(); this.setTitle("Chỉnh sửa đội hình"); listPlayers = new ArrayList<>(); readPlayerFromFile(listPlayers); showList(listPlayers); tablePlayer.setAutoCreateRowSorter(true); tablePlayer.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Team create(TeamDTO teamForm);", "public static void addTeam(TeamForm tf) {\n Team team;\n\n long id = tf.id;\n\n if (!isTeam(id)) {\n team = new Team(tf.teamName, tf.location, tf.teamType, tf.skillLevel, tf.roster, tf.description, tf.imageUrl);\n team.save();\n }\n else {\n ...
[ "0.6804973", "0.60752815", "0.5823618", "0.57759005", "0.5739509", "0.5546151", "0.55455285", "0.5527132", "0.54458797", "0.53841376", "0.5297071", "0.52258843", "0.5221356", "0.52047944", "0.5181916", "0.51761305", "0.5156771", "0.5147452", "0.5137484", "0.5124507", "0.50561...
0.52590257
11
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jLabel6 = new javax.swing.JLabel(); infoTeamBtn = new javax.swing.JButton(); teamSquadBtn = new javax.swing.JButton(); jLabel5...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.731952", "0.72909003", "0.72909003", "0.72909003", "0.72862417", "0.7248404", "0.7213685", "0.72086793", "0.7195972", "0.71903807", "0.71843296", "0.7158833", "0.71475875", "0.70933676", "0.7081167", "0.7056787", "0.69876975", "0.6977383", "0.6955115", "0.6953839", "0.6945...
0.0
-1
TODO Autogenerated method stub
@Override public String toString() { return "Holder = " + getHolder() + " Balance = " + getBalance() + " Creation Date = " + getCreationDate().toString(); }
{ "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
Attempts to load a model which could be a local file, an already loaded model or an external file.
private Optional<RuntimeModel> loadImportById(String id) { Optional<RuntimeModel> runtimeModelOp = registry.get(id); if (runtimeModelOp.isPresent()) { return runtimeModelOp; } Optional<String> modelPath = runtimeOptions.modelPath(id); if (modelPath.isPresent()) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public StillModel loadModel(String filepath);", "protected final Model loadModel(String path, RenderOptions options) {\n // Builtin models\n if (path.equals(\"builtin/generated\")) {\n return new GeneratedModel();\n }\n\n Model model = openGsonObject(Model.class, ResourceTy...
[ "0.7696885", "0.68503225", "0.662428", "0.65442514", "0.6405717", "0.63812846", "0.63377666", "0.62955356", "0.62106216", "0.6201868", "0.6175697", "0.6153934", "0.61368865", "0.6123426", "0.6119981", "0.601453", "0.5991759", "0.5986967", "0.5887835", "0.5862437", "0.5851007"...
0.6065557
15
() [] left to Right
public static void main(String[] args) { int num = 10 + 20 -5; num = 10 + 20/5; // 14 // division goes first! num = (10+20) /5 ; // 6 int i = 6+3*10/6; // i = 6+5 }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static int[] Reverse(int[] num, int left, int right)\n\t{\n\t\tif(num == null || num.length == 1)\n\t\t\treturn num;\n\t\t\n\t\t// Swap values for the given point of left end and right end of the array.\n\t\twhile(left < right)\n\t\t{\n\t\t\tint temp;\n\t\t\ttemp = num[left];\n\t\t\tnum[left++] = num[right...
[ "0.62506795", "0.5818598", "0.5777957", "0.5753853", "0.57470095", "0.5736424", "0.5688975", "0.5688108", "0.5685205", "0.5646373", "0.56429183", "0.5591136", "0.5583503", "0.5557492", "0.5542259", "0.5523434", "0.55151874", "0.5512244", "0.5497543", "0.5462816", "0.54546016"...
0.0
-1
Inflate the layout for this fragment
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View v = inflater.inflate(R.layout.fragment_login, container, false); l= (Button)v.findViewById(R.id.login); r = (Button)v.findViewById(R.id.register);...
{ "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.6742135", "0.6726157", "0.6724717", "0.67012674", "0.66944426", "0.66910595", "0.66888237", "0.668751", "0.66790944", "0.667782", "0.66679764", "0.66676605", "0.6667572", "0.6663008", "0.66553324", "0.66510403", "0.6644715", "0.6641966", "0.6639501", "0.66363883", "0.66273...
0.0
-1
Startup method of TimeCloud
public static void main(String[] args) { try { DatabaseController databaseController = new DatabaseControllerSQLiteImpl("C:\\TEMP\\TimeCloud2"); EpisodeDAO episodeDao = new EpisodeDaoImpl(databaseController); TransferDAO transferDao = new TransferDaoImpl(databaseControlle...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void initialize() {\n\n getStartUp();\n }", "public void startup(){}", "@Override\n public void startup() {\n }", "@Override\n protected void startUp() {\n }", "@PostConstruct\n public void startup()\n {\n //codeFragmentPrinter.startTimer();\n }", "public void initializ...
[ "0.6724671", "0.65009105", "0.65000886", "0.6459593", "0.6272895", "0.6270745", "0.6110435", "0.6060262", "0.5978498", "0.59220195", "0.5888931", "0.58880216", "0.58880216", "0.58794457", "0.5854522", "0.58529764", "0.5834924", "0.5828296", "0.5740144", "0.57088727", "0.57037...
0.0
-1
public interface for initializing the referrer to the current instance.
public static final AppMeasurementWrapper getInstance (String referer) { //set the referrer value from receiver to the running instance instance.referrer = referer; return instance; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void init(boolean forward) throws CertPathValidatorException\n\t{\n\t}", "public MyCallSite() {\n// mh = findTarget();\n super(findTarget());\n }", "public void setReferrerRef(Reference referrerRef) {\n this.referrerRef = referrerRef;\n\n // A referrer reference m...
[ "0.5633645", "0.55838835", "0.55607647", "0.5557731", "0.5512717", "0.55050516", "0.54774046", "0.54503053", "0.54307455", "0.54233545", "0.542066", "0.5412653", "0.53841305", "0.5379525", "0.5364949", "0.5328625", "0.53264886", "0.52866554", "0.5286299", "0.52828544", "0.527...
0.51376027
43
This method removes the walls between two given cells.
public void removeWall(Vertex current, Vertex next) { if (current.label + mazeSize == next.label) { current.hasDownWall = false; next.hasUpWall = false; } else if (current.label + 1 == next.label) { current.hasRightWall = false; next.hasLeftWall = false; } else if (current.label - 1...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void removeWalls(Cell neighbor){\n int col2 = col - neighbor.col;\n if(col2 == 1){ // neighbor is to the left of current cell\n walls[3] = false;\n neighbor.walls[1] = false;\n } else if(col2 == -1){ // neighbor is to the right of current cell\n walls[1]...
[ "0.70710945", "0.6792331", "0.6414821", "0.62733847", "0.6149354", "0.6082836", "0.60216564", "0.59588623", "0.5946975", "0.59459877", "0.5849859", "0.5847439", "0.57719433", "0.5766358", "0.5751435", "0.5722796", "0.5699202", "0.5698061", "0.56906605", "0.56861246", "0.56739...
0.617598
4
assign attributes to vertices
public void fill() { int vertexNumber = 1; for (int i = 0; i < mazeSize; i++) { for (int j = 0; j < mazeSize; j++) { Vertex v = new Vertex(j, i); graph[j][i] = v; } } for (int i = 0; i < mazeSize; i++) { for (int j = 0; j < mazeSize; j++) { graph[j][i].label = vertexNu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setVertices(int vertices);", "public abstract void updateVertices();", "private void setVertices(Vertex[] vs){\n\t\t\n\t\tvertices = new ArrayList<>();\n\t\toriginalVertices = new ArrayList<>();\n\t\tdouble scalar = ViewSettings.getScalar4();\n\n\t\tfor(Vertex v : vs){\n\t\t\tvertices.add(new Vertex(v.get...
[ "0.6747481", "0.6481843", "0.6457289", "0.64324176", "0.6386928", "0.63865834", "0.63403356", "0.63104093", "0.6303188", "0.6280774", "0.6260675", "0.6246934", "0.6244716", "0.6244454", "0.6204098", "0.6171492", "0.6163314", "0.61567295", "0.6147611", "0.6103622", "0.6070082"...
0.0
-1
This method assigns neighbors to a specified cell. Uses simple constraints such as determining the (x,y) coordinates of the aforementioned cell
public void assignNeighbors(Vertex v) { if (v.y != 0) { v.neighbors.add(graph[v.x][v.y - 1]); } if (v.y != (mazeSize - 1)) { v.neighbors.add(graph[v.x][v.y + 1]); } if (v.x != 0) { v.neighbors.add(graph[v.x - 1][v.y]); } if (v.x != mazeSize - 1) { v.neighbors.a...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void manageCell(int x, int y, int livingNeighbours);", "public void populateNeighbors(Cell[][] cells) {\n\t\tint limitHoriz = cells[0].length;\n\t\tint limitVert = cells.length;\n\t\t// above left\n\t\tif (myRow > 0 && myRow < limitVert - 1) {\n\t\t\tif (myCol > 0 && myCol < limitHoriz - 1) {\n\t...
[ "0.7509784", "0.7499493", "0.701432", "0.6858536", "0.68237007", "0.67519337", "0.6636674", "0.6547842", "0.6543161", "0.6524686", "0.6368634", "0.6355774", "0.63255876", "0.6256828", "0.62543535", "0.625194", "0.6249512", "0.6138313", "0.6128497", "0.61216444", "0.61112577",...
0.0
-1
TODO Autogenerated method stub
@Override public void actionPerformed(ActionEvent ae) { String ActionPerformed = ae.getActionCommand(); if(ActionPerformed.equals("SUBMIT")) { String name = t1.getText(); String usn = t2.getText(); String email = t3.getText(); String per = t4.getText(); int p=Integer.parseInt(per); String group...
{ "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.66713095", "0.6567948", "0.652319", "0.648097", "0.64770466", "0.64586824", "0.64132667", "0.6376419", "0.62759", "0.62545097", "0.62371093", "0.62237984", "0.6201738", "0.619477", "0.619477", "0.61924416", "0.61872935", "0.6173417", "0.613289", "0.6127952", "0.6080854", ...
0.0
-1
TODO Autogenerated method stub
@Override public void actionPerformed(ActionEvent ae) { String ActionPerformed = ae.getActionCommand(); if(ActionPerformed.equals("BACK")) { dispose(); new mainframe(pna,ppwsd); } }
{ "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
Creates a new instance of DroitBean
public DroitBean() { formdroit=new ProfilMenuItem(); selectdroit=new ProfilMenuItem(); dataListdroit=new ArrayList<>(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DonusturucuBean() {\n }", "public PersonBean() {\n\t}", "public Bean() {\n\t}", "public ClasseBean() {\r\n }", "public ClasseBean() {\r\n }", "public PersonaBean() {\n domicilio = new Domicilio();\n telefono = new Telefono();\n correoElectronico = new CorreoElectronic...
[ "0.68674797", "0.66172904", "0.6528885", "0.6460215", "0.6460215", "0.6446009", "0.6444549", "0.643586", "0.6397497", "0.6361625", "0.635003", "0.6325969", "0.62841266", "0.62566787", "0.6210773", "0.61988723", "0.6197056", "0.61231387", "0.60838354", "0.6075325", "0.6073268"...
0.6618966
1
Create a parser to read from the terminal window.
public InputReader() { reader = new Scanner(System.in); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Parser makeParser(String input) throws LexicalException {\r\n\t\tshow(input); //Display the input \r\n\t\tScanner scanner = new Scanner(input).scan(); //Create a Scanner and initialize it\r\n\t\tshow(scanner); //Display the Scanner\r\n\t\tParser parser = new Parser(scanner);\r\n\t\treturn parser;...
[ "0.5952038", "0.57542914", "0.57080024", "0.55565476", "0.5525051", "0.5502214", "0.55010086", "0.54707223", "0.5459558", "0.5454746", "0.5428654", "0.5341056", "0.5325148", "0.52931494", "0.52856565", "0.5219352", "0.5203956", "0.51791763", "0.51633495", "0.51514775", "0.515...
0.0
-1
Returns commands from user
public String getCommand(){ return getCommand(null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getUserCommand() {\n out.print(\"Enter command: \");\n String fullInputLine = in.nextLine();\n\n return fullInputLine;\n }", "public String getUserCommand();", "public String userCommand(){\n return scanner.nextLine();\n }", "List<String> getCommands();", "st...
[ "0.78221494", "0.77938527", "0.749828", "0.74333346", "0.6991493", "0.69333315", "0.6920086", "0.6869079", "0.68689656", "0.67908937", "0.67852193", "0.6759777", "0.6731693", "0.6726851", "0.6715781", "0.6695441", "0.66421413", "0.6635349", "0.66084987", "0.6603879", "0.65436...
0.6148687
41
Match for if the entered user input contains special characters
public boolean isSpecialCharacter(String enteredCmd) { Pattern regex = Pattern.compile("[%@#€]+"); Matcher m = regex.matcher(enteredCmd); return m.matches(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean checkSpecialChars(String password) {\n return password.matches(\".*[()#$?!%/@].*\");\n //why does this not work? return password.matches(\"[()#$?!%/@]+\");\n }", "@Test\n\tpublic void inputVoucher_is_alphanumeric(){\n\t\tString pattern = \"^[a-zA-Z0-9]*$\";\n\t\tvoucher.getInputVo...
[ "0.7050415", "0.69103116", "0.69015014", "0.68840885", "0.6848006", "0.68277276", "0.6793901", "0.67800874", "0.67651224", "0.673916", "0.6678541", "0.66713023", "0.6670366", "0.6563366", "0.6530021", "0.6498379", "0.64821345", "0.64267534", "0.64224327", "0.64114714", "0.638...
0.74006504
0
Checks whether a String is numeric or not
public boolean isNumeric(String strNum) { if (strNum == null) { return false; } try { double d = Double.parseDouble(strNum); } catch (NumberFormatException nfe) { return false; } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static boolean isNumeric(String str) { \n\t\ttry { \n\t\t\tDouble.parseDouble(str); \n\t\t} \n\t\tcatch(NumberFormatException nfe) { \n\t\t\treturn false; \n\t\t} \n\t\treturn true; \n\t}", "private static boolean isNumeric(String str){\n return str.matches(\"-?\\\\d+(\\\\.\\\\d+)?\"); ...
[ "0.8505456", "0.84165156", "0.8404291", "0.8377611", "0.83762586", "0.83578336", "0.835448", "0.833426", "0.83035284", "0.82789993", "0.82767534", "0.8256971", "0.82444954", "0.82208306", "0.81665", "0.8158688", "0.8133454", "0.8133114", "0.81220365", "0.808878", "0.8035277",...
0.84439534
1
Prompts the user to enter the input until the input is not empty and does not have special characters type
public String getValidCommand(String msg) { String enteredCmd = getCommand(msg); while (enteredCmd.isEmpty()||isSpecialCharacter(enteredCmd)) { enteredCmd = getCommand(ANSI_RED+"Not a valid input. Please enter again"+ANSI_RESET); } return enteredCmd; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String userInput()\r\n {\r\n Scanner link = new Scanner(System.in);\r\n String word = link.next();\r\n char[] chars = word.toCharArray();\r\n boolean checkWord = false; \r\n for(int i = 0; i < chars.length; i++)\r\n {\r\n char c =...
[ "0.65463823", "0.6523783", "0.65133715", "0.65079236", "0.6439465", "0.6400609", "0.6397788", "0.63444287", "0.621882", "0.62185335", "0.6216751", "0.61395603", "0.6128344", "0.6123711", "0.60560346", "0.6024494", "0.60081345", "0.5920104", "0.5853723", "0.58473516", "0.58335...
0.5937481
17
Prompts the user to enter the input until the input is of integer type
public int getValidIntCmd(String msg) { String readInt = getCommand(msg); while (!isNumeric(readInt)) { readInt = getCommand(ANSI_RED+"Not a valid input. Please enter again"+ANSI_RESET); } return Integer.parseInt(readInt); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static int getIntegerInput() {\n\t\tScanner integer_input = new Scanner(System.in);\n\t\tboolean valid_inputType = false;\n\t\tint menu_option = -1;\n\t\t\n\t\t/*Repeatedly asks user to enter input until user enters an integer value as input*/\n\t\twhile(!valid_inputType){\n\t\t\ttry{\n\t\t\t\tmenu_option ...
[ "0.7715431", "0.75382936", "0.73655206", "0.7339368", "0.73241746", "0.72843665", "0.727762", "0.7160752", "0.71506757", "0.7074191", "0.7071771", "0.7054595", "0.7023098", "0.6987198", "0.69868106", "0.69638216", "0.6942457", "0.6902055", "0.6866519", "0.6866213", "0.6866032...
0.0
-1
Prompts the user to enter the date until the date is in valid format which is "YYYYMMDD"
public LocalDate getValidDateFormat(String msg) { String sDate = getCommand(msg); while (!isValidDate(sDate)){ sDate = getCommand(ANSI_RED+"Invalid date. Enter ISO format"+ANSI_RESET); } return LocalDate.parse(sDate); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static String dateAddAndValidation() {\n Scanner scan = new Scanner(System.in);\r\n String date;\r\n while (true) {\r\n System.out.println(\"Please add task due date(YYYY-MM-DD)\");\r\n date = scan.nextLine().trim();\r\n String[] dateArray = date.split(...
[ "0.7131851", "0.7120627", "0.6808014", "0.68042856", "0.6746719", "0.66405934", "0.64891416", "0.6427789", "0.64007527", "0.636025", "0.63511616", "0.63220435", "0.6271735", "0.617516", "0.6159796", "0.61404", "0.6039485", "0.6019423", "0.59801334", "0.58939415", "0.5883405",...
0.5762618
27
Returns true if the date is in valid ISO format "YYYYMMDD"
public boolean isValidDate(String s) { try { LocalDate.parse(s); return true; } catch (DateTimeParseException e) { return false; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean checkDatePattern(String date) {\n return date.matches(\"^[0-9]{4}-[0-9]{2}-[0-9]{2}$\");\n }", "public boolean looksLikeISO8601(String str) {\n if (str.length() < 5 || !Character.isDigit(str.charAt(0)) || !Character.isDigit(str.charAt(3)) || str.charAt(4) != '-') {\n ...
[ "0.7321027", "0.72199476", "0.71966064", "0.7180678", "0.717726", "0.7171947", "0.7169014", "0.7109055", "0.7095845", "0.7043892", "0.6972037", "0.695364", "0.6903462", "0.68290913", "0.68085665", "0.6804827", "0.67909926", "0.67507696", "0.67340255", "0.6729337", "0.6708239"...
0.68079674
15
Checks if the argument length is within certain parameters, and if not, informs the CommandSender of how to correctly use the command.
protected boolean correctLength(final CommandSender sender, final int size, final int min, final int max) { if (size < min || size > max) { this.help(sender, false); return false; } else { return true; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void invalidArgLength(Player player, String name) {\n \t\tplugin.sendWarning(player, \"Invalid Argument Length\");\n \t\t\n \t\tMethod method = plugin.getCommandManager().getCommandExecutor(name).getMethod();\n \t\t\n \t\tif (method.getAnnotation(CommandInfo.class) != null)\n \t\t\tplugin.sendInfo(pla...
[ "0.72517085", "0.66782683", "0.6508528", "0.64870584", "0.648591", "0.631386", "0.6240683", "0.62377274", "0.6182279", "0.61381906", "0.60887265", "0.6060036", "0.60405725", "0.59548324", "0.5898788", "0.5872599", "0.58713", "0.5782006", "0.5751261", "0.57487565", "0.5736965"...
0.6679898
1
Checks if the CommandSender is an instance of a Player. If not, it tells them they must be a Player to use the command.
protected boolean isPlayer(final CommandSender sender) { if (sender instanceof Player) { return true; } else { ChatUtil.sendBrandingMessage(sender, this.mustBePlayerMessage); return false; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {\n if (!(sender instanceof Player)) {\n sender.sendMessage(\"Command needs to be run by a player.\");\n return true;\n }\n\n return doCommand(sender, null, ((Playe...
[ "0.7450936", "0.70127964", "0.6950957", "0.6862124", "0.6808158", "0.67940843", "0.6745402", "0.6559842", "0.6545415", "0.6421964", "0.6338266", "0.6302191", "0.622742", "0.6154704", "0.6148526", "0.61392564", "0.6128468", "0.6097145", "0.6086296", "0.60793644", "0.60543066",...
0.7934956
0
Returns a string representation of one of the five base elements, converted from any possible alias of that element, its combos, or its subelements.
public String getElement(final String element) { if (Arrays.asList(Commands.firealiases).contains(element) || Arrays.asList(Commands.firecomboaliases).contains(element)) { return "fire"; } else if (Arrays.asList(Commands.combustionaliases).contains(element)) { return "combustion"; } else if (Arrays.asList(C...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String toStringAsElement() {\r\n \t\treturn \"?\";\r\n \t}", "protected String toStringAsCode() {\r\n \t\treturn \"<\"+toStringAsElement()+\">\";\r\n \t}", "public String toString() {\r\n\t\tString elements = \"<\";\r\n\t\t\r\n\t\tfor(int i = 0; i < count; i++) {\r\n\t\t\telements += \" \" + array[i];\r...
[ "0.5717489", "0.54135376", "0.5331185", "0.51552725", "0.51534545", "0.51155597", "0.5109209", "0.5096759", "0.502019", "0.49950743", "0.4964703", "0.4958795", "0.4909582", "0.4871915", "0.48644313", "0.48584276", "0.48569888", "0.48516968", "0.48388782", "0.48387787", "0.482...
0.5459317
1
Returns a boolean if the string provided is numerical.
protected boolean isNumeric(final String id) { final NumberFormat formatter = NumberFormat.getInstance(); final ParsePosition pos = new ParsePosition(0); formatter.parse(id, pos); return id.length() == pos.getIndex(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean isNumeric(String string) { \r\n\t\ttry { \r\n\t\t\tint testNumber = Integer.parseInt(string); \r\n\t\t} catch(NumberFormatException e) { \r\n\t\t\treturn false; \r\n\t\t} \r\n\t\t\r\n\t\treturn true; \r\n\t}", "public boolean isNumeric(String strNum) {\n if (strNum == null) {\...
[ "0.7910063", "0.7848735", "0.78403074", "0.7789819", "0.77436876", "0.77372205", "0.77335244", "0.77307445", "0.7726554", "0.7712242", "0.7697571", "0.7685501", "0.7669671", "0.76342976", "0.7631909", "0.7603321", "0.76015896", "0.7597702", "0.75831085", "0.75658655", "0.7564...
0.69980544
69
Returns a list for of commands for a page.
protected List<String> getPage(final List<String> entries, final String title, int page, final boolean sort) { final List<String> strings = new ArrayList<String>(); if (sort) { Collections.sort(entries); } if (page < 1) { page = 1; } if ((page * 8) - 8 >= entries.size()) { page = Math.round(entrie...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<String> getCommands();", "List<CommandInfo> list();", "public List<Command> getCommands() {\n return commands;\n }", "@Override\n public WebCommands webCommands() {\n return this._webCommands.get();\n }", "java.util.List<java.lang.String>\n getCommandList();", "public List<Stri...
[ "0.69523966", "0.6601708", "0.63881236", "0.6381767", "0.6323421", "0.63147485", "0.62552667", "0.6252343", "0.62342703", "0.61604136", "0.6100224", "0.6091169", "0.6063845", "0.60406536", "0.60366756", "0.59425867", "0.59408313", "0.591803", "0.5865862", "0.5844463", "0.5832...
0.0
-1
Gets a list of valid arguments that can be used in tabbing.
protected List<String> getTabCompletion(final CommandSender sender, final List<String> args) { return new ArrayList<String>(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.util.List<java.lang.String>\n getArgsList();", "String getArguments();", "java.util.List<java.lang.String>\n getArgsList();", "java.util.List<java.lang.String>\n\t\tgetArgsList();", "List<IArgumentBuilder> getArguments();", "public List<String> getArguments() {\n return arguments;\n...
[ "0.6635858", "0.6505698", "0.6504316", "0.6461242", "0.629792", "0.6291525", "0.628483", "0.6259721", "0.62245625", "0.6164818", "0.6147574", "0.61285496", "0.6084214", "0.6081558", "0.60698235", "0.6030517", "0.6030517", "0.5986935", "0.59435344", "0.5910703", "0.58695394", ...
0.6212981
9
Create all command instances again. We do this so all commands pull their stuff from configs again
public static void reloadCommands() { instances.clear(); Commands.initializeCommands(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public CommandDirector() {\n\t\t//factory = ApplicationContextFactory.getInstance();\n\t\t//context = factory.getClassPathXmlApplicationContext();\n\t\t\n\t\t//commands.put(\"createEntry\", context.getBean(\"creationEntryCommand\", CreationEntryCommand.class));\n\t\t//commands.put(\"searchEntry\", context.getBean(...
[ "0.6137826", "0.59099066", "0.58219683", "0.5816233", "0.5808622", "0.58037955", "0.5801001", "0.57824844", "0.56956005", "0.5687288", "0.55543804", "0.5518106", "0.55137604", "0.5508719", "0.5487973", "0.54734397", "0.547063", "0.5452398", "0.54339355", "0.5407089", "0.53596...
0.66181403
0
and csmi_id is null
public M csmiIdNull(){if(this.get("csmiIdNot")==null)this.put("csmiIdNot", "");this.put("csmiId", null);return this;}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public M csseIdNull(){if(this.get(\"csseIdNot\")==null)this.put(\"csseIdNot\", \"\");this.put(\"csseId\", null);return this;}", "public M csolIdNull(){if(this.get(\"csolIdNot\")==null)this.put(\"csolIdNot\", \"\");this.put(\"csolId\", null);return this;}", "public M csrtIdNull(){if(this.get(\"csrtIdNot\")==nul...
[ "0.66739976", "0.6580075", "0.6241554", "0.6037802", "0.5799854", "0.57558376", "0.5672569", "0.567075", "0.56480277", "0.56344384", "0.5609455", "0.55842155", "0.55221367", "0.55126834", "0.547773", "0.54745674", "0.5449424", "0.5397471", "0.5377783", "0.5361192", "0.5344455...
0.70402765
0
and csmi_id >= ?
public M csmiIdMin(Object min){this.put("csmiIdMin", min);return this;}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic int queryCurrentIdbyStudentId(int sid) {\n\t\tSystem.out.println(\"curredt id\");\n\t\treturn leaseDAO.findCurrentIdbyStudentId(sid);\n\t}", "HrMscChaAssig selectByPrimaryKey(Date day, Integer hour, String mscid);", "public Criteria andIdLessThanOrEqualToColumn(TCpyBankCredit.Column column)...
[ "0.54871124", "0.5193369", "0.5120124", "0.5110871", "0.5095409", "0.503548", "0.5004166", "0.4892403", "0.48791775", "0.48775297", "0.4864519", "0.4809998", "0.47736907", "0.47485235", "0.47477892", "0.4739738", "0.47340187", "0.47312388", "0.47236273", "0.4717279", "0.47062...
0.5403601
1
and csmi_id <= ?
public M csmiIdMax(Object max){this.put("csmiIdMax", max);return this;}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic int queryCurrentIdbyStudentId(int sid) {\n\t\tSystem.out.println(\"curredt id\");\n\t\treturn leaseDAO.findCurrentIdbyStudentId(sid);\n\t}", "public M csmiIdMin(Object min){this.put(\"csmiIdMin\", min);return this;}", "MnMscQos selectByPrimaryKey(Integer month, String mscid, Integer year);"...
[ "0.54680675", "0.5198106", "0.49331653", "0.48681667", "0.48511708", "0.48140576", "0.48018572", "0.47561345", "0.4737659", "0.4732355", "0.47034463", "0.46995762", "0.46970195", "0.46395653", "0.46309078", "0.46220052", "0.46168777", "0.46131226", "0.45853806", "0.45696405", ...
0.46017408
18
and csmi_host is null
public M csmiHostNull(){if(this.get("csmiHostNot")==null)this.put("csmiHostNot", "");this.put("csmiHost", null);return this;}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public M csseHostNull(){if(this.get(\"csseHostNot\")==null)this.put(\"csseHostNot\", \"\");this.put(\"csseHost\", null);return this;}", "public boolean isSetHost() {\r\n return this.host != null;\r\n }", "public boolean isSetHost() {\r\n return this.host != null;\r\n }", "public boolean isSet...
[ "0.7124803", "0.62875783", "0.62875783", "0.62875783", "0.62875783", "0.62875783", "0.6212415", "0.6136948", "0.6136948", "0.61124957", "0.5719524", "0.5686134", "0.55767906", "0.5554056", "0.54966867", "0.5488241", "0.5467206", "0.54365665", "0.54365665", "0.54345214", "0.54...
0.73836374
0
and csmi_host >= ?
public M csmiHostMin(Object min){this.put("csmiHostMin", min);return this;}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Computer findComputerByActiveTrueAndIpAndPort(String ip, int port);", "boolean resourceInHost(final Host host) {\n for (final DrbdVolumeInfo dvi : drbdVolumes) {\n for (final BlockDevInfo bdi : dvi.getBlockDevInfos()) {\n if (bdi.getHost() == host) {\n retu...
[ "0.5555665", "0.53444624", "0.5235808", "0.5235808", "0.5220076", "0.5172875", "0.51007766", "0.50724953", "0.5004062", "0.49978223", "0.49238098", "0.48870936", "0.48493528", "0.47793704", "0.47461826", "0.4730523", "0.47266838", "0.47166452", "0.4713745", "0.4711361", "0.47...
0.6040364
0
and csmi_host <= ?
public M csmiHostMax(Object max){this.put("csmiHostMax", max);return this;}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public M csmiHostMin(Object min){this.put(\"csmiHostMin\", min);return this;}", "Computer findComputerByActiveTrueAndIpAndPort(String ip, int port);", "private boolean isConnectedToPrimary(SRVRecord[] recs)\n\t{\n\t\tString primaryAddress = getPrimaryServerRecord(recs).getTarget();\n\t\tif (primaryAddress != n...
[ "0.58827376", "0.5528861", "0.5449294", "0.5379304", "0.5245417", "0.52267486", "0.5144723", "0.5144723", "0.5088917", "0.50806874", "0.50546205", "0.5001854", "0.4915397", "0.4896099", "0.4819797", "0.47579154", "0.47364298", "0.47364298", "0.47293195", "0.47195613", "0.4697...
0.49579558
12
and csmi_name is null
public M csmiNameNull(){if(this.get("csmiNameNot")==null)this.put("csmiNameNot", "");this.put("csmiName", null);return this;}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public M csmiIdNull(){if(this.get(\"csmiIdNot\")==null)this.put(\"csmiIdNot\", \"\");this.put(\"csmiId\", null);return this;}", "public M csolMemberNull(){if(this.get(\"csolMemberNot\")==null)this.put(\"csolMemberNot\", \"\");this.put(\"csolMember\", null);return this;}", "public M csseIdNull(){if(this.get(\"c...
[ "0.62693775", "0.6153192", "0.6022289", "0.5986273", "0.5965861", "0.59644693", "0.59512395", "0.591874", "0.5874585", "0.5852563", "0.5822733", "0.5821558", "0.5733831", "0.5669997", "0.56693715", "0.56631356", "0.56338376", "0.5630527", "0.56263745", "0.56210256", "0.557845...
0.72297937
0
and csmi_member_id is null
public M csmiMemberIdNull(){if(this.get("csmiMemberIdNot")==null)this.put("csmiMemberIdNot", "");this.put("csmiMemberId", null);return this;}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public M csolMemberNull(){if(this.get(\"csolMemberNot\")==null)this.put(\"csolMemberNot\", \"\");this.put(\"csolMember\", null);return this;}", "@Test\r\n public void lookProfileByNull() {\n assertNull(Activity.find(\"select a from Activity a where a.member = ?\", member).first());\r\n\r\n // A ...
[ "0.69090945", "0.5976388", "0.5892592", "0.5737558", "0.5725839", "0.5725839", "0.5703621", "0.564964", "0.5556184", "0.55522275", "0.54927915", "0.5470721", "0.5446027", "0.53714406", "0.5365707", "0.5284711", "0.5270242", "0.5247792", "0.5239605", "0.5200307", "0.51843244",...
0.6825734
1
and csmi_member_id >= ?
public M csmiMemberIdMin(Object min){this.put("csmiMemberIdMin", min);return this;}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setMemberID(String memberID){ this.memberID=memberID; }", "UcMembers selectByPrimaryKey(Long uid);", "List<S> memberOf(String memberUuid);", "int insertSelective(UcMembers record);", "public void setMember_id(String member_id) {\r\n this.member_id = member_id;\r\n }", "public void s...
[ "0.5641876", "0.5615286", "0.5524243", "0.5521049", "0.54866517", "0.54866517", "0.54198015", "0.54038", "0.5380408", "0.53459877", "0.53353536", "0.53189206", "0.5309098", "0.53064495", "0.52468157", "0.5244494", "0.52152604", "0.5105513", "0.50952685", "0.5094019", "0.50939...
0.54811436
6
and csmi_member_id <= ?
public M csmiMemberIdMax(Object max){this.put("csmiMemberIdMax", max);return this;}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setMemberID(String memberID){ this.memberID=memberID; }", "public void setMember_id(String member_id) {\r\n this.member_id = member_id;\r\n }", "public void setMember_id(String member_id) {\r\n this.member_id = member_id;\r\n }", "int getMemberId2();", "public boolean checkV...
[ "0.5781765", "0.55747867", "0.55747867", "0.5415886", "0.54104", "0.5373027", "0.536213", "0.53453815", "0.5327927", "0.5276999", "0.5275871", "0.5261812", "0.5223341", "0.5215833", "0.5195558", "0.51814497", "0.513177", "0.5099644", "0.5065547", "0.505932", "0.505932", "0....
0.49545375
33
and csmi_certify_type is null
public M csmiCertifyTypeNull(){if(this.get("csmiCertifyTypeNot")==null)this.put("csmiCertifyTypeNot", "");this.put("csmiCertifyType", null);return this;}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public M csmiCertifyNumNull(){if(this.get(\"csmiCertifyNumNot\")==null)this.put(\"csmiCertifyNumNot\", \"\");this.put(\"csmiCertifyNum\", null);return this;}", "public M csmiCertifyImageNull(){if(this.get(\"csmiCertifyImageNot\")==null)this.put(\"csmiCertifyImageNot\", \"\");this.put(\"csmiCertifyImage\", null);...
[ "0.6411322", "0.63119656", "0.6218801", "0.5700822", "0.5373981", "0.5311067", "0.5231368", "0.5183592", "0.51826704", "0.51325166", "0.50955343", "0.5094828", "0.50849605", "0.5054274", "0.50417084", "0.50329083", "0.50189126", "0.50171614", "0.5014134", "0.50047106", "0.499...
0.7268396
0
and csmi_certify_type >= ?
public M csmiCertifyTypeMin(Object min){this.put("csmiCertifyTypeMin", min);return this;}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static String segOnsetCtype(Item seg, String ctype) {\n\t\tItem daughter = seg.getItemAs(Relation.SYLLABLE_STRUCTURE).getParent().getDaughter();\n\n\t\twhile (daughter != null) {\n\t\t\tif (\"+\".equals(getPhoneFeature(daughter, \"vc\"))) {\n\t\t\t\treturn \"0\";\n\t\t\t}\n\t\t\tif (ctype.equals(getPhoneFe...
[ "0.51960033", "0.5155125", "0.50733036", "0.49396527", "0.48858297", "0.48713347", "0.485039", "0.47646803", "0.47348824", "0.47298408", "0.47172925", "0.4711344", "0.4696557", "0.4675918", "0.46711794", "0.46337393", "0.46311548", "0.4609378", "0.45833716", "0.45759055", "0....
0.540129
0