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
EFFECTS: (pretends to) begin tracing the suspect in question
void track();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void courseEffects() {\n\t\t\n\t}", "@Override\n\tprotected void enterEffect() {\n\t\t\n\t}", "private final void segmentsFrameEffects() {\n\t\tif (alive) {\n\t\t\tint i;\n\t\t\t// Energy obtained through photosynthesis\n\t\t\tdouble photosynthesis = 0;\n\t\t\t_nChildren = 1;\n\t\t\t_indigo =0;\n\t\t\t...
[ "0.6659454", "0.6649463", "0.6490339", "0.64134115", "0.634853", "0.6277827", "0.6234948", "0.6213576", "0.6188098", "0.6023002", "0.60008913", "0.5850886", "0.58287054", "0.57975554", "0.57859105", "0.5779623", "0.57544345", "0.5740167", "0.5688926", "0.5640882", "0.56368226...
0.0
-1
Creates new form FrmServicos
public FrmServicos() { initComponents(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public frmPesquisaServico() {\n initComponents();\n listarServicos();\n }", "public static void create(Formulario form){\n daoFormulario.create(form);\n }", "public creacionempresa() {\n initComponents();\n mostrardatos();\n }", "com.soa.SolicitarServicioDocument.S...
[ "0.7042042", "0.65392524", "0.6358223", "0.6335231", "0.63203144", "0.6176746", "0.6110081", "0.60868967", "0.6079554", "0.60590214", "0.6044216", "0.60398144", "0.6025182", "0.60152435", "0.6006732", "0.59987533", "0.59899014", "0.5969546", "0.5949934", "0.59412855", "0.5937...
0.75584745
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() { fmrNumOS = new javax.swing.JTextField(); jLabel1 = new javax.swing.JLabel(); AbrirOS = new javax.swing.JButton(); Fechar = new...
{ "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.7319037", "0.7290621", "0.7290621", "0.7290621", "0.7285163", "0.72480375", "0.72130316", "0.7207723", "0.7195822", "0.7189463", "0.7183591", "0.71580946", "0.7147075", "0.70924276", "0.70795405", "0.7056352", "0.6986753", "0.6976759", "0.6954958", "0.69533294", "0.6944831...
0.0
-1
End of variables declaration//GENEND:variables
public void buscaTodasOSs() { try { ServicoDAO sDAO = new ServicoDAO(); // instancia a classe ProdutoDB() ArrayList<OS> cl = sDAO.consultaTodasOs(); // coloca o método dentro da variável DefaultTableModel modeloTabela = (DefaultTableModel) jTable1.getModel(); // ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void lavar() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void mo38117a() {\n }", "@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}", "private void assignment() {\n\n\t\t\t}", "private void kk12() {\n\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\n pu...
[ "0.6359434", "0.6280371", "0.61868024", "0.6094568", "0.60925734", "0.6071678", "0.6052686", "0.60522056", "0.6003249", "0.59887564", "0.59705925", "0.59680873", "0.5967989", "0.5965816", "0.5962006", "0.5942372", "0.5909877", "0.5896588", "0.5891321", "0.5882983", "0.5881482...
0.0
-1
Action after the "delete" had been confirmed.
void onDelete();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void onConfirmFavouriteDeletion();", "@FXML\r\n public void onDelete() {\r\n Alert alert = new Alert(Alert.AlertType.CONFIRMATION);\r\n alert.setTitle(\"Mensagem\");\r\n alert.setHeaderText(\"\");\r\n alert.setContentText(\"Deseja excluir?\");\r\n Optional<ButtonType>...
[ "0.7319812", "0.7167816", "0.71370625", "0.7068965", "0.7004396", "0.6942503", "0.67933714", "0.6751654", "0.67327106", "0.6692881", "0.667517", "0.6672486", "0.66340107", "0.6621262", "0.6601785", "0.65580815", "0.6547022", "0.6525123", "0.6502112", "0.6485209", "0.6466119",...
0.646136
21
The delete action, calling the onDeleteListener if necessary.
private boolean actionDelete() { Debug.enter(); onDeleteListener.onDelete(); dismiss(); Debug.leave(); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void actionDelete() {\r\n showDeleteDialog();\r\n }", "void onDelete();", "void onDeleteClicked();", "void deleteButton_actionPerformed(ActionEvent e) {\n doDelete();\n }", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tdeleteListener.onDeleteListener(vo.id);\n\t\t\t}", "p...
[ "0.76467764", "0.74480534", "0.74249697", "0.7407384", "0.7375581", "0.7327324", "0.7293149", "0.7195361", "0.71244603", "0.70338714", "0.6986209", "0.69047403", "0.68886316", "0.6881291", "0.6861116", "0.6844204", "0.6804155", "0.6784633", "0.6776915", "0.67656493", "0.67457...
0.7265455
7
Life cycle methods The dialog is being created.
@Override public void onCreate( final Bundle savedInstanceState ) { super.onCreate( savedInstanceState ); { Debug.enter(); setContentView( R.layout.dialog_delete ); setCanceledOnTouchOutside( true ); setTitle( title ); if ( message !...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initDialog() {\n }", "private Dialogs () {\r\n\t}", "void makeDialog()\n\t{\n\t\tfDialog = new ViewOptionsDialog(this.getTopLevelAncestor());\n\t}", "public Dialog() {\n\t}", "public abstract void initDialog();", "public DialogManager() {\n }", "@Override\n public Dialog onCreat...
[ "0.74879545", "0.73306644", "0.71519846", "0.7139153", "0.6970602", "0.69208723", "0.69012177", "0.6835099", "0.66980505", "0.6673283", "0.6641643", "0.6640246", "0.66111636", "0.6601063", "0.6588277", "0.6520888", "0.6481222", "0.6456213", "0.6454755", "0.6422355", "0.642218...
0.0
-1
This is pretty perfunctory, just to show that the EJB works locally
@Test public void testOnce() { String actual = new SpecialsBean().getNextCouponCode(); assertNotNull(actual); assertTrue(actual.startsWith("Special")); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void testEJBBinding()\n throws Exception\n {\n getLog().debug(\"HAJndiTestCase.testEJBBinding()\");\n validateUrls();\n \n // CalledHome EJB is contained in cross-server.jar and bound during deployment\n \n // lookup binding locally on Node0 - should succeed\n Context na...
[ "0.65787786", "0.64531386", "0.64531386", "0.6327654", "0.6321929", "0.62754285", "0.6228392", "0.6219912", "0.61978877", "0.61829454", "0.617153", "0.61559004", "0.61387384", "0.61138225", "0.611005", "0.60893685", "0.6086036", "0.60783434", "0.6033565", "0.60170424", "0.598...
0.0
-1
try to run org.slf4j.bridge.SLF4JBridgeHandler.install();
protected static void configureJULtoSLF4J(ServletContext servletContext) { try { // Try to locate class and method using current classloader Class<?> clazz = Class.forName("org.slf4j.bridge.SLF4JBridgeHandler", true, JULConfigurer.class.getClassLoader()); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\n\t\torg.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(Slf4j.class);\n\t\t\n\t\tlogger.info(\"Hello World\");\n\t\t\n\t}", "public static void setupLoggers() {\n SLF4JBridgeHandler.removeHandlersForRootLogger();\n\n // add SLF4JBridgeHandler to j....
[ "0.6011383", "0.5932845", "0.5883612", "0.5578339", "0.53924865", "0.53579015", "0.53462154", "0.52926785", "0.5245893", "0.5211601", "0.51528853", "0.5148134", "0.51317096", "0.5126036", "0.5112048", "0.5063703", "0.50433064", "0.50249547", "0.50200635", "0.5014578", "0.4983...
0.65394366
0
Add SLF$J Bridge Handler to each logger declared in BRIDGED_JUL_LOGGERS_PARAM param. This prevents log events to reach ROOT logger, as we don't want to log to ConsoleHandler which is associated with ROOT logger by default.
protected static void addSLF4JHandlerToLoggers(ServletContext servletContext, Class<?> bridgeHandlerClass) { String loggerList = servletContext.getInitParameter(BRIDGED_JUL_LOGGERS_PARAM); Handler bridgHandler = getSLF4JBridgeHandler(bridgeHandlerClass); if (loggerList != null) { Str...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initJulLogger() {\n SLF4JBridgeHandler.removeHandlersForRootLogger();\n SLF4JBridgeHandler.install();\n }", "public static void setupLoggers() {\n SLF4JBridgeHandler.removeHandlersForRootLogger();\n\n // add SLF4JBridgeHandler to j.u.l's root logger\n SLF4JBridg...
[ "0.63067573", "0.61006516", "0.5872119", "0.54332393", "0.54092395", "0.5378317", "0.5329671", "0.52954197", "0.51399577", "0.5095777", "0.50827813", "0.5065305", "0.50555366", "0.5044166", "0.5035981", "0.4992657", "0.49694297", "0.4944342", "0.49108213", "0.48872668", "0.48...
0.77041364
0
Checks if a brigde is already configured using Class.equals(). This implies that several brigdes may be present, but only one per classloader.
protected static boolean isJULtoSLF4JAlreadyConfigured(Class<?> bridgeHandlerClass) { return getSLF4JBridgeHandler(bridgeHandlerClass) != null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected boolean isMoreDerivedThan( Bootstrapper other )\n {\n return other.getClass().isAssignableFrom( getClass() );\n }", "boolean is(Class<? extends DownloaderConfiguration> type);", "protected boolean isInDerivedClass() {\n\t\treturn (getClass() != Main.class);\n\t}", "boolean hasClassn...
[ "0.5990407", "0.59270465", "0.58717746", "0.5803942", "0.54901814", "0.5460897", "0.5421399", "0.5419122", "0.5418161", "0.5392024", "0.5384027", "0.5368105", "0.53522617", "0.534734", "0.53350896", "0.5318939", "0.5312599", "0.530515", "0.52903163", "0.5269763", "0.526066", ...
0.50867516
34
This method allows to remove java.util.logging.ConsoleHandler from JUL rootLogger. We need to do this programmaticaly since we don't have access to logging.properties in JVM installation.
protected static void removeJULConsoleHandler(ServletContext servletContext) { Logger rootLogger = LogManager.getLogManager().getLogger(""); Handler[] handlers = rootLogger.getHandlers(); if (handlers != null) { for (Handler handler : handlers) { if (handler instanceo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void desactivateConsoleMode() {\n logger.removeHandler(mConsoleHandler);\n }", "public void removeAllLogHandlers() {\n if ( _logger == null ) {\n return ;\n }\n Log.log(this, \"removeAllLogHandlers\");\n synchronized ( _logger ) {\n Handler[] han...
[ "0.7155486", "0.647597", "0.60520774", "0.58325917", "0.581837", "0.5741941", "0.5714742", "0.56232697", "0.5614143", "0.56012267", "0.5531095", "0.5478786", "0.54620373", "0.5409786", "0.5395852", "0.5325237", "0.5313325", "0.5305902", "0.5202614", "0.5188412", "0.51327556",...
0.7959721
0
Return a table which represents a ResultSet, to be printed by a logger, based on the content of the provided resultSetCollector. This method will be actually called by a SpyLogDelegator when the next() method of the spied ResultSet return false meaning that its end is reached. It will be also called if the ResultSet is...
public String getResultSetToPrint(ResultSetCollector resultSetCollector) { this.table.append(System.getProperty("line.separator")); if(resultSetCollector != null && resultSetCollector.getRows() != null){ this.table.append("rows : "+resultSetCollector.getRows().size()); } thi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void resultSetCollected(ResultSetCollector resultSetCollector);", "private ResultsTable getResultsTable(boolean enReset) {\n ResultsTable rt = ResultsTable.getResultsTable();\n\n if(rt == null || rt.getCounter() == 0) {\n rt = new ResultsTable();\n }\n\n if(enReset) ...
[ "0.65286803", "0.534848", "0.50730497", "0.5066221", "0.4941833", "0.49401188", "0.48878023", "0.48143768", "0.4779027", "0.47705206", "0.4768561", "0.4709952", "0.4630686", "0.4627567", "0.4621398", "0.4620115", "0.46197212", "0.46117622", "0.4610349", "0.45915264", "0.45836...
0.6315908
1
Add space to the provided String to match the provided width
private static String padRight(String s, int n) { n = n - (countLength(s) - s.length());//한글이 있는 경우 다시 글수를 줄여준다. return String.format("%1$-" + n + "s", s); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String createSpaceString(int width) {\r\n String existing = widthToSpaceString.getObj(width);\r\n if(existing != null){\r\n return existing;\r\n }\r\n StringBuffer b = new StringBuffer(width);\r\n while (width-- > 0){\r\n b.append(' ');\r\n ...
[ "0.71742725", "0.71599925", "0.70039", "0.6922064", "0.6875334", "0.66256416", "0.6603168", "0.6537529", "0.65151703", "0.6419661", "0.6372351", "0.63550884", "0.62860376", "0.6281648", "0.6236538", "0.62180173", "0.62156636", "0.6194254", "0.6107574", "0.6096356", "0.6057809...
0.0
-1
Metodos para 5 operaciones
public void enfermarTodosConProbabilidad50() { for (Persona p : super.getMundo().getListaDoctores()) { if (super.getMundo().getRandom1and2() == 1) { super.getMundo().enfermarPersona(p); } } for (Persona p : super.getMundo().getListaCocineros()) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Operations operations();", "public void calculos() {\n a = a1+a2+a3;\n b = b1+b2+b3;\n c = c1+c2+c3;\n }", "public void sumaPuntos() {\r\n int rojo = 0;\r\n int azul = 0;\r\n for (int i = 1; i < 10; i++) {\r\n\r\n if (tablero[1][i].getTipo().equals(\"Rojo...
[ "0.6044281", "0.5899731", "0.580222", "0.57333404", "0.55848813", "0.5517909", "0.54781795", "0.5430023", "0.5419435", "0.533079", "0.5289265", "0.5282964", "0.5281537", "0.52700627", "0.52617383", "0.52608746", "0.525692", "0.5245816", "0.5241903", "0.52374995", "0.52323633"...
0.0
-1
Metodos para 10 operaciones
public void ganarDineroPorAutomoviles() { for (Persona p : super.getMundo().getListaDoctores()) { for (Vehiculo v : p.getVehiculos()) { v.puedeGanarInteres(); v.setPuedeGanarInteres(false); } } for (Persona p : super.getMundo().getListaCoci...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getTotRuptures();", "public void Millas_M(){\r\n System.out.println(\"Cálcular Metros o Kilometros de Millas Marinas\");\r\n System.out.println(\"Ingrese un valor en Millas Marinas\");\r\n cadena =numero.next(); \r\n valor = metodo.Doble(cadena);\r\n valor = m...
[ "0.5692335", "0.5648909", "0.5595356", "0.55876255", "0.55208474", "0.5512665", "0.54612917", "0.5451515", "0.54446256", "0.54430926", "0.5436707", "0.5427414", "0.53677666", "0.53603876", "0.53302115", "0.5323548", "0.53204465", "0.5314178", "0.5288667", "0.5266529", "0.5262...
0.0
-1
Metodos para 15 operaciones
public void dividirDineroGobierno() { double dineroDividible = super.getMundo().getGobierno().getCapitalEconomico() / 2; double dineroPorPersona = super.getMundo().contarPersonas(); if (dineroDividible > 0) { super.getMundo().gobiernoDarDinero(dineroDividible); for (P...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void Millas_M(){\r\n System.out.println(\"Cálcular Metros o Kilometros de Millas Marinas\");\r\n System.out.println(\"Ingrese un valor en Millas Marinas\");\r\n cadena =numero.next(); \r\n valor = metodo.Doble(cadena);\r\n valor = metodo.NegativoD(valor);\r\n ...
[ "0.6039619", "0.60232884", "0.5997177", "0.59716827", "0.5954802", "0.5927271", "0.5865232", "0.56842", "0.5670034", "0.566408", "0.56298953", "0.56230384", "0.55941653", "0.55867237", "0.55851614", "0.55840427", "0.55701643", "0.55614847", "0.5543762", "0.5521641", "0.551980...
0.0
-1
Metodos para 30 operaciones
public Boolean gorbiernoConPrestamos() { if (super.getMundo().getGobierno().getPrestamos().size() > 0) return true; return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "long getExpirations();", "public void Millas_M(){\r\n System.out.println(\"Cálcular Metros o Kilometros de Millas Marinas\");\r\n System.out.println(\"Ingrese un valor en Millas Marinas\");\r\n cadena =numero.next(); \r\n valor = metodo.Doble(cadena);\r\n valor = metodo....
[ "0.57848865", "0.5751729", "0.5724899", "0.5594225", "0.55455166", "0.55100465", "0.54704493", "0.5446098", "0.5442361", "0.54396695", "0.5423363", "0.5416009", "0.54154396", "0.53986174", "0.5392554", "0.53893524", "0.537341", "0.53428555", "0.53394854", "0.5321044", "0.5309...
0.0
-1
Validaciones realizadas en cada persona porque
public Boolean iniciarOperacionesPersona5(Persona p) { p.aumentarContadorOperaciones5(); if (!p.getPersonaSaludable()) { if (p.getContadorOperaciones5() == 5) { p.resetearContadorOperaciones5(); return true; } } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void validate() {\n\t\t// just in case;\n\t\tfor (int i=0;i<NR_OF_FIELDS; i++) {\n\t\t\tvalid[i] = \"0\";\n\t\t}\n\t\t//\n\t\t// Validate name and surname:\n\t\t//\n\t\tif ( ! this.isUpperAlpha(nume)) {\n\t\t\tfields[0] = \"1\";\n\t\t}\n\t\t\n\t\tif ( ! this.isUpperAlphaWithSpace(nume)) {\n\t\t\tfields[1] ...
[ "0.6656113", "0.6640114", "0.65798867", "0.65522546", "0.65472674", "0.65188444", "0.6469047", "0.64347935", "0.6389813", "0.62918544", "0.6288726", "0.6286731", "0.6286731", "0.6286731", "0.6286731", "0.6286731", "0.6286731", "0.6286731", "0.6286731", "0.6286731", "0.6286731...
0.0
-1
Instantiates a new BrowserPresenterFactory.
public BrowserPresenterFactory(Context context) { this.context = context; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public BrowserPresenter create() {\n return new BrowserPresenter(context);\n }", "Browser create(ConnectionFactory connectionFactory) {\n return new BrowserImpl(connectionFactory);\n }", "public JavaBrowsingPerspectiveFactory() {\n\t\tsuper();\n\t}", "private static LoginRequiredPagePresenter c...
[ "0.8511873", "0.70937777", "0.6868804", "0.66813004", "0.63037646", "0.61608887", "0.61320233", "0.61091906", "0.6068314", "0.6028995", "0.59755236", "0.5929406", "0.5910548", "0.58887774", "0.57976377", "0.57607573", "0.5752625", "0.5717713", "0.5707498", "0.5677856", "0.564...
0.78022116
1
Creates a new BrowserPresenter
public BrowserPresenter create() { return new BrowserPresenter(context); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public BrowserPresenterFactory(Context context) {\n this.context = context;\n }", "public bhi createPresenter() {\n return new bhi(this);\n }", "Browser create(ConnectionFactory connectionFactory) {\n return new BrowserImpl(connectionFactory);\n }", "@Test\n public void createPrese...
[ "0.73346686", "0.69333094", "0.672486", "0.65776885", "0.65400267", "0.63549757", "0.625509", "0.6239311", "0.61420846", "0.6122961", "0.60518986", "0.5893047", "0.58592206", "0.58549327", "0.5820745", "0.5798563", "0.57244354", "0.57033104", "0.5697192", "0.5696701", "0.5691...
0.8967654
0
Test of sub method, of class MathHelper.
@Test public void testSub() { System.out.println("sub"); int a = 2; int b = 1; MathHepler instance = new MathHepler(); int expResult = 1; int result = instance.sub(a, b); assertEquals(expResult, result); // TODO review the generated test code and remov...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n\tpublic void calculateTest(){\n\t\tAssertions.assertThat(calculate(\"5*5\")).isEqualTo(25);\n\t}", "@Test\n void testCalculations() {\n double addition = calculator.add(10, 2);\n double subtraction = calculator.sub(10, 2);\n double multiplication = calculator.mul(10, 2);\n ...
[ "0.68739116", "0.68200165", "0.6759694", "0.65192956", "0.6403572", "0.6377728", "0.63585466", "0.63467383", "0.6280009", "0.62736785", "0.6270913", "0.6261985", "0.6252756", "0.6236719", "0.62332016", "0.62006176", "0.618655", "0.6174184", "0.6167622", "0.61671317", "0.61622...
0.5959509
38
TODO Autogenerated method stub
@Override public void onClick(View v) { switch (v.getId()) { case R.id.sign_email: { Intent intent = new Intent(MainLoginActivity.this,SignEmailActivity.class); startActivity(intent); break; } case R.id.sign_fb: { //onClickLogin(); Intent intent = new Intent(MainLoginActivity.this,ModifyUser...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); Session.getActiveSession().onActivityResult(this, requestCode, resultCode, data); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override protected void onPause() { super.onPause(); Session.getActiveSession().removeCallback(statusCallback); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override protected void onResume() { super.onResume(); Session.getActiveSession().addCallback(statusCallback); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override protected void onDestroy() { super.onDestroy(); }
{ "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
Check if an existing view is being reused, otherwise inflate the view
@NonNull @Override public View getView(int position, View convertView, @NonNull ViewGroup parent) { if (convertView == null) { convertView = LayoutInflater.from(getContext()).inflate(R.layout.list_item_alarm, parent, false); } final RepeatingAlarm ala...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void recycleCheck(){\n getScreenRect();\n\n //ok...seriously, I have no idea why I need to wrap it in post()\n //but if I don't, it won't be able to setHtml() again (the second time)\n //TODO investigate what the fuck is going on\n post(new Runnable() {\n @Overr...
[ "0.60222584", "0.5850514", "0.5832009", "0.5829044", "0.5664403", "0.56624573", "0.56332695", "0.56060505", "0.55725324", "0.55563074", "0.55493295", "0.5544281", "0.5521305", "0.5513848", "0.54887444", "0.5472579", "0.5471834", "0.5454597", "0.54529613", "0.54529613", "0.545...
0.0
-1
/////////// Patient // ///////////
public abstract List<Patient> getAllPatientNode();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void careForPatient(Patient patient);", "Reference getPatient();", "@SystemAPI\n\tPatient getPatient();", "PatientInfo getPatientInfo(int patientId);", "public Patient (){\r\n }", "public Patient (String patientID) {\n this.patientID = patientID;\n this.associatedDoctor = new Array...
[ "0.7341118", "0.7321984", "0.72638464", "0.7157185", "0.7143585", "0.71035165", "0.7080928", "0.707499", "0.7065065", "0.7039853", "0.70183563", "0.6965732", "0.69533664", "0.6907993", "0.6900269", "0.6898404", "0.68904364", "0.6854546", "0.6844634", "0.6836077", "0.6836077",...
0.0
-1
get List of overlapping Appointment objects with startTime and endTime
public abstract List getAllOverlapAppt(String provider, Date startTime, Date endTime);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isOverlapping(int appointmentId, String start, String end) throws Exception {\n\n //A Fetcher object for getting the appointments from the database. I discovered an error where the Fetcher and\n //DateAndTime class call each other back and forth in a never-ending loop if I declare them...
[ "0.67447144", "0.6594304", "0.6586965", "0.65855354", "0.63492525", "0.61526227", "0.61166716", "0.60735446", "0.6039628", "0.6034247", "0.5999819", "0.5975913", "0.5940502", "0.5878511", "0.5854547", "0.5815437", "0.574711", "0.57284504", "0.5707132", "0.5688552", "0.5653775...
0.778819
0
Created by administor on 2017/3/24.
public interface TerminalService { public List<Terminalinfo> findByPageTerminal(int page, int pagesize); public int countTerminal(); public List<Terminalinfo> findByPageTerminal2(HashMap<String, Object> map); public int countTerminal2(HashMap<String, Object> map); int insert(Terminalinfo re...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public final void mo51373a() {\n }", "@Override\r\n\tpubl...
[ "0.6154425", "0.608715", "0.5817451", "0.5815394", "0.5791697", "0.5757692", "0.5746178", "0.5746178", "0.57171726", "0.56809443", "0.56666183", "0.5632002", "0.56144136", "0.5606974", "0.5596434", "0.5596434", "0.5596434", "0.5596434", "0.5596434", "0.5596434", "0.5592898", ...
0.0
-1
Convert centimeters to inches
public double getHeight() { return this.height * 0.393701; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static double cmToInches(double cms)\n {\n return cms * CM_PER_INCH;\n }", "public static double millimetersToInches(double millimeters) {\n return millimeters / 25.4;\n }", "public static double inchesToCms(double inch)\n {\n return inch * INCH_PER_CM;\n }", "public stat...
[ "0.7691239", "0.7376223", "0.7305217", "0.7246744", "0.71212417", "0.7087092", "0.70612764", "0.70015174", "0.69343376", "0.6892266", "0.662828", "0.661742", "0.6543083", "0.6486869", "0.6460835", "0.645124", "0.63175446", "0.631048", "0.6291068", "0.62080693", "0.6204717", ...
0.0
-1
Convert kilograms to pounds
public double getWeight() { return this.weight * 2.20462; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static Double convertToKilograms(Double pounds) {\n double kilos;\n kilos = pounds / 2.2046;\n return kilos;\n }", "protected double toPounds(double weightOunces){\n\t\treturn 0.0625 * weightOunces;\n\t}", "public float convertToPoundIfRequired(float weight){\r\n\t\t\tif(this ==...
[ "0.8356926", "0.69880646", "0.63949484", "0.6315854", "0.62080437", "0.60171735", "0.5914137", "0.5899393", "0.5863306", "0.58019674", "0.57990324", "0.57833076", "0.5746524", "0.5689889", "0.5689889", "0.56754154", "0.56245536", "0.561527", "0.5597566", "0.55777586", "0.5571...
0.0
-1
Get do atributo bloco.
public int getBloco() { return bloco; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Attributes getAttributes();", "public String getMetodoObtemSqlite(AtributoEntidade atributo) {\n\t\treturn getMetodoObtemSqlite(atributo.getTipo());\n\t}", "java.lang.String getAttribute();", "String getAttribute();", "public String getattribut() \n\t{\n\t\treturn attribut;\n\t}", "public abstract java.l...
[ "0.6331066", "0.6305742", "0.61470336", "0.6143391", "0.6112528", "0.60927665", "0.6023578", "0.59916", "0.5967461", "0.596067", "0.59139806", "0.5909268", "0.5871308", "0.5868795", "0.5868795", "0.5868795", "0.5865793", "0.5810796", "0.57767314", "0.57685155", "0.57582843", ...
0.5614175
40
Get do atributo nome.
public String getNome() { return nome; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String nome() {\n\t\treturn this.nome;\n\t}", "public String getNome()\r\n\t{\r\n\t\treturn nome;\r\n\t}", "public String getNome()\r\n\t{\r\n\t\treturn nome;\r\n\t}", "public String getNome() {\r\n return nome;\r\n }", "public String getNome() {\r\n return nome;\r\n }", "Strin...
[ "0.72566915", "0.72546786", "0.72546786", "0.7225827", "0.7225827", "0.7215542", "0.7169959", "0.7135779", "0.7135779", "0.7135779", "0.7135779", "0.7135779", "0.7135779", "0.71015894", "0.709411", "0.7092648", "0.70561177", "0.70561177", "0.70561177", "0.70561177", "0.705611...
0.71255857
14
dummy implementation do nothing
@Override protected void onHubRequest(Tuple input) throws Exception { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void dummyTest(){}", "public static void dummyTest(){}", "public void doNothing(){\n\t}", "public static void doNothing(){\n\t}", "public void doit() {\n // Do nothing\n }", "public void testDummy() {\n }", "public void testDummy() {\n }", "public void testDummy()\n {\n ...
[ "0.7298949", "0.7298949", "0.7265471", "0.70656544", "0.6671524", "0.6546154", "0.6478657", "0.64328635", "0.6235061", "0.62333435", "0.62195814", "0.616767", "0.6160684", "0.6112396", "0.6063163", "0.60586023", "0.60532", "0.60100365", "0.60083914", "0.60034335", "0.60026014...
0.0
-1
dummy implementation do nothing
@Override protected void onRequestTimeout(Tuple request) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void dummyTest(){}", "public static void dummyTest(){}", "public void doNothing(){\n\t}", "public static void doNothing(){\n\t}", "public void doit() {\n // Do nothing\n }", "public void testDummy() {\n }", "public void testDummy() {\n }", "public void testDummy()\n {\n ...
[ "0.7298949", "0.7298949", "0.7265471", "0.70656544", "0.6671524", "0.6546154", "0.6478657", "0.64328635", "0.6235061", "0.62333435", "0.62195814", "0.616767", "0.6160684", "0.6112396", "0.6063163", "0.60586023", "0.60532", "0.60100365", "0.60083914", "0.60034335", "0.60026014...
0.0
-1
Return type metadata object
public static org.apache.axis.description.TypeDesc getTypeDesc() { return typeDesc; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public MetadataType getType();", "public MetadataType getType() {\n return type;\n }", "public MilanoTypeMetadata.TypeMetadata getMetadata()\n {\n if (typeMetadata == null) {\n return null;\n }\n\n return typeMetadata;\n }", "private Metadata getMetadata(RubyModule type)...
[ "0.7969707", "0.7373198", "0.7358018", "0.7090138", "0.67353225", "0.67259765", "0.66725683", "0.65644145", "0.6543223", "0.6543223", "0.6543223", "0.6543223", "0.6543223", "0.6543223", "0.6543223", "0.6543223", "0.6543223", "0.6543223", "0.6543223", "0.6543223", "0.6543223",...
0.0
-1
Method is for generating the graph and creating the html file
public void summaryReport() { String strTimeStamp = new SimpleDateFormat("yyyy-MM-dd-HH-mm-ss").format(new Date()); String reportPath = new File("Report").getAbsolutePath(); int stepPassed = 0; int stepFailed = 0; String cssData = ""; try { String cssPath = new File("Report\\Style\\style.css")...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RenderGraph(){\n \n \t\tString[] a = this.tibbr_url.split(\"//\");\n \t\tString[] url = a[1].split(\".t\"); // assumes the URL is *.tibbr.*\n \n \t\t//String date = new SimpleDateFormat(\"dd-MM-yyyy\").format(new Date());\n \t\t//filename = b[0]+ \"_graph_\" +date+ \".csv\";\n \t\tfilename = url[0]+ \"_grap...
[ "0.692109", "0.6485291", "0.6351136", "0.6318519", "0.6281805", "0.624743", "0.62201583", "0.61885726", "0.6082799", "0.59746885", "0.5963224", "0.59524834", "0.5927602", "0.59079456", "0.58660984", "0.5860295", "0.5838133", "0.5802584", "0.5792403", "0.57844996", "0.57817733...
0.53736067
75
Method is used for printing the values of test steps
public void detailReport() { int testStepId = 1; strBufferReportAppend.append( "<tr><td><table class=\"width100\"><tr><td><div class=\"headertext1 bold\">Test Execution Detail Report</div></td></tr>"); strBufferReportAppend.append( "<tr><td><div class=\"headertext1 bold\">Execution Browser Name: "+ ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void printResults() {\n\t\tfor (Test test : tests) {\n\t\t\ttest.printResults();\n\t\t}\n\t}", "public void displayResults() {\r\n Preferences.debug(\" ******* FitMultiExponential ********* \\n\\n\", Preferences.DEBUG_ALGORITHM);\r\n dumpTestResults();\r\n }", "public void printSteps()...
[ "0.6839242", "0.676605", "0.652712", "0.6510785", "0.6499701", "0.64954495", "0.64795136", "0.64301956", "0.6378914", "0.6351019", "0.635081", "0.631626", "0.6285529", "0.62763405", "0.626816", "0.626816", "0.62564373", "0.6231116", "0.62066686", "0.61958766", "0.6183701", ...
0.0
-1
Format of trace list
public interface TraceListFormat{ String getSuffix(); /** * Read trace list from a file * * @param file the file * @return the trace list * @throws IOException */ TraceList read(File file) throws IOException; /** * Save trace list to a file * * @param traceList trace list * @param file the file ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public TraceFormatting getTraceFormatting() {\n return traces;\n }", "public String toStringPrologFormatListLo()\r\n\t{\n\t\t\r\n\t\tString output = \"[\";\r\n\r\n\t\tfor (Location lo : this.listLocation)\r\n\t\t{\r\n\t\t\toutput += lo.LocationToStringPrologFormat();\r\n\t\t\toutput += \",\";\r\n\t\t}\r\n\...
[ "0.63570493", "0.57942504", "0.5759261", "0.574316", "0.5725422", "0.57049274", "0.5618752", "0.5616596", "0.560079", "0.5586707", "0.55782735", "0.55756265", "0.55632347", "0.54836065", "0.54740673", "0.5465612", "0.5459224", "0.54492843", "0.5439542", "0.54308116", "0.53911...
0.5678715
6
Read trace list from a file
TraceList read(File file) throws IOException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static TraceList readFrom(File file) throws IOException{\n\t\tString fileName=file.getName();\n\t\tString formatName=fileName.contains(\".\")?fileName.substring(fileName.indexOf('.')+1):\"png\";\n\t\tfor(TraceListFormat next:ServiceLoader.load(TraceListFormat.class)){\n\t\t\tif(formatName.endsWith(next.getS...
[ "0.7225879", "0.63035315", "0.6273014", "0.6177771", "0.6143089", "0.6103436", "0.60649616", "0.6046176", "0.59592754", "0.59097344", "0.5907945", "0.5907945", "0.5844039", "0.583268", "0.5798279", "0.57859915", "0.57737416", "0.5765365", "0.57642907", "0.575511", "0.57358325...
0.93100727
0
Save trace list to a file
void write(TraceList traceList,File file) throws IOException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void writeTrace()\r\n {\r\n TGCreator creator = new TGCreator();\r\n TGTrace trace = creator.createTrace(JVM.getVM(), this.stateGraph);\r\n TraceGraphWriter tgWriter = new TraceGraphWriter(trace);\r\n\r\n if (this.traceCompressed)\r\n {\r\n this.filename += ITraceConstant...
[ "0.6976458", "0.6780514", "0.6712326", "0.6698151", "0.6583289", "0.651682", "0.64076895", "0.6385375", "0.63649875", "0.6343354", "0.6299355", "0.6261202", "0.6203979", "0.61540854", "0.6133156", "0.61277026", "0.61256206", "0.61106", "0.6107782", "0.60980153", "0.6097098", ...
0.81654656
0
Read trace list from a file
public static TraceList readFrom(File file) throws IOException{ String fileName=file.getName(); String formatName=fileName.contains(".")?fileName.substring(fileName.indexOf('.')+1):"png"; for(TraceListFormat next:ServiceLoader.load(TraceListFormat.class)){ if(formatName.endsWith(next.getSuffix())){ return ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "TraceList read(File file) throws IOException;", "public static ArrayList<MonitoredData> readFileData(){\n ArrayList<MonitoredData> data = new ArrayList<>();\n List<String> lines = new ArrayList<>();\n try (Stream<String> stream = Files.lines(Paths.get(\"Activities.txt\"))) {\n ...
[ "0.93100727", "0.63035315", "0.6273014", "0.6177771", "0.6143089", "0.6103436", "0.60649616", "0.6046176", "0.59592754", "0.59097344", "0.5907945", "0.5907945", "0.5844039", "0.583268", "0.5798279", "0.57859915", "0.57737416", "0.5765365", "0.57642907", "0.575511", "0.5735832...
0.7225879
1
Save trace list to a file
public static void writeTo(TraceList traceList,File file) throws IOException{ String fileName=file.getName(); String formatName=fileName.contains(".")?fileName.substring(fileName.indexOf('.')+1):"png"; for(TraceListFormat next:ServiceLoader.load(TraceListFormat.class)){ if(formatName.endsWith(next.getSuffix())...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void write(TraceList traceList,File file) throws IOException;", "private void writeTrace()\r\n {\r\n TGCreator creator = new TGCreator();\r\n TGTrace trace = creator.createTrace(JVM.getVM(), this.stateGraph);\r\n TraceGraphWriter tgWriter = new TraceGraphWriter(trace);\r\n\r\n if (this.trac...
[ "0.81654656", "0.6976458", "0.6780514", "0.6712326", "0.6583289", "0.651682", "0.64076895", "0.6385375", "0.63649875", "0.6343354", "0.6299355", "0.6261202", "0.6203979", "0.61540854", "0.6133156", "0.61277026", "0.61256206", "0.61106", "0.6107782", "0.60980153", "0.6097098",...
0.6698151
4
Helper binding method for function: debug_getMachineType.
public static final SourceModel.Expr debug_getMachineType(SourceModel.Expr calValue) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.debug_getMachineType), calValue}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getMachineType();", "MachineType getType();", "com.google.protobuf.ByteString getMachineTypeBytes();", "public MachineType getMachineType() {\n return machineType;\n }", "public com.flexnet.opsembedded.webservices.DeviceMachineTypeQueryType getMachineType() {\n return mach...
[ "0.8389934", "0.77487195", "0.74681294", "0.71882504", "0.6974482", "0.6913132", "0.6430879", "0.6376484", "0.60244334", "0.60244334", "0.60244334", "0.60244334", "0.60244334", "0.60244334", "0.60244334", "0.60244334", "0.60244334", "0.60244334", "0.60244334", "0.60244334", "...
0.7245324
3
Helper binding method for function: executionContext_addTracedFunction.
public static final SourceModel.Expr executionContext_addTracedFunction(SourceModel.Expr executionContext, SourceModel.Expr tracedFunction) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.executionContext_addTracedFunction), executionContext, tracedFu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static final SourceModel.Expr executionContext_getTracedFunctions(SourceModel.Expr executionContext) {\n\t\t\treturn \n\t\t\t\tSourceModel.Expr.Application.make(\n\t\t\t\t\tnew SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.executionContext_getTracedFunctions), executionContext});\n\t\t}", "publi...
[ "0.6274561", "0.5896189", "0.5402555", "0.5350891", "0.52297455", "0.4908374", "0.48886186", "0.48541057", "0.48353902", "0.4747615", "0.4707457", "0.469301", "0.46898592", "0.46835306", "0.46816653", "0.46757457", "0.4662335", "0.46209583", "0.45973668", "0.45965627", "0.456...
0.8096004
0
Helper binding method for function: executionContext_getTracedFunctions.
public static final SourceModel.Expr executionContext_getTracedFunctions(SourceModel.Expr executionContext) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.executionContext_getTracedFunctions), executionContext}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static final SourceModel.Expr executionContext_addTracedFunction(SourceModel.Expr executionContext, SourceModel.Expr tracedFunction) {\n\t\t\treturn \n\t\t\t\tSourceModel.Expr.Application.make(\n\t\t\t\t\tnew SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.executionContext_addTracedFunction), execut...
[ "0.61382395", "0.5878982", "0.57693535", "0.56391466", "0.5590145", "0.55480224", "0.5510028", "0.5448403", "0.5408329", "0.5327493", "0.5214111", "0.5212591", "0.5156165", "0.51482785", "0.5139614", "0.5083922", "0.49869537", "0.49809936", "0.49153724", "0.4907948", "0.49001...
0.8269877
0
Helper binding method for function: executionContext_isTracingEnabled.
public static final SourceModel.Expr executionContext_isTracingEnabled(SourceModel.Expr executionContext) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.executionContext_isTracingEnabled), executionContext}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isTracing();", "public static boolean isTracing() {\n return Trace.isTracing();\n }", "public static final SourceModel.Expr executionContext_setTracingEnabled(SourceModel.Expr executionContext, SourceModel.Expr tracingEnabled) {\n\t\t\treturn \n\t\t\t\tSourceModel.Expr.Application.make...
[ "0.7689879", "0.70224583", "0.6640658", "0.6574229", "0.62392133", "0.6218444", "0.61472106", "0.6085125", "0.5921332", "0.59202164", "0.5686969", "0.56802976", "0.5645893", "0.54814065", "0.54814065", "0.545605", "0.53301626", "0.52788067", "0.52476096", "0.52197826", "0.518...
0.8225835
0
Helper binding method for function: executionContext_removeTracedFunction.
public static final SourceModel.Expr executionContext_removeTracedFunction(SourceModel.Expr executionContext, SourceModel.Expr tracedFunction) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.executionContext_removeTracedFunction), executionContext, tr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void removeFunction(Address entryPoint);", "void removeExecution(ExecutionContext context, int exeId) throws ExecutorException;", "public void removeFunction(Function function) {\n removeFunction(function.getFullName());\n }", "public void removeTableValuedFunction(TableValuedFunction tvf) {\n ...
[ "0.64926463", "0.5609273", "0.5548885", "0.5546025", "0.5408249", "0.54052556", "0.53196585", "0.53050864", "0.52155316", "0.51428413", "0.50841635", "0.5056882", "0.50183505", "0.50055426", "0.49787933", "0.4929747", "0.49094734", "0.4887329", "0.48637745", "0.48340073", "0....
0.7994612
0
Helper binding method for function: executionContext_setTraceShowsFunctionArgs.
public static final SourceModel.Expr executionContext_setTraceShowsFunctionArgs(SourceModel.Expr executionContext, SourceModel.Expr traceShowsFunctionArgs) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.executionContext_setTraceShowsFunctionArgs), ex...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static final SourceModel.Expr executionContext_traceShowsFunctionArgs(SourceModel.Expr executionContext) {\n\t\t\treturn \n\t\t\t\tSourceModel.Expr.Application.make(\n\t\t\t\t\tnew SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.executionContext_traceShowsFunctionArgs), executionContext});\n\t\t}", ...
[ "0.7885293", "0.5365259", "0.52531993", "0.51266474", "0.5055804", "0.48241544", "0.48000586", "0.47960654", "0.47666302", "0.47236007", "0.4717944", "0.4696216", "0.46817666", "0.4653976", "0.45468023", "0.45207992", "0.45007795", "0.44506362", "0.43894494", "0.43663427", "0...
0.78324395
1
Helper binding method for function: executionContext_setTraceShowsThreadName.
public static final SourceModel.Expr executionContext_setTraceShowsThreadName(SourceModel.Expr executionContext, SourceModel.Expr traceShowsThreadName) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.executionContext_setTraceShowsThreadName), executio...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static final SourceModel.Expr executionContext_traceShowsThreadName(SourceModel.Expr executionContext) {\n\t\t\treturn \n\t\t\t\tSourceModel.Expr.Application.make(\n\t\t\t\t\tnew SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.executionContext_traceShowsThreadName), executionContext});\n\t\t}", "p...
[ "0.80727684", "0.61878103", "0.5897184", "0.5887313", "0.5814786", "0.5659874", "0.5592923", "0.55454445", "0.52298087", "0.51553714", "0.5142629", "0.5078319", "0.5064243", "0.5046334", "0.503718", "0.50124466", "0.5004418", "0.49950638", "0.49707085", "0.49133858", "0.49047...
0.7665482
1
Helper binding method for function: executionContext_setTracingEnabled.
public static final SourceModel.Expr executionContext_setTracingEnabled(SourceModel.Expr executionContext, SourceModel.Expr tracingEnabled) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.executionContext_setTracingEnabled), executionContext, tracingE...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static final SourceModel.Expr executionContext_isTracingEnabled(SourceModel.Expr executionContext) {\n\t\t\treturn \n\t\t\t\tSourceModel.Expr.Application.make(\n\t\t\t\t\tnew SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.executionContext_isTracingEnabled), executionContext});\n\t\t}", "public bo...
[ "0.7568947", "0.6207013", "0.5437785", "0.5429976", "0.5420926", "0.54156244", "0.5334572", "0.52976674", "0.5269451", "0.52611405", "0.52520645", "0.50883543", "0.50681615", "0.5035892", "0.49986565", "0.4972557", "0.49013102", "0.49008912", "0.48942354", "0.48662326", "0.48...
0.8029492
0
Helper binding method for function: executionContext_traceShowsFunctionArgs.
public static final SourceModel.Expr executionContext_traceShowsFunctionArgs(SourceModel.Expr executionContext) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.executionContext_traceShowsFunctionArgs), executionContext}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static final SourceModel.Expr executionContext_setTraceShowsFunctionArgs(SourceModel.Expr executionContext, SourceModel.Expr traceShowsFunctionArgs) {\n\t\t\treturn \n\t\t\t\tSourceModel.Expr.Application.make(\n\t\t\t\t\tnew SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.executionContext_setTraceSh...
[ "0.7376101", "0.5184134", "0.50752467", "0.49678782", "0.494467", "0.48342982", "0.46943933", "0.46837214", "0.45943138", "0.45730838", "0.45303565", "0.44887903", "0.4472373", "0.44471803", "0.4439134", "0.4416239", "0.4410467", "0.4343856", "0.43182656", "0.4311919", "0.430...
0.84478384
0
Helper binding method for function: executionContext_traceShowsThreadName.
public static final SourceModel.Expr executionContext_traceShowsThreadName(SourceModel.Expr executionContext) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.executionContext_traceShowsThreadName), executionContext}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static final SourceModel.Expr executionContext_setTraceShowsThreadName(SourceModel.Expr executionContext, SourceModel.Expr traceShowsThreadName) {\n\t\t\treturn \n\t\t\t\tSourceModel.Expr.Application.make(\n\t\t\t\t\tnew SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.executionContext_setTraceShowsT...
[ "0.7102794", "0.66179633", "0.64969426", "0.64751506", "0.62569463", "0.6002296", "0.60017794", "0.59510595", "0.5642172", "0.56358683", "0.5564901", "0.55187327", "0.54961514", "0.5474387", "0.54658395", "0.5378409", "0.5347777", "0.53313357", "0.52804065", "0.52319837", "0....
0.8645438
0
Helper binding method for function: inputMachineType.
public static final SourceModel.Expr inputMachineType(SourceModel.Expr jMachineType) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.inputMachineType), jMachineType}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "MachineType getType();", "java.lang.String getMachineType();", "public IInputType[] getInputTypes();", "@Override final protected Class<?>[] getInputTypes() { return this.InputTypes; }", "public static final SourceModel.Expr inputMachineTypeFromJObject(SourceModel.Expr jMachineType) {\n\t\t\treturn \...
[ "0.6572323", "0.65385526", "0.60818064", "0.6060549", "0.58987075", "0.5761566", "0.57220715", "0.5695889", "0.5653232", "0.5651242", "0.5636268", "0.5613717", "0.5605001", "0.55631083", "0.53744596", "0.5291722", "0.5280911", "0.5211612", "0.51972526", "0.5181559", "0.517550...
0.68949103
0
Helper binding method for function: inputMachineTypeFromJObject.
public static final SourceModel.Expr inputMachineTypeFromJObject(SourceModel.Expr jMachineType) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.inputMachineTypeFromJObject), jMachineType}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static final SourceModel.Expr inputMachineType(SourceModel.Expr jMachineType) {\n\t\t\treturn \n\t\t\t\tSourceModel.Expr.Application.make(\n\t\t\t\t\tnew SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.inputMachineType), jMachineType});\n\t\t}", "public static final SourceModel.Expr outputMachineT...
[ "0.6688154", "0.59040064", "0.56743425", "0.55006015", "0.54932225", "0.5467956", "0.531633", "0.52635676", "0.522017", "0.51942277", "0.5181293", "0.51054585", "0.50364816", "0.50345206", "0.50087327", "0.4986559", "0.4983542", "0.49763986", "0.4937073", "0.4926449", "0.4920...
0.7799839
0
Helper binding method for function: internalValueStatsHelper.
public static final SourceModel.Expr internalValueStatsHelper(SourceModel.Expr calValue) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.internalValueStatsHelper), calValue}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public StatValues stats() {\n this.stats.setStatsHolder(this);\n return stats;\n }", "Stats<Double> stats();", "public Object getValue() {\n synchronized (mutex) {\n return statisticsAccumulator.getValue();\n }\n }", "@Test\n public void testInvokeStatsValueMet...
[ "0.6167493", "0.6145103", "0.5763962", "0.56734115", "0.56537753", "0.5643965", "0.5640766", "0.5605858", "0.55692744", "0.5533455", "0.5516439", "0.55079424", "0.54604995", "0.5453717", "0.5453313", "0.5452031", "0.54479134", "0.5423711", "0.5389166", "0.5360907", "0.5355102...
0.72352415
0
Helper binding method for function: jMachineType_G.
public static final SourceModel.Expr jMachineType_G() { return SourceModel.Expr.Var.make(Functions.jMachineType_G); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getMachineType();", "MachineType getType();", "public static final SourceModel.Expr inputMachineType(SourceModel.Expr jMachineType) {\n\t\t\treturn \n\t\t\t\tSourceModel.Expr.Application.make(\n\t\t\t\t\tnew SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.inputMachineType), jMachineTyp...
[ "0.6166549", "0.60491055", "0.5803279", "0.57732326", "0.56406623", "0.56369853", "0.55361354", "0.5511575", "0.54274344", "0.535505", "0.5252896", "0.5237645", "0.52256125", "0.5225285", "0.52208084", "0.51942563", "0.5167848", "0.516106", "0.51493424", "0.5143517", "0.51325...
0.78596103
0
Helper binding method for function: jMachineType_Lecc.
public static final SourceModel.Expr jMachineType_Lecc() { return SourceModel.Expr.Var.make(Functions.jMachineType_Lecc); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getCclmsTrainType();", "static int type_of_lhld(String passed){\n\t\treturn 1;\n\t}", "static int type_of_pchl(String passed){\n\t\treturn 1;\n\t}", "static int type_of_rlc(String passed){\n\t\treturn 1;\n\t}", "java.lang.String getMachineType();", "void mo4874b(C4718l c4718l);", "MachineType getTy...
[ "0.5429636", "0.54252416", "0.54085344", "0.53953636", "0.529308", "0.52642584", "0.518094", "0.5157501", "0.513137", "0.5118835", "0.509342", "0.50820404", "0.5035909", "0.50230503", "0.5022585", "0.49991783", "0.49719572", "0.49611986", "0.4916127", "0.49106592", "0.4910502...
0.79615295
0
Helper binding method for function: jPrintToStandardOut.
public static final SourceModel.Expr jPrintToStandardOut(SourceModel.Expr message) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.jPrintToStandardOut), message}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static void print (Object output){\r\n \t\tSystem.out.println(output);\r\n \t}", "static native int jniPrint(long patch, JJJCallback printCb);", "@VisibleForTesting\n void print();", "@Override\r\n\tpublic void print() {\n\t}", "void PrintOnScreen(String toPrnt);", "public void print();", "public void...
[ "0.61085284", "0.6044603", "0.6017632", "0.6005608", "0.59946084", "0.59806687", "0.59806687", "0.59806687", "0.59806687", "0.59789234", "0.597252", "0.5964834", "0.5944649", "0.5922603", "0.5913839", "0.5906112", "0.58869493", "0.5862034", "0.58153474", "0.580998", "0.580848...
0.66428566
0
Helper binding method for function: outputMachineTypeToJObject.
public static final SourceModel.Expr outputMachineTypeToJObject(SourceModel.Expr machineType) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.outputMachineTypeToJObject), machineType}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static final SourceModel.Expr inputMachineTypeFromJObject(SourceModel.Expr jMachineType) {\n\t\t\treturn \n\t\t\t\tSourceModel.Expr.Application.make(\n\t\t\t\t\tnew SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.inputMachineTypeFromJObject), jMachineType});\n\t\t}", "java.lang.String getMachineTy...
[ "0.63546884", "0.6009423", "0.5639588", "0.55734736", "0.5556473", "0.55420953", "0.5480474", "0.5429729", "0.53507406", "0.53324705", "0.52690876", "0.5221685", "0.52054405", "0.516994", "0.51480496", "0.5141712", "0.51302207", "0.5108381", "0.51079255", "0.5100157", "0.5080...
0.79498553
0
Calculates the difference between two values as a percentage of the first value and rounds the result to two decimal places.
public static final SourceModel.Expr percentDif(SourceModel.Expr x, SourceModel.Expr y) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.percentDif), x, y}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String calcularPercentual(String valor1, String valor2) {\r\n\r\n\t\tBigDecimal bigValor1 = new BigDecimal(valor1);\r\n\t\tBigDecimal bigValor2 = new BigDecimal(valor2 != null ? valor2 : \"1\");\r\n\r\n\t\tBigDecimal numeroCem = new BigDecimal(\"100\");\r\n\r\n\t\tBigDecimal primeiroNumero = bigValor...
[ "0.6884383", "0.6859069", "0.6714448", "0.65715855", "0.6557923", "0.64874864", "0.6418158", "0.64068645", "0.63107616", "0.61727923", "0.61386544", "0.6120742", "0.61189413", "0.6110688", "0.6059881", "0.60598546", "0.60487723", "0.59870625", "0.59766364", "0.59717304", "0.5...
0.6515993
5
Helper binding method for function: showBoolean.
public static final SourceModel.Expr showBoolean(SourceModel.Expr x) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showBoolean), x}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Boolean getIsShow() {\n return isShow;\n }", "public String toString() { return this.booleanValue; }", "public Boolean getIsShow () {\r\n\t\treturn isShow;\r\n\t}", "public boolean getBoolean();", "boolean getBoolValue();", "boolean getBoolValue();", "boolean getBoolean();", "boolean...
[ "0.6890811", "0.685135", "0.6702358", "0.6613925", "0.65847677", "0.65847677", "0.65163255", "0.65163255", "0.6421317", "0.63794935", "0.6340889", "0.6340889", "0.6269553", "0.6227228", "0.62111944", "0.6209958", "0.6209958", "0.6203317", "0.6128113", "0.61185014", "0.6115144...
0.7244866
0
Used for derived Show instances for foreign types with implementation type byte.
public static final SourceModel.Expr showByte(SourceModel.Expr b) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showByte), b}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private ClassInstance checkDerivedShowInstance(TypeConstructor typeCons,\r\n TypeConsApp instanceType,\r\n TypeClass typeClass, SourceRange position) throws UnableToResolveForeignEntityException {\r\n \r\n if (!typeClass.getName().equals(CAL_Debug.TypeClasses.Show)) {\r\n ...
[ "0.64424825", "0.60497653", "0.5864704", "0.5741047", "0.5709337", "0.56611705", "0.5613557", "0.55948037", "0.55666405", "0.556174", "0.55397636", "0.55092186", "0.5451154", "0.5450074", "0.5434963", "0.5418103", "0.53782654", "0.53782654", "0.53782654", "0.53782654", "0.537...
0.5705133
5
handles the case where the Decimal object is null
public static final SourceModel.Expr showDecimal(SourceModel.Expr decimalValue) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showDecimal), decimalValue}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(expected = NullPointerException.class)\n public void formatDecimalNullInputTest() {\n Double number = null;\n Format.formatDecimal(number);\n }", "public static BigDecimal nullEmptyToValue(BigDecimal b,BigDecimal theValue)\n {\n if(isEmptyDecimal(b))\n {\n\t return theValue;\n ...
[ "0.73344064", "0.6528474", "0.6236375", "0.6139227", "0.61331064", "0.61125857", "0.6099235", "0.6088805", "0.60122645", "0.59888047", "0.5972385", "0.5971663", "0.5948347", "0.5906692", "0.5883583", "0.58599544", "0.5801096", "0.57774264", "0.57746035", "0.57659364", "0.5754...
0.0
-1
Helper binding method for function: showDefault.
public static final SourceModel.Expr showDefault(SourceModel.Expr arg_1) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showDefault), arg_1}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "default void show1() {\n \tSystem.out.println(\"show default\");\n }", "default void show1() {\n\t\t\n\t\t\n\t}", "default String display() { //just wanted to try out default methods we learned in class here-- abstract format below\r\n\t\treturn \"Nothing to show here\";\r\n\t}", "default void display1...
[ "0.6934141", "0.6772052", "0.64911526", "0.62968016", "0.6013349", "0.58969694", "0.58470225", "0.5825005", "0.5793462", "0.5793462", "0.5793462", "0.5793462", "0.5793462", "0.5793462", "0.5793462", "0.5793462", "0.5793462", "0.5793462", "0.5793462", "0.5793462", "0.5793462",...
0.7146568
0
Used for derived Show instances for foreign types with implementation type double.
public static final SourceModel.Expr showDouble(SourceModel.Expr d) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showDouble), d}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isDouble() {\n return false;\n }", "@Override\n public Class getValueType() {\n return Double.class;\n }", "public boolean isDouble();", "@ZenCodeType.Caster\n @ZenCodeType.Method\n default double asDouble() {\n \n return notSupportedCast(BasicTypeID.DOUBLE);...
[ "0.64828396", "0.6317314", "0.6281497", "0.62051857", "0.60896564", "0.60812217", "0.6054944", "0.60519755", "0.6034909", "0.5991163", "0.5951748", "0.59403753", "0.5783705", "0.5730044", "0.5721974", "0.5661323", "0.5631465", "0.56078583", "0.55584824", "0.5557368", "0.55523...
0.6373368
1
Helper binding method for function: showEither.
public static final SourceModel.Expr showEither(SourceModel.Expr x) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showEither), x}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic Void visit(Either either) throws RuntimeException {\n\t\treturn null;\n\t}", "public String toString() {\n String leftstring = _left.toString();\n String rightstring = _right.toString();\n \n String left;\n if (_left.isArrowType()) left = \"(\" + leftstring + \")\";\n else i...
[ "0.51507556", "0.49519065", "0.48616832", "0.4828834", "0.48079348", "0.47343567", "0.46804583", "0.45973903", "0.45879963", "0.45874292", "0.45342854", "0.44999626", "0.44891426", "0.44750202", "0.44668576", "0.44531322", "0.44472125", "0.44055322", "0.44037762", "0.44000128",...
0.7125176
0
Used for derived Show instances for foreign types with implementation type float.
public static final SourceModel.Expr showFloat(SourceModel.Expr f) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showFloat), f}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void fishfloat()\n\t{\n\t\tSystem.out.println(super.getName() + \" is floating\");\n\n\t}", "public interface FloatView {\n}", "@Override\r\n\tpublic String toString() {\n\t\treturn \"float\";\r\n\t}", "@Override\r\n\tpublic boolean isFloat() {\r\n\t\treturn isFloatType;\r\n\t}", "@Over...
[ "0.72231287", "0.67298084", "0.67031854", "0.6553854", "0.6543649", "0.652186", "0.6442946", "0.6311702", "0.6047344", "0.6035343", "0.60234404", "0.6013965", "0.6008893", "0.594801", "0.5944942", "0.58899", "0.58826226", "0.58767194", "0.58758163", "0.5862823", "0.57710874",...
0.6246038
8
Used for derived Show instances for foreign types with implementation type boolean.
public static final SourceModel.Expr showForeignBoolean(SourceModel.Expr b) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showForeignBoolean), b}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Boolean getIsShow() {\n return isShow;\n }", "public String toString() { return this.booleanValue; }", "public Boolean getIsShow () {\r\n\t\treturn isShow;\r\n\t}", "private ClassInstance checkDerivedShowInstance(TypeConstructor typeCons,\r\n TypeConsApp instanceType,\r\n ...
[ "0.6529849", "0.6317434", "0.62891996", "0.6252342", "0.62274367", "0.6136528", "0.6136079", "0.61106014", "0.6109415", "0.60619533", "0.60187495", "0.5973206", "0.59298265", "0.5895005", "0.58915573", "0.58876765", "0.5868255", "0.58576334", "0.5853775", "0.58336014", "0.583...
0.62151116
5
Used for derived Show instances for foreign types with implementation type char.
public static final SourceModel.Expr showForeignChar(SourceModel.Expr c) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showForeignChar), c}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void show() {\n\t\tSystem.out.println(\"´ó¿ãñÃ\");\n\t}", "protected abstract String getDefaultDisplayTypeStringRepresentation();", "@Override\n\tpublic void show() {\n\t\tSystem.out.println(\"´óTÐô\");\n\t}", "public String getDisplayType();", "protected abstract String display();", ...
[ "0.66500956", "0.66024154", "0.63316554", "0.62281334", "0.60719097", "0.60561097", "0.594407", "0.5932125", "0.5871253", "0.58499986", "0.5824632", "0.5814559", "0.58055407", "0.577659", "0.5763333", "0.5751813", "0.5705027", "0.5663069", "0.564513", "0.56221396", "0.5605894...
0.63077086
3
Used for derived Show instances for foreign types with implementation type int.
public static final SourceModel.Expr showInt(SourceModel.Expr i) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showInt), i}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String toString() {\r\n return \"Type: Integer\";\r\n }", "private ClassInstance checkDerivedShowInstance(TypeConstructor typeCons,\r\n TypeConsApp instanceType,\r\n TypeClass typeClass, SourceRange position) throws UnableToResolveForeignEntityException {\r\n \r\n i...
[ "0.62181944", "0.5797836", "0.5725934", "0.5632403", "0.56085265", "0.5601579", "0.5596933", "0.55795306", "0.5559585", "0.5558448", "0.54110616", "0.5369811", "0.5369163", "0.5363277", "0.5355303", "0.5342715", "0.53357357", "0.5314519", "0.5265943", "0.5263823", "0.52372646...
0.6125213
1
handles the case where the Integer object is null
public static final SourceModel.Expr showInteger(SourceModel.Expr integerValue) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showInteger), integerValue}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public T caseIntegerValue(IntegerValue object) {\n\t\treturn null;\n\t}", "public static int nullToZero(Integer i)\n {\n if(i == null)\n {\n return 0;\n }\n else\n {\n return i.intValue();\n }\n }", "int checkNull(int value) {\n return (value != Tables.INTNULL ? value : 0);\n }", "private...
[ "0.70245254", "0.6948148", "0.6934355", "0.69327134", "0.6570469", "0.6544975", "0.64241976", "0.63765764", "0.6364279", "0.63539577", "0.633356", "0.6273749", "0.6233927", "0.62009996", "0.6151063", "0.6131733", "0.60955644", "0.6089887", "0.60565215", "0.6007512", "0.598201...
0.0
-1
Helper binding method for function: showInternalValue.
public static final SourceModel.Expr showInternalValue(SourceModel.Expr calValue) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showInternalValue), calValue}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String displayValue();", "public String shortRepr() {\n\t\treturn \"Value of some kind.\";\n\t}", "abstract public String getDisplayValue(String fieldname);", "public java.lang.String getFieldShowValue() {\n return fieldShowValue;\n }", "public String getDisplayValue() {\n return displayVa...
[ "0.6742314", "0.62984425", "0.6294255", "0.62523454", "0.6183244", "0.61216795", "0.6119047", "0.61035424", "0.6077037", "0.6033257", "0.60319674", "0.60315484", "0.60236585", "0.601354", "0.6013155", "0.60091406", "0.5991114", "0.59878063", "0.59449565", "0.5923025", "0.5911...
0.69493216
0
Helper binding method for function: showInternalValueGraph.
public static final SourceModel.Expr showInternalValueGraph(SourceModel.Expr calValue) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showInternalValueGraph), calValue}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void show() {\n super.show(color, value.toString());\n }", "public static final SourceModel.Expr showInternalValue(SourceModel.Expr calValue) {\n\t\t\treturn \n\t\t\t\tSourceModel.Expr.Application.make(\n\t\t\t\t\tnew SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showInternalValue), ca...
[ "0.6067163", "0.60297614", "0.5979606", "0.5952236", "0.59142995", "0.56436723", "0.56240404", "0.5609546", "0.56074375", "0.55749935", "0.557229", "0.5560749", "0.55244553", "0.551656", "0.5500548", "0.5497531", "0.5479174", "0.5470157", "0.5460459", "0.5445992", "0.5433351"...
0.74092126
0
handles the case where the JCollection object is null
public static final SourceModel.Expr showJCollection(SourceModel.Expr collection) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showJCollection), collection}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String getCollection() {\n\t\treturn null;\n\t}", "@Override\n\tpublic List<Object> getCollection() {\n\t\treturn null;\n\t}", "public static <T> Collection<T> requireNullOrNonEmpty(Collection<T> col) {\n if (col != null && col.isEmpty()) {\n throw new IllegalArgumentException();\n ...
[ "0.571623", "0.567407", "0.5609185", "0.54981256", "0.54686433", "0.53849757", "0.5315444", "0.5275888", "0.52662164", "0.5236601", "0.5208329", "0.5203731", "0.51627", "0.5103663", "0.50940806", "0.5092733", "0.5087688", "0.50577664", "0.5007347", "0.5000303", "0.49883264", ...
0.0
-1
handles the case where the JList object is null
public static final SourceModel.Expr showJList(SourceModel.Expr list) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showJList), list}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void loadJList()\n {\n if(!namesArray.isEmpty() && !tempArray.isEmpty())\n {\n Vector<String> displayVec = new Vector<>();\n for(int i = 0; i < namesArray.size(); i++)\n {\n displayVec.add(namesArray.get(i) + \" (\" + tempArray.get(i).get(0)\n...
[ "0.6213294", "0.5850278", "0.5762016", "0.5743063", "0.57077", "0.56260437", "0.562537", "0.5619628", "0.5600247", "0.55773616", "0.55384517", "0.553303", "0.55328476", "0.5513107", "0.5493311", "0.54917127", "0.5417067", "0.5387934", "0.5367349", "0.5367349", "0.5367349", ...
0.0
-1
handles the case where the JMap object is null
public static final SourceModel.Expr showJMap(SourceModel.Expr map) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showJMap), map}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public MapLocation getMap() {\n return null;\n }", "@Test\r\n public void testAllowNulls() {\r\n MapJsonRenderer renderer = new MapJsonRenderer(true);\r\n JSONStringer jsonWriter = new JSONStringer();\r\n jsonWriter.addRenderer(renderer);\r\n Map<String, Ob...
[ "0.6358105", "0.6067002", "0.589686", "0.5865279", "0.57765996", "0.5743113", "0.5714423", "0.5664334", "0.5634267", "0.56128067", "0.55682147", "0.5544604", "0.5542794", "0.5492212", "0.5492165", "0.5488887", "0.54788977", "0.5478156", "0.54607344", "0.5459354", "0.5442774",...
0.0
-1
Used for derived Show instances for foreign types with an object implementation type. note: we want to handle the null object values here without terminating in an error and thus don't implement as java.lang.Object.toString().
public static final SourceModel.Expr showJObject(SourceModel.Expr obj) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showJObject), obj}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String toString() {\n\t\treturn \"Object [name = \" + name.get() + \", typ = \" + typ.get() + \"]\";\n\t}", "@Override\n public String toString() {\n return metaObject.getType().toString();\n }", "public abstract String getObjectType();", "public Class getPreferredDisplayClass() {\n\...
[ "0.633485", "0.6296634", "0.60262984", "0.59903586", "0.5949171", "0.59372914", "0.5931336", "0.59125316", "0.59118193", "0.5904902", "0.57667947", "0.575641", "0.57551587", "0.5754417", "0.5729285", "0.5710496", "0.56973314", "0.5689204", "0.5579963", "0.5532818", "0.5514347...
0.53012323
65
Helper binding method for function: showList.
public static final SourceModel.Expr showList(SourceModel.Expr list) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showList), list}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic boolean showInList()\n\t{\n\t\treturn true;\n\t}", "@Override\r\n\tpublic void goToShowList() {\n\t\t\r\n\t}", "@Override\n public String getName() {\n return \"list\";\n }", "public void printList() {\n userListCtrl.showAll();\n }", "public void viewList() {\n\t\...
[ "0.7143884", "0.69862884", "0.66155237", "0.6468131", "0.6409471", "0.63323385", "0.6227706", "0.6143784", "0.61371005", "0.6125205", "0.6123151", "0.60831153", "0.604773", "0.60352546", "0.6026208", "0.59970117", "0.5954278", "0.59393555", "0.5938284", "0.5915428", "0.590126...
0.62739915
6
Used for derived Show instances for foreign types with implementation type long.
public static final SourceModel.Expr showLong(SourceModel.Expr i) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showLong), i}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private ClassInstance checkDerivedShowInstance(TypeConstructor typeCons,\r\n TypeConsApp instanceType,\r\n TypeClass typeClass, SourceRange position) throws UnableToResolveForeignEntityException {\r\n \r\n if (!typeClass.getName().equals(CAL_Debug.TypeClasses.Show)) {\r\n ...
[ "0.6013455", "0.5780857", "0.5610728", "0.55926794", "0.5437977", "0.53732544", "0.53542244", "0.53257334", "0.5287671", "0.5283226", "0.52672595", "0.52544737", "0.5244555", "0.5234144", "0.52007765", "0.51985824", "0.5190397", "0.5177548", "0.51535803", "0.51445585", "0.508...
0.61640114
0
Helper binding method for function: showMaybe.
public static final SourceModel.Expr showMaybe(SourceModel.Expr maybe) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showMaybe), maybe}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Optional<T> show();", "@Override\n public String toString() {\n StringBuilder b = new StringBuilder();\n boolean any = false;\n if (isUnknown()) {\n b.append(\"?\");\n any = true;\n } else if (isPolymorphic()) {\n b.append(\"^(\").append(var).append...
[ "0.68511945", "0.5601088", "0.5367622", "0.5237414", "0.51644576", "0.5102048", "0.50512594", "0.49762285", "0.49712926", "0.48742312", "0.48343405", "0.4833247", "0.4833247", "0.47743735", "0.4773326", "0.47502843", "0.4749854", "0.4740613", "0.47219196", "0.47099015", "0.47...
0.753744
0
Helper binding method for function: showOrdering.
public static final SourceModel.Expr showOrdering(SourceModel.Expr x) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showOrdering), x}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getSortOrder();", "java.lang.String getOrderBy();", "public String sortOrder();", "public void changeSortOrder();", "public final native String getOrderBy() /*-{\n return this.getOrderBy();\n }-*/;", "java.lang.String getOrderByDataItem();", "@FXML\n private void updateNameOrder(Acti...
[ "0.6608616", "0.6464334", "0.6407324", "0.6352793", "0.62738854", "0.6208542", "0.6171628", "0.60726535", "0.6040087", "0.6036559", "0.60194474", "0.5915465", "0.591034", "0.58577913", "0.580979", "0.58074415", "0.58074415", "0.5775538", "0.5768745", "0.576858", "0.574235", ...
0.6576934
1
Helper binding method for function: showRecord.
public static final SourceModel.Expr showRecord(SourceModel.Expr arg_1) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showRecord), arg_1}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract String showDetails();", "private void viewRecordButtonActionPerformed() {\n String uri = recordURIComboBox.getSelectedItem().toString();\n String recordJSON = \"\";\n\n try {\n if(aspaceClient == null) {\n String host = hostTextField.getText().trim()...
[ "0.5987324", "0.5973236", "0.58746356", "0.5866437", "0.573395", "0.5702158", "0.5658269", "0.5655508", "0.5655508", "0.56549805", "0.5571482", "0.556077", "0.5555938", "0.5519855", "0.5514097", "0.5456666", "0.5423868", "0.5413348", "0.54109794", "0.54068667", "0.5405791", ...
0.7201427
0
Used for derived Show instances for foreign types with implementation type short.
public static final SourceModel.Expr showShort(SourceModel.Expr s) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showShort), s}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@DerivedProperty\n\tString getShortRepresentation();", "@ZenCodeType.Caster\n @ZenCodeType.Method\n default short asShort() {\n \n return notSupportedCast(BasicTypeID.SHORT);\n }", "public boolean isShortTypes() {\n return shortTypes;\n }", "private ClassInstance checkDerived...
[ "0.65998423", "0.6340138", "0.63250375", "0.6274216", "0.62131876", "0.6122452", "0.6122452", "0.60518926", "0.60103506", "0.5874089", "0.58378875", "0.58234966", "0.56982327", "0.5698143", "0.56399524", "0.56399524", "0.56399524", "0.56399524", "0.56399524", "0.56399524", "0...
0.5937463
9
Helper binding method for function: showUnit.
public static final SourceModel.Expr showUnit(SourceModel.Expr x) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.showUnit), x}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getUnit();", "public String getUnit();", "public abstract String getUnit();", "public String getUnit()\n {\n return (this.unit);\n }", "public String getUnit () {\n\treturn this.unit;\n }", "public String getUnit() {\n return unit;\n }", "public String getUnit() {\n retu...
[ "0.7315407", "0.7287542", "0.6888019", "0.6876998", "0.6848171", "0.67548084", "0.67548084", "0.67548084", "0.6660635", "0.6619463", "0.6596904", "0.6530961", "0.65177506", "0.64882064", "0.64797705", "0.6479713", "0.6469852", "0.6466508", "0.63993514", "0.63886964", "0.63882...
0.7213491
2
Helper binding method for function: thread_sleep.
public static final SourceModel.Expr thread_sleep(SourceModel.Expr arg_1) { return SourceModel.Expr.Application.make( new SourceModel.Expr[] {SourceModel.Expr.Var.make(Functions.thread_sleep), arg_1}); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void sleep();", "void sleep();", "@Override\n\tpublic void sleep() {\n\t\t\n\t}", "void sleep ();", "public Integer threadDelay();", "void sleep()\r\n\t{\r\n\t\t\r\n\t}", "@Override\n\tpublic void sleeps() {\n\t\t\n\t}", "private void schedulerSleep() {\n\n\t\ttry {\n\n\t\t\tThread.sleep(timeSlice);\...
[ "0.7365317", "0.7365317", "0.71825373", "0.71709895", "0.71553713", "0.7140694", "0.7029595", "0.68651146", "0.6725352", "0.6696968", "0.66903794", "0.6567368", "0.6566056", "0.6537021", "0.65165776", "0.6508624", "0.6469546", "0.6466288", "0.64631015", "0.6437825", "0.640176...
0.73197997
2
Fill fields on screen
private void populateFields() { typeNameTF.setText(""); unitsTF.setText(""); unitMeasureTF.setText(""); validityDaysTF.setText(""); reorderPointTF.setText(""); notesTF.setText(""); statusCB.getItems().addAll("Active", "Inactive"); statusCB.setValue("Active"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void fillPanel(){\n\t\t\tcontent.setLayout(new GridLayout(9,1));\n\t\t\tcontent.setBackground(Color.BLACK);\n\t\t\tcontent.add(playerNameLabel);\n\t\t\tcontent.add(playerNameField);\n\t\t\tcontent.add(placeHolder);\n\t\t\tcontent.add(passwordLabel);\n\t\t\tcontent.add(passwordField);\n\t\t\tcontent.add(pas...
[ "0.6726592", "0.64971477", "0.6423237", "0.6411507", "0.6344272", "0.633189", "0.63022935", "0.62748086", "0.62638205", "0.6261554", "0.619842", "0.6181737", "0.61056924", "0.6055036", "0.60302395", "0.6022407", "0.5973922", "0.5966759", "0.5949615", "0.59414065", "0.5929742"...
0.61899763
11
Make the title of the screen
private Node createTitle() { Text titleText = new Text(" Restaurant Inventory Management "); titleText.setFont(Font.font("Arial", FontWeight.BOLD, 40)); titleText.setTextAlignment(TextAlignment.CENTER); return titleText; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void Title ()\n {\n\tTitle = new Panel ();\n\tTitle.setBackground (Color.white);\n\tchessboard (Title);\n\tp_screen.add (\"1\", Title);\n }", "public void display_title_screen() {\n parent.textAlign(CENTER);\n parent.textFont(myFont);\n parent.textSize(di...
[ "0.83266175", "0.80729204", "0.80280715", "0.745815", "0.7436448", "0.74241817", "0.7418924", "0.74181503", "0.74181503", "0.74181503", "0.74181503", "0.74181503", "0.74093723", "0.73996395", "0.73314863", "0.73314863", "0.73314863", "0.73286307", "0.7325891", "0.7325393", "0...
0.0
-1
Place objects on the screen
private Node createFormContents() { GridPane grid = new GridPane(); grid.setAlignment(Pos.CENTER); grid.setHgap(10); grid.setVgap(10); grid.setPadding(new Insets(25, 25, 25, 25)); // Add the components to the grid. // Add the labels. grid.add(typeNameLBL, 0, 0); grid.add(unitsLBL, 0, 1); grid.add(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PositionedObject(){\n float x = DrawingHelper.getGameViewWidth()/2;\n float y = DrawingHelper.getGameViewHeight()/2;\n _position.set(x,y);\n }", "public void place(){\n\t\tplace((float) Math.floor(Main.mouseSelector.x)+0.5f,(float) Math.floor(Main.mouseSelector.y)+0.5f);\r\n\t}", "publi...
[ "0.70836294", "0.6977105", "0.690568", "0.67607284", "0.6539021", "0.6526423", "0.64949274", "0.6481255", "0.63064516", "0.6304051", "0.6290051", "0.6289377", "0.6275484", "0.6264166", "0.6263702", "0.6231835", "0.6223868", "0.62135696", "0.61958784", "0.61855197", "0.6142276...
0.0
-1
Process action from submit button
protected void processAction(Event e) { // First check to see if the fields are empty. if (typeNameTF.getText().isEmpty() || unitsTF.getText().isEmpty() || unitMeasureTF.getText().isEmpty() || validityDaysTF.getText().isEmpty() || reorderPointTF.getText().isEmpty() || notesTF.getText().isEmpty()) messag...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tbtnSubmit_click(e);\n\t\t\t}", "@Override\n public void actionPerformed(ActionEvent e) {\n if (e.getSource() == submit) {\n int score = answerCheck();\n try {\n Submit submitButton = new Submit(u...
[ "0.76019657", "0.70645756", "0.7053748", "0.6761082", "0.67418", "0.6700934", "0.6678082", "0.6654178", "0.660324", "0.651438", "0.6473153", "0.64404374", "0.6400368", "0.63881546", "0.6379186", "0.6374291", "0.6287419", "0.62729824", "0.62579995", "0.6248797", "0.6239853", ...
0.6170568
26
Process adding the inventory item type. New properties object.
protected void addInventoryItemType() { Properties props = new Properties(); /* DEBUG System.out.println(typeNameTF.getText()); System.out.println(unitsTF.getText()); System.out.println(unitMeasureTF.getText()); System.out.println(validityDaysTF.getText()); System.out.println(reorderPointTF.getText())...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean add(Type item);", "public void addItem(Product p, int qty){\n //store info as an InventoryItem and add to items array\n this.items.add(new InventoryItem(p, qty));\n }", "public void addProduct(Product item){\n inventory.add(item);\n }", "private void addProduct() {\n St...
[ "0.61678517", "0.6032809", "0.6016886", "0.5924665", "0.59244746", "0.58348036", "0.578648", "0.5754526", "0.5732678", "0.5711889", "0.5700508", "0.5696598", "0.5653043", "0.5633339", "0.5608436", "0.5600269", "0.55636656", "0.55272746", "0.55162406", "0.55124295", "0.5502983...
0.7928259
0
TODO Autogenerated method stub
public void updateState(String key, Object value) { }
{ "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
Method to test is a string is a int.
private boolean isInt (String s) { try { if(Integer.parseInt(s) < 0) { return false; } } catch(NumberFormatException e) { return false; } catch(NullPointerException e) { return false; } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean isStringAnInt(String s) {\n // false if string is null\n if (s == null) {\n return false;\n }\n // if scanner get parse string for int then return true\n try {\n Scanner sc = new Scanner(s);\n int num = sc.nextInt();\n }\n // return false if it throws an exceptio...
[ "0.8101721", "0.792198", "0.786022", "0.78104573", "0.7756254", "0.7703792", "0.7683385", "0.7623612", "0.75983065", "0.75763184", "0.75471467", "0.7540163", "0.75334644", "0.7435134", "0.7428311", "0.7427375", "0.74209356", "0.7420797", "0.7419715", "0.7370995", "0.73343056"...
0.7611494
8
collect and validate DatePicker values.
@FXML private void btnBookAddAction() throws Exception { LocalDate pubDate = txtBookPubDateAdd.getValue(); //If no date send error message. if (pubDate == null) { lblBookAddIssues.setText("Published Date cannot be Null"); } String bookId = txtBookIdAdd.getText()...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void validateDate() {\n if (dtpSightingDate.isEmpty()) {\n dtpSightingDate.setErrorMessage(\"This field cannot be left empty.\");\n dtpSightingDate.setInvalid(true);\n removeValidity();\n }\n // Check that the selected date is after research began (rang...
[ "0.6649276", "0.637376", "0.6115593", "0.58621794", "0.5859886", "0.58066416", "0.5778717", "0.5749551", "0.57062185", "0.56998837", "0.5673082", "0.5664309", "0.56620705", "0.5646086", "0.5631842", "0.5602271", "0.55987763", "0.55858505", "0.558412", "0.5563607", "0.5555466"...
0.0
-1
Initializes the controller class.
@Override public void initialize(URL url, ResourceBundle rb) { try { cmbBookPublisherIdAdd.getItems().setAll(ChoiceBoxes.PublisherIdChoice()); cmbBookAuthorIdAdd.getItems().setAll(ChoiceBoxes.AuthorIdChoice()); cmdBookGenreIdAdd.getItems().setAll(ChoiceBoxes.GenreIdChoic...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initialize() {\n\t\tcontroller = Controller.getInstance();\n\t}", "public MainController() {\n\t\tcontroller = new Controller(this);\n\t}", "public abstract void initController();", "public Controller() {\n super();\n }", "public Controller() {\n super();\n }", "public Co...
[ "0.8125658", "0.78537387", "0.78320265", "0.776199", "0.776199", "0.76010174", "0.74497247", "0.7437837", "0.7430714", "0.742303", "0.74057597", "0.7341963", "0.7327749", "0.72634363", "0.72230434", "0.7102504", "0.70575505", "0.69873077", "0.69721675", "0.6944077", "0.691256...
0.0
-1
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_view_pager, 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.7246102", "0.7201358", "0.7194834", "0.7176498", "0.71066517", "0.7039537", "0.7037961", "0.70112145", "0.70094734", "0.69807225", "0.6944953", "0.69389373", "0.6933199", "0.6916928", "0.6916928", "0.6891486", "0.68831646", "0.68754137", "0.68745375", "0.68621665", "0.6862...
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_add) { Intent intent = new Intent(this, FormLocationActivity.class); startActivity(intent); return tr...
{ "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.790433", "0.78052884", "0.7766116", "0.77269244", "0.7631314", "0.76214564", "0.75844425", "0.7530182", "0.748751", "0.7457498", "0.7457498", "0.7438209", "0.74215984", "0.74033666", "0.7391367", "0.7386547", "0.7378906", "0.73700386", "0.73624307", "0.73555857", "0.734534...
0.0
-1
Tag used to cancel the request
private void login(final String email, final String password){ String tag_string_req = "req_login"; progressDialog.setMessage("Logging in..."); progressDialog.show(); StringRequest strReq = new StringRequest(Request.Method.POST, Utils.LOGIN_URL, new Response.Listener<Str...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void cancel(Object tag) {\n Dispatcher dispatcher = mClient.dispatcher();\n for (Call call : dispatcher.queuedCalls()) {\n if (tag.equals(call.request().tag())) {\n call.cancel();\n }\n }\n for (Call call : dispatcher.runningCalls()) {\n ...
[ "0.74892986", "0.7398642", "0.7394957", "0.7318561", "0.7318561", "0.7318561", "0.73130196", "0.7310195", "0.7284655", "0.7282553", "0.71990424", "0.71990424", "0.71990424", "0.7164122", "0.7164122", "0.7164122", "0.7147939", "0.7144099", "0.7134751", "0.7116599", "0.711002",...
0.0
-1