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
Do not modify addRestResourceClasses() method. It is automatically regenerated by NetBeans REST support to populate given list with all resources defined in the project.
private void addRestResourceClasses(Set<Class<?>> resources) { resources.add(nl.tjonahen.abk.backend.AbkCrossOriginResourceSharingFilter.class); resources.add(nl.tjonahen.abk.backend.boundry.account.AccountsResource.class); resources.add(nl.tjonahen.abk.backend.boundry.contraaccount.ContraAccoun...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void addRestResourceClasses(Set<Class<?>> resources) {\n resources.add(com.compguide.web.Persistence.WebService.ActiveIngredientFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebService.AutenticationFacadeREST.class);\n resources.add(com.compguide.web.Persistence.WebS...
[ "0.76765704", "0.7597451", "0.7577187", "0.75252813", "0.747066", "0.7467359", "0.7353644", "0.73234576", "0.7295699", "0.64042795", "0.62937796", "0.62466836", "0.6145518", "0.60506964", "0.60316294", "0.59876394", "0.5964215", "0.5935867", "0.59293914", "0.59192985", "0.586...
0.7290079
9
Incredible hack required to ensure that classes are loaded at construction time I.E. so that it fails fast if they're not found. TODO fix this I thought about just depending on the API level, but that broke Robolectric.
public NativeFragmentUtil() throws ClassNotFoundException { Class.forName(Fragment.class.getName()); Class.forName(FragmentManager.class.getName()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void init() throws ClassNotFoundException{\n }", "public void initializeClass();", "public static void initialize(){\r\n\t\tinitialize(new CurrentClassGetter().getClassName());\r\n\t}", "private void loadClasses() {\n\t\tString[] classes = new String[] { \"com.sssprog.delicious.api.ApiAsyncTask\" ...
[ "0.6180712", "0.61462545", "0.6140418", "0.6022615", "0.59579474", "0.5900512", "0.58959097", "0.58945453", "0.5824895", "0.582271", "0.5796489", "0.5779136", "0.5771272", "0.5765138", "0.57624763", "0.56991315", "0.56977594", "0.5679559", "0.5665065", "0.5637627", "0.5625999...
0.0
-1
Marshalls XML, minus the declaration/prologue
@Override public Marshaller getMarshaller(JAXBContext jc) throws JAXBException { Marshaller marshaller = jc.createMarshaller(); marshaller.setProperty(Marshaller.JAXB_FRAGMENT, Boolean.TRUE); return marshaller; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void dump( Result out ) throws JAXBException;", "public Element marshall()\n {\n Element element = new Element(getQualifiedName(), Namespaces.NS_ATOM);\n if( type != null )\n {\n Attribute typeAttribute = new Attribute(\"type\", type.toString());\n element.addAttribute(typ...
[ "0.58157295", "0.5738757", "0.5561218", "0.55270857", "0.548592", "0.54266", "0.54159915", "0.5362731", "0.5362731", "0.5362731", "0.52921486", "0.5284727", "0.5260415", "0.5260415", "0.5255051", "0.52191377", "0.5202254", "0.5202254", "0.5196226", "0.51947135", "0.5185745", ...
0.5212104
16
BloodTest constructor with no args This sets default values if none are passed in
public BloodTest() { setRedCellCount(0); setWhiteCellCount(0); setPlateletCount(0); setPatient(new Patient()); setTestDate(LocalDate.now()); setId(0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public BloodType(){\r\n\r\n }", "public BloodTest(int redCellCount, int whiteCellCount, int plateletCount, Patient patient, LocalDate testDate, int id) {\n this.redCellCount = redCellCount;\n this.whiteCellCount = whiteCellCount;\n this.plateletCount = plateletCount;\n this.patient...
[ "0.67093664", "0.64553875", "0.6198697", "0.6062549", "0.59123105", "0.5910283", "0.5879736", "0.58177495", "0.5816858", "0.5810893", "0.5809009", "0.5715565", "0.5713202", "0.56468517", "0.56378484", "0.56231886", "0.5599681", "0.558648", "0.5581573", "0.5581201", "0.5566237...
0.7480743
0
BloodTest constructor with 6 args
public BloodTest(int redCellCount, int whiteCellCount, int plateletCount, Patient patient, LocalDate testDate, int id) { this.redCellCount = redCellCount; this.whiteCellCount = whiteCellCount; this.plateletCount = plateletCount; this.patient = patient; this.testDate = testDate; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public BloodTest() {\n setRedCellCount(0);\n setWhiteCellCount(0);\n setPlateletCount(0);\n setPatient(new Patient());\n setTestDate(LocalDate.now());\n setId(0);\n }", "public BloodType(){\r\n\r\n }", "public royalBlueSchool(int sizeE,int sizeF){}", "public Bl...
[ "0.68503636", "0.6493878", "0.6071935", "0.59860915", "0.59783024", "0.5967179", "0.5799587", "0.5790266", "0.57900375", "0.57866734", "0.5740612", "0.57305616", "0.5711745", "0.5683729", "0.5672155", "0.5617806", "0.55990696", "0.55778766", "0.5558597", "0.555241", "0.553826...
0.6820472
1
Allows client to initialize the client listener.
@Override public void addListener(_User user, _ClientListener clientListener) throws RemoteException{ this.ListenerClient.put(user,clientListener); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void initClient() {\n BundleEvents.register();\n }", "private void initListener() {\n }", "@Override\n protected void preClientStart() {\n client.registerListener(new BuddycloudLocationChannelListener(\n getContentResolver()\n ));\n client.registerL...
[ "0.7432462", "0.70871586", "0.70284635", "0.7025984", "0.6996248", "0.6961657", "0.68849903", "0.687012", "0.6810954", "0.67662245", "0.6753681", "0.6725893", "0.6679522", "0.6671777", "0.66692746", "0.6632078", "0.65840316", "0.65494317", "0.6539174", "0.6525422", "0.6490012...
0.0
-1
Allows client to initialize private messenger
@Override public void initMp(String idComponent, ArrayList<_User> usersTargets) throws RemoteException, SQLException { for (_User u : usersTargets) { ListenerClient.get(u).onNewPrivateMessenger(idComponent); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public TCPMessengerServer() {\n initComponents();\n customInitComponents();\n listenForClient(); \n }", "public abstract void initialize(P msg);", "ClientMessageSender() {\n\n\t}", "private SocketMessage() {\n initFields();\n }", "private ManualMessage() {\n ...
[ "0.66579986", "0.6634951", "0.6619244", "0.6595762", "0.65721285", "0.65511435", "0.65511435", "0.65482175", "0.6528955", "0.64832234", "0.6444452", "0.63689554", "0.63665926", "0.6341429", "0.62769777", "0.6268226", "0.6247149", "0.6236077", "0.62180305", "0.6160603", "0.615...
0.5626806
99
Remove a client listner in the list
@Override public void removeListner(_User user) throws RemoteException { this.ListenerClient.remove(user); this.ListenerClient.forEach(new BiConsumer<_User, _ClientListener>() { @Override public void accept(_User user, _ClientListener clientListener) { try { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void removeClient () {\n AutomatedClient c = clients.pollFirstEntry().getValue();\n Nnow--;\n\n c.signalToLeave();\n System.out.println(\"O cliente \" + c.getUsername() + \" foi sinalizado para sair\");\n }", "synchronized public void removeClientListener(ClientListener l)\...
[ "0.75771755", "0.7342826", "0.7056823", "0.70537364", "0.70072633", "0.6771929", "0.67314947", "0.6720515", "0.6650025", "0.6644485", "0.6590165", "0.65256983", "0.64915144", "0.648225", "0.64260304", "0.64123625", "0.6400785", "0.63944566", "0.63819486", "0.6374378", "0.6356...
0.73005474
2
because select and insert operations must be in one transaction
@Transactional @Override @CacheEvict(value = "votes", allEntries = true) public Vote save(VoteTo voteTo, int userId) { Vote vote = null; if (voteTo.isNew() || get(voteTo.getId(), userId) != null) { vote = createFromTo(voteTo); vote.setUser(userRepository.getOn...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int insertSelective(Transaction record);", "int insertSelective(Table2 record);", "int insert(Transaction record);", "int insertSelective(Assist_table record);", "@Transactional\n DataRistorante insert(DataRistorante risto);", "protected abstract Transaction createAndAdd();", "int insertSelective(En...
[ "0.69506115", "0.6638393", "0.6499687", "0.6483699", "0.6351816", "0.62837815", "0.62642103", "0.6241732", "0.6220191", "0.6210045", "0.62075025", "0.6203727", "0.6188127", "0.61832684", "0.61664826", "0.6155992", "0.6147366", "0.6144483", "0.61407465", "0.6136701", "0.612597...
0.0
-1
Scanner sc=new Scanner(System.in); int size=sc.nextInt();
public static void main(String[] args) { Stack st=new Stack(); st.push(6); st.push(5); st.push(3); st.push(2); st.push(1); System.out.println( st.peek()); // System.out.println( st.isEmpty()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) \r\n\t{\r\n\t\t\r\n\t\tScanner sc = new Scanner( System.in);\r\n\t\tSystem.out.println(\"Enter The Size\");\r\n\t\tint size = sc.nextInt();\r\n\t\tint array[]=new int[size];\r\n\t\t\r\n\t\tfor(int i=0;i<size;i++)\r\n\t\t{\r\n\t\t\tSystem.out.print(\"Enter the value at\"+ (i+1...
[ "0.70492333", "0.68094784", "0.6688351", "0.6631249", "0.6587698", "0.6525028", "0.6476306", "0.6471536", "0.6462791", "0.6452337", "0.6444769", "0.6429168", "0.6425933", "0.6395921", "0.637892", "0.6372118", "0.6370928", "0.6353638", "0.6317549", "0.6306776", "0.63002086", ...
0.0
-1
marker interface for exceptions that implement getLocalizedMessage to return something actually localized.
public interface LocalizedException { public String getLocalizedMessage(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract java.lang.String getLocalizedMessage();", "@Override\n\tpublic String getLocalizedMessage() {\n\t\treturn super.getLocalizedMessage();\n\t}", "@Override\r\n\tprotected String getLocalizedMessage(String errorCode, Locale locale, Object... args) {\n\t\treturn com.platform.util.i18n.PlatformResource.getT...
[ "0.8441483", "0.7560154", "0.6898355", "0.68765646", "0.68373704", "0.66447246", "0.66447246", "0.66447246", "0.66447246", "0.66447246", "0.66447246", "0.66447246", "0.66447246", "0.66447246", "0.66447246", "0.66447246", "0.66447246", "0.66447246", "0.66447246", "0.66447246", ...
0.79523414
1
Creates new form quotaGUI
public quotaGUI() { initComponents(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public CreateAccount_GUI() {\n initComponents();\n }", "FORM createFORM();", "public TrainModelGUI CreateNewGUI() {\n //Create a GUI object\n \ttrainModelGUI = new TrainModelGUI(this);\n \tsetValuesForDisplay();\n \treturn trainModelGUI;\n }", "public CreateAccountGUI() throws Ex...
[ "0.6489954", "0.6348373", "0.6136571", "0.6060606", "0.6016347", "0.601267", "0.59662956", "0.59175813", "0.5914749", "0.590316", "0.5879641", "0.5877081", "0.58473134", "0.58394194", "0.5829719", "0.5821758", "0.5804571", "0.5800503", "0.57992053", "0.57979083", "0.5794085",...
0.7843434
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() { jScrollPane2 = new javax.swing.JScrollPane(); dateList = getDateList(); jScrollPane3 = new javax.swing.JScrollPane(); valueLis...
{ "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.7320782", "0.72918797", "0.72918797", "0.72918797", "0.728645", "0.72498447", "0.7214492", "0.720934", "0.7197145", "0.71912014", "0.71852076", "0.7160113", "0.71487373", "0.70943654", "0.70820624", "0.7058153", "0.69883204", "0.6978216", "0.69558746", "0.6955715", "0.6945...
0.0
-1
Set the text of a related field in BWC modules. Focus should already be made in the bwcframe when this method is called.
public void set(String toSet) throws Exception { VoodooUtils.voodoo.log.info("Setting " + this + " to " + toSet); waitForElement().click(); VoodooUtils.pause(1000); VoodooUtils.focusWindow(1); new VoodooControl("a", "XPATH", "//a[contains(text(), '" + toSet + "')]").click(); VoodooUtils.focusWindow(0); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setText(String text)\n {\n field.setText(text);\n }", "public void setText(String text) {\n\t\tthis.smartField.setContents(text);\n\t}", "private void updateText(){\n\t\tif(propertiesObj == null)\n\t\t\treturn;\n\n\t\tif(propertiesObj instanceof QuestionDef)\n\t\t\t((QuestionDef)properties...
[ "0.66566396", "0.65124685", "0.6388464", "0.6361225", "0.6222522", "0.62092674", "0.6088787", "0.602741", "0.60255617", "0.6010282", "0.5999126", "0.59817886", "0.5957268", "0.5955193", "0.5954764", "0.59012944", "0.5895451", "0.5895451", "0.5895451", "0.5893652", "0.5892319"...
0.0
-1
TODO Autogenerated method stub
private void go() { go2(new Tree(), new Chrome()); //go2((Chrome) new Tree(),new Chrome()); }
{ "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
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() { mainPanel = new javax.swing.JPanel(); menuBar = new javax.swing.JMenuBar(); javax.swing.JMenu fileMenu = new javax.swing.JMenu(); ...
{ "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.7321342", "0.7292121", "0.7292121", "0.7292121", "0.72863305", "0.7249828", "0.7213628", "0.7209084", "0.7197292", "0.71912086", "0.7185135", "0.7159969", "0.7148876", "0.70944786", "0.70817256", "0.7057678", "0.69884527", "0.69786763", "0.69555986", "0.69548863", "0.69453...
0.0
-1
Returns the value of the value header field.
public int getValue() { return value; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getValue() {\n\t\treturn (String) get_Value(\"Value\");\n\t}", "public String getValue()\n {\n String v = (String)this.getFieldValue(FLD_value);\n return StringTools.trim(v);\n }", "public String getValue() {\n\t\tString value;\n\t\ttry {\n\t\t\tvalue = this.getString(\"value\...
[ "0.7301689", "0.72611207", "0.7085744", "0.70706916", "0.7054143", "0.7054143", "0.7054143", "0.7054143", "0.7054143", "0.7054143", "0.7025075", "0.70155424", "0.69935673", "0.69935673", "0.69935673", "0.69935673", "0.69935673", "0.69824296", "0.6978571", "0.69714284", "0.695...
0.0
-1
Sets the value of the value field of this ServiceType to the specified value.
public void setValue(int value) { this.value = value; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setValue(Object value)\r\n {\r\n m_value = value;\r\n }", "public void setValue(Value value) {\n this.value = value;\n }", "public void setValue(T value) {\n\t\tthis.value = value;\n\t}", "public void setValue(T value) {\n\t\tthis.value = value;\n\t}", "public...
[ "0.6859455", "0.68593144", "0.6835481", "0.6835481", "0.6834079", "0.6834079", "0.6797071", "0.67523134", "0.6718034", "0.6705383", "0.6683154", "0.6683154", "0.6633083", "0.66073054", "0.6603494", "0.65780103", "0.65546864", "0.6551365", "0.6518554", "0.64742994", "0.6463127...
0.0
-1
Returns the value of the desc header field.
public String getDesc() { return desc; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getDesc() {\n\t return desc;\n\t }", "public java.lang.String getDesc() {\n\t\treturn desc;\n\t}", "public java.lang.String getDesc() {\r\n return desc;\r\n }", "java.lang.String getDesc();", "public String getDesc(){\r\n\t\treturn this.desc;\r\n\t}", "public java.lang.String ...
[ "0.75090575", "0.7477135", "0.74677825", "0.74578714", "0.74345076", "0.74255717", "0.73627824", "0.73627824", "0.73627824", "0.73627824", "0.73627824", "0.7142358", "0.70859075", "0.7085569", "0.70287514", "0.70287514", "0.70287514", "0.70287514", "0.7021718", "0.70067763", ...
0.74804825
2
Sets the value of the desc field of this ServiceType to the specified value.
public void setDesc(String desc) { this.desc = desc; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setDesc(java.lang.String desc);", "public void setDesc(java.lang.String desc) {\r\n this.desc = desc;\r\n }", "public void setDesc(java.lang.String desc) {\n\t\tthis.desc = desc;\n\t}", "public void setDesc(String desc) {\n\t this.desc = desc;\n\t }", "public void setDescription(String d...
[ "0.74913126", "0.7424425", "0.7410231", "0.7396777", "0.73330486", "0.7299477", "0.7299477", "0.72318625", "0.7226769", "0.7143031", "0.70932955", "0.7070914", "0.6908298", "0.6863229", "0.6788889", "0.6785585", "0.6764262", "0.6688172", "0.6677276", "0.66706604", "0.6604451"...
0.73277766
6
/ Se infla el view donde vamos a trabajar
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.fragment_recetas, container, false); /* Se asigna el recyclerView al xml */ this.recyclerView = (RecyclerView)view...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onViewCreate() {\n }", "@Override\n public void prepareView() {\n }", "public void viewHandler(View v) {\n LinearLayout vwParentRow = (LinearLayout)v.getParent();\n TextView id =(TextView) vwParentRow.findViewById(R.id._id);\n Intent intent = new Intent(...
[ "0.6437129", "0.6354862", "0.6312411", "0.6296293", "0.62859356", "0.6282607", "0.6257807", "0.6232198", "0.62025416", "0.6182879", "0.6167714", "0.616468", "0.6156876", "0.6151399", "0.6147185", "0.6094882", "0.60860443", "0.60838276", "0.6071478", "0.60553837", "0.604671", ...
0.0
-1
Carga el adaptador sin filtrar en el recyclerView
public void cargarAdaptador(){ gridLayoutManager = new GridLayoutManager(getContext(), 2); recyclerView.setLayoutManager(gridLayoutManager); adapterRecetas = new AdapterRecetas(getContext()); recyclerView.setAdapter(adapterRecetas); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void cargarAdaptador(String filtraPor, String categoria){\n if (filtraPor.equals(\"Categoria\")) {\n if (!categoria.equals(\"NoFiltrar\")) {\n gridLayoutManager = new GridLayoutManager(getContext(), 2);\n adapterRecetas = new AdapterRecetas(getContext());\n\n ...
[ "0.71146554", "0.6403762", "0.6339133", "0.6238017", "0.6140072", "0.61063224", "0.6062048", "0.6049733", "0.6004818", "0.59500515", "0.594812", "0.59374297", "0.5856215", "0.58261335", "0.5805771", "0.5782951", "0.5763028", "0.57529163", "0.57421714", "0.57311654", "0.572837...
0.70507205
1
Carga el adaptador filtrado por categoria o nombre en el recyclerView
public void cargarAdaptador(String filtraPor, String categoria){ if (filtraPor.equals("Categoria")) { if (!categoria.equals("NoFiltrar")) { gridLayoutManager = new GridLayoutManager(getContext(), 2); adapterRecetas = new AdapterRecetas(getContext()); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void extrageLista(String numeCategorie){\n RecyclerView recyclerView=findViewById(R.id.recyclerViewCategories);\n recyclerView.setHasFixedSize(true);\n recyclerView.setLayoutManager(new LinearLayoutManager(this));\n\n myRef.addValueEventListener(new ValueEventListener() {\n\n\n ...
[ "0.6540342", "0.62979186", "0.6170281", "0.59388113", "0.58919895", "0.58894324", "0.58043534", "0.5765486", "0.57005644", "0.56871027", "0.56779903", "0.56615806", "0.56306756", "0.56199944", "0.56102234", "0.55941296", "0.55898637", "0.5579258", "0.5576092", "0.5565901", "0...
0.76104695
0
on list item click
@Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { mHubListPopupWindow.dismiss(); //set the hub id mHubId = id; Log.v(LOG_TAG, "mHubId is: " + mHubId); cursor.moveToPosition(position); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void onListClick();", "@Override\n public void onListItemClicked(int position) {\n\n }", "@Override\n public void onItemClick(View view, ListItem obj, int position) {\n }", "@Override\r\n public void onListItemClick(ListView l, View v, int position, long id) {\n }", "publi...
[ "0.8252547", "0.8203406", "0.7933725", "0.78964335", "0.7877282", "0.78063816", "0.7801782", "0.77208304", "0.76071686", "0.75661325", "0.7492662", "0.748012", "0.7477775", "0.7443416", "0.74400055", "0.7433198", "0.7419702", "0.74151766", "0.74151766", "0.74090034", "0.74027...
0.0
-1
make an intent to start the networks entry
@Override public void onClick(View v) { Intent intent = new Intent(getApplicationContext(), HubsActivity.class); intent.setData(DatabaseContract.HubEntry.CONTENT_URI); startActivity(intent); mHubListPopupWindow.dismiss(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void startClicked(View view) {\n\t // Check if the user has net\n\t\tif(checkNetwork()) {\n\t\t\tIntent intent = new Intent(this, MainActivity.class);\n\t\t\tintent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);\n\t\t\tstartActivity(intent);\n\t\t\tfinish();\n\t\t}\n\t}", "public void startGame(Activity ...
[ "0.62675077", "0.6240945", "0.62390214", "0.60885614", "0.6048848", "0.6043284", "0.60347456", "0.6014254", "0.59642196", "0.59603596", "0.5951676", "0.5931071", "0.59253484", "0.5895125", "0.58863896", "0.58851033", "0.585759", "0.5853678", "0.5833861", "0.5814875", "0.58127...
0.5517732
77
Method created to sync all data from the LoaderManager so we can set the data on the Activity without errors This is not fully implemented as only one loader is called at this time
private void allDataLoaded() { mButtonHubId.setText(R.string.select_hub); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onLoadFinished(Loader<Cursor> loader, Cursor data) {\n // Update the data that the adapter uses to create ViewHolders\n mAdapter.swapCursor(data);\n }", "@Override\n protected void onStartLoading() {\n if (mTaskData != null) {\n ...
[ "0.6350377", "0.62631667", "0.62631667", "0.62491786", "0.61875564", "0.61794674", "0.6176783", "0.61529595", "0.61314744", "0.6112199", "0.61070144", "0.608138", "0.6080579", "0.6036778", "0.60311896", "0.6028888", "0.6005595", "0.5998821", "0.59873784", "0.5967621", "0.5930...
0.0
-1
setter and getter methods
public char getLetterGrade() { return letter; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract Set method_1559();", "String setValue();", "@Override\r\n\tpublic void get() {\n\t\t\r\n\t}", "public void setdat()\n {\n }", "@Override\n public void get() {}", "public String setter() {\n\t\treturn prefix(\"set\");\n\t}", "public void get() {\n }", "public abstract void...
[ "0.69148004", "0.6894207", "0.650436", "0.6456427", "0.63813746", "0.6367311", "0.62834966", "0.62599576", "0.6249823", "0.623669", "0.6204832", "0.6188973", "0.6188973", "0.61540455", "0.6138265", "0.61323977", "0.6110242", "0.61005723", "0.6094278", "0.60873", "0.6077639", ...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { System.out.println("ange triangelns sidor"); Scanner in = new Scanner(System.in); double x = in.nextInt(); double y = in.nextInt(); //double z = in.nextInt(); double alfa = in.nextInt(); //double theta = in.nextInt(); //double yeeta = in.nextInt(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
Called before the vanilla shaders are applied to the screen
public static void onPreRenderShaders(float partialTicks) { MinecraftForge.EVENT_BUS.post(new PreRenderShadersEvent(partialTicks)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initialize() {\n ShaderProgram.pedantic = false;\r\n\r\n shader = CustomShaderLoader.createShader();\r\n if (!shader.isCompiled()) {\r\n System.err.println(shader.getLog());\r\n System.exit(0);\r\n }\r\n if (shader.getLog().length() != 0)\r\n ...
[ "0.72970706", "0.65514517", "0.65107906", "0.64782166", "0.6448735", "0.63994324", "0.63400114", "0.63261425", "0.63261425", "0.6317763", "0.61828554", "0.61801887", "0.6170593", "0.6136033", "0.6119222", "0.6114023", "0.6096572", "0.6051438", "0.6033994", "0.6020535", "0.597...
0.70067966
1
QueryWrapper orderQueryWrapper = new QueryWrapper(); orderQueryWrapper.eq("gmPurchaserId", userId);
@Override public JsonMsg findUserAllOrders(Integer page, Integer pageSize, Integer userId) { List<OrderVo> orders = orderMapper.findUserAllOrderByPage(userId, page - 1, pageSize); JsonMsg jsonMsg = JsonMsg.makeSuccess("成功", orders); return jsonMsg; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "NjOrderWork2 selectByPrimaryKey(String id);", "@Query(nativeQuery = true, value =\"select * from order_details where user_id = :userId\" )\r\n\tList<OrderDetails> getOrderDetailsByUserId(@Param(\"userId\") Integer id);", "public void customerQuery(){\n }", "OrderDetailBean getSearchOrderById(long orderIdi...
[ "0.5745616", "0.5648457", "0.5623354", "0.5619089", "0.5572758", "0.5568035", "0.5557138", "0.55147123", "0.55136317", "0.5497422", "0.54946804", "0.5493316", "0.54750913", "0.54657084", "0.5409461", "0.5373987", "0.5370832", "0.5361744", "0.53590494", "0.5350403", "0.5348999...
0.0
-1
TODO Autogenerated method stub
@Override public void mouseClicked(MouseEvent arg0) { if(MODE == 0){ if(builds.size() <= 2 && buildingType != -1){ ElbiWars_Building newBuilding = new ElbiWars_Building(arg0.getX(), arg0.getY(), buildingType); newBuilding.setBounds(arg0.getX(), arg0.getY(), 30, 30); builds.add(newBuilding); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void mouseEntered(MouseEvent arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
TODO Autogenerated method stub
@Override public void mouseExited(MouseEvent arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void mousePressed(MouseEvent arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void mouseReleased(MouseEvent arg0) { }
{ "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
@SuppressWarnings("deprecation") @Override public void actionPerformed(ActionEvent e) { if(e.getSource() == modeChange){ if(MODE == -1){ MODE = 0; bottomPanel.show(); troopsPanel.hide(); } else { MODE = 1; troopsPanel.show(); buildingsPanel.hide(); } } for(int i=0; i<8; i++){...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
End closed loop parameter constants
public static void IAmFalconBot() { // How many encoder clicks per revolution (change to 2048 for falcon 500 // encoders) encoderUnitsPerShaftRotation = 2048; // with 6 in wheels estimate 10 feet = 13038 encoder ticks // The difference between the left and right side encoder values when the robot ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean endLoop();", "public void stopAtLoopEnd() {\n mStopAtLoopEnd = true;\n }", "private void closedLoopAlgo() {\n\t\tsimonsSimpleAlgo();\n\t}", "protected abstract void trace_end_loop();", "protected void end()\n\t{\n\t}", "protected void end() {\r\n }", "protected void end() {\r\n }", ...
[ "0.6602905", "0.6333115", "0.6281712", "0.6253989", "0.60171247", "0.598449", "0.598449", "0.598449", "0.598449", "0.5958087", "0.5958087", "0.5958087", "0.5958087", "0.5958087", "0.5958087", "0.5958087", "0.5958087", "0.5958087", "0.5958087", "0.5958087", "0.5958087", "0.5...
0.0
-1
Unzip files matching regex from all archives in given directory.
public static void unzipFiles(@NotNull String path, @NotNull String name) throws IOException { Path dir = Paths.get(path); final PathMatcher matcher = dir.getFileSystem().getPathMatcher("glob:**.zip"); try (final Stream<Path> stream = Files.list(dir)) { stream.filter(matcher::matches...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void unarchive(String baseDir) throws MojoExecutionException {\n try (FileInputStream fis = new FileInputStream(archive);\n ZipArchiveInputStream zipIn = new ZipArchiveInputStream(fis)) {\n ZipArchiveEntry zipEnry = zipIn.getNextZipEntry();\n while (zipEnry != null) {\n // Create ...
[ "0.6637859", "0.6435473", "0.6311536", "0.6128021", "0.6011717", "0.5860996", "0.5791264", "0.5744722", "0.5705824", "0.5696863", "0.567909", "0.5625647", "0.55595714", "0.55562764", "0.5503867", "0.54343194", "0.54015476", "0.5367951", "0.53468424", "0.5344502", "0.5341657",...
0.57313764
8
/ renamed from: a
private static int m615a(String str, int i) { int length = str.length() - 1; int i2 = 1; int i3 = 0; while (length >= 0) { int indexOf = (f337z[0].indexOf(str.charAt(length)) * i2) + i3; i3 = i2 + 1; if (i3 > i) { i3 = 1; } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
private static void m616a(int i, int[] iArr) { for (int i2 = 0; i2 < 9; i2++) { iArr[i2] = ((1 << (8 - i2)) & i) == 0 ? 0 : 1; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.6249595", "0.6242955", "0.61393225", "0.6117684", "0.61140615", "0.60893875", "0.6046927", "0.60248226", "0.60201806", "0.59753186", "0.5947817", "0.5912414", "0.5883872", "0.5878469", "0.587005", "0.58678955", "0.58651674", "0.5857262", "0.58311176", "0.58279663", "0.5827...
0.0
-1
/ renamed from: b
protected static int m617b(boolean[] zArr, int i, int[] iArr, boolean z) { int length = iArr.length; int i2 = 0; while (i2 < length) { int i3 = i + 1; zArr[i] = iArr[i2] != 0; i2++; i = i3; } return 9; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "v...
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.588663...
0.0
-1
/ renamed from: z
private static String m618z(char[] cArr) { int length = cArr.length; for (int i = 0; length > i; i++) { int i2; char c = cArr[i]; switch (i % 5) { case 0: i2 = 6; break; case 1: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo28717a(zzc zzc);", "public abstract void zza(zzk zzk, zzk zzk2);", "protected abstract String getZ();", "private zza.zza()\n\t\t{\n\t\t}", "public final zzgol<zzgop<?>> zzn() {\n zzr();\n return this.zzae;\n }", "public final boolean zza() {\n boolean z = false;\n if...
[ "0.65401626", "0.65332305", "0.64993584", "0.64535284", "0.63312113", "0.6210442", "0.6164261", "0.6164261", "0.6164261", "0.6124162", "0.6119013", "0.6119013", "0.6119013", "0.61083883", "0.60573125", "0.60561603", "0.6033825", "0.60330266", "0.6027068", "0.6026799", "0.6009...
0.0
-1
/ renamed from: z
private static char[] m619z(String str) { char[] toCharArray = str.toCharArray(); if (toCharArray.length < 2) { toCharArray[0] = (char) (toCharArray[0] ^ 20); } return toCharArray; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo28717a(zzc zzc);", "public abstract void zza(zzk zzk, zzk zzk2);", "protected abstract String getZ();", "private zza.zza()\n\t\t{\n\t\t}", "public final zzgol<zzgop<?>> zzn() {\n zzr();\n return this.zzae;\n }", "public final boolean zza() {\n boolean z = false;\n if...
[ "0.65401626", "0.65332305", "0.64993584", "0.64535284", "0.63312113", "0.6210442", "0.6164261", "0.6164261", "0.6164261", "0.6124162", "0.6119013", "0.6119013", "0.6119013", "0.61083883", "0.60573125", "0.60561603", "0.6033825", "0.60330266", "0.6027068", "0.6026799", "0.6009...
0.0
-1
/ renamed from: a
public C0194n mo8a(String str, C0217x c0217x, int i, int i2, Map<C0204i, ?> map) throws fb { try { if (c0217x == C0217x.CODE_93) { return super.mo8a(str, c0217x, i, i2, map); } throw new IllegalArgumentException(f337z[1] + c0217x); } catch (fb e) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.6249595", "0.6242955", "0.61393225", "0.6117684", "0.61140615", "0.60893875", "0.6046927", "0.60248226", "0.60201806", "0.59753186", "0.5947817", "0.5912414", "0.5883872", "0.5878469", "0.587005", "0.58678955", "0.58651674", "0.5857262", "0.58311176", "0.58279663", "0.5827...
0.0
-1
/ renamed from: a
public boolean[] mo21a(String str) { int length = str.length(); if (length > 80) { try { throw new IllegalArgumentException(f337z[2] + length); } catch (IllegalArgumentException e) { throw e; } } int i; int[] iAr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
TODO Autogenerated method stub
public Integer countNews(String sql) { return newsDao.countNews(sql); }
{ "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
public List<News> queryNews(int from, int pageSize, String sql) { return newsDao.queryNews(from, pageSize, sql); }
{ "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
public News queryNews(String sql) { return newsDao.queryNews(sql); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
TODO Autogenerated method stub
public void save(News news) { newsDao.save(news); }
{ "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
Constructor used on server. Fields populated automatically by ecologylab.serialization
public ChatRequest() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public NetworkData() {\n }", "public InitialData(){}", "public MinecraftJson() {\n }", "public Server()\n\t{\n\t\tusers = new ArrayList<User>();\n\t\tdepartments = new ArrayList<Department>();\n\t\ttokenGenerator = new Random(System.currentTimeMillis());\n\t}", "public JsonDataset() {\r\n\t\tsuper();...
[ "0.6492901", "0.64836615", "0.62231284", "0.62204736", "0.61844003", "0.614951", "0.6145603", "0.61342865", "0.6130913", "0.6044938", "0.6010112", "0.59893", "0.5978255", "0.5958422", "0.5936012", "0.5932027", "0.59194595", "0.5916057", "0.59091854", "0.590348", "0.5884977", ...
0.0
-1
Constructor used on client.
public ChatRequest(String message) { this.message = message; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Client() {\n }", "public Client() {}", "public Client() {\r\n\t// TODO Auto-generated constructor stub\r\n\t \r\n }", "public Client() {\n\t\t// TODO Auto-generated constructor stub\n\t}", "public LpsClient() {\n super();\n }", "private CorrelationClient() { }", "protected Client...
[ "0.7972604", "0.7894895", "0.7709071", "0.7704843", "0.76840246", "0.7652598", "0.7579365", "0.7578464", "0.7534815", "0.7491943", "0.74867177", "0.7415247", "0.74108654", "0.73821753", "0.737455", "0.7362886", "0.7302311", "0.7297932", "0.7289639", "0.72864497", "0.7280079",...
0.0
-1
Called automatically by LSDCS on server
@Override public ResponseMessage performService(Scope cSScope) { //implemented in ChatRequest on C# server side; /* * Send back a response confirming that we got the request */ return OkResponse.reusableInstance; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void handleServerCmd() {\n\t\t\n\t}", "void onServerStarted();", "@Override\n\tpublic void onModServerStarted2(FMLServerStartedEvent aEvent) {\n\t}", "@Override\n\tpublic void onNetStart(String id) {\n\t\t\n\t}", "@Override\n\t\t\t\t\tpublic void onReqStart() {\n\t\t\t\t\t}", "@Overri...
[ "0.6476412", "0.60886014", "0.6087238", "0.60532546", "0.6051033", "0.5981918", "0.5931895", "0.5916788", "0.5830268", "0.57785803", "0.57722074", "0.57662344", "0.575993", "0.5721978", "0.57004404", "0.56794226", "0.567902", "0.56531096", "0.5651697", "0.5635073", "0.5622458...
0.0
-1
Get the DrawingAttributes that should be used for rendering.
protected DrawingAttributes getAttributesForRendering(DrawingAttributes da) { if (da == null) { return getRenderingAttributes(); } else { return da; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ShapeAttributes getAttributes()\n {\n return this.normalAttrs;\n }", "public ShapeAttributes getHighlightAttributes()\n {\n return highlightAttrs;\n }", "protected StringBuffer getAttributes()\r\n\t{\r\n\t\t// Output buffer\r\n\t\tStringBuffer transformBuff\t= new StringBuffer(...
[ "0.6537656", "0.62213856", "0.61039543", "0.5945614", "0.59247226", "0.5910911", "0.590856", "0.59071094", "0.5880684", "0.5875478", "0.58598757", "0.5842336", "0.5842336", "0.5842336", "0.582965", "0.5826638", "0.58150136", "0.58150136", "0.57904094", "0.5785964", "0.5731005...
0.70014817
0
A representation of the model object 'Ifc Annotation Surface Occurrence'.
public interface IfcAnnotationSurfaceOccurrence extends IfcAnnotationOccurrence { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface IfcStyleModel extends IfcRepresentation {\n}", "public String toString()\r\n {\r\n\treturn \"HSIImage-object:\" +\r\n\t \"\\n\\tWidth: \" + getWidth() +\r\n\t \"\\n\\tHeight: \" + getHeight();\r\n }", "OurIfcElementType createOurIfcElementType();", "public String getRepresentati...
[ "0.53882015", "0.50156635", "0.49988112", "0.4934792", "0.49140662", "0.49111202", "0.4903463", "0.49032885", "0.4884539", "0.48402345", "0.48166922", "0.48119158", "0.47944847", "0.47437707", "0.47245175", "0.47245175", "0.47116113", "0.47004315", "0.46834335", "0.46804643", ...
0.6311634
0
This constructs an object which represents a rate of turn and a velocity. The velocity is measured in terms of meters per second and the rate of turn is measured in terms of radians per second.
public SpeedAndTurnRate( final double aVelocity, final double aRateOfTurn) { mV = aVelocity; mDThetaDT = aRateOfTurn; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static AngularVelocity newRadiansPerSecondValue()\n\t{\n\t\treturn new AngularVelocity(0.0, AngularVelocityUnit.RADIANS_PER_SEC);\n\t}", "public static AngularVelocity newRadiansPerSecondValue(Double new_val)\n\t{\n\t\treturn new AngularVelocity(new_val, AngularVelocityUnit.RADIANS_PER_SEC);\n\t}", "pub...
[ "0.6731006", "0.62173593", "0.59880227", "0.59539807", "0.5927988", "0.58811", "0.5804211", "0.5775957", "0.577582", "0.57536435", "0.572091", "0.5720509", "0.567695", "0.56736434", "0.5646631", "0.56196636", "0.56159824", "0.5589092", "0.558729", "0.558465", "0.5558869", "...
0.7700087
0
This method returns the rate of movement of the object in terms of meters per second.
public double getVelocity() { return mV; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Double metersPerSecond()\n\t{\n\t\treturn getValue(VelocityUnit.METERS_PER_SECOND);\n\t}", "protected float getMovementSpeed() {\r\n\t\tfloat speed = getSpeed();\r\n\t\treturn speed / 17f + (float) Math.pow(Math.sqrt(speed), 1.225f) * 0.985f;\r\n\t}", "public double getCurrentSpeed();", "public double...
[ "0.7200855", "0.71750057", "0.7123409", "0.71166205", "0.6981789", "0.6966303", "0.6963788", "0.6962148", "0.6946115", "0.69246125", "0.691217", "0.6862157", "0.6859558", "0.684185", "0.6805687", "0.6789487", "0.6778102", "0.6767606", "0.67673373", "0.6756369", "0.6752986", ...
0.0
-1
This method returns the rate of turn in terms of Radians per second.
public double getTurnRate() { return mDThetaDT; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getTurnRate() {\n return m_gyro.getRate() * (DriveConstants.kGyroReversed ? -1.0 : 1.0);\n }", "public Double radiansPerSecond()\n\t{\n\t\treturn getValue(AngularVelocityUnit.RADIANS_PER_SEC);\n\t}", "public double getRate() {\r\n\t\treturn (getRate(0)+getRate(1))/2.0;\r\n\t}", "double getR...
[ "0.7516819", "0.7479482", "0.7237877", "0.7037524", "0.69464314", "0.6666447", "0.66644853", "0.6536479", "0.6511967", "0.6485294", "0.6441571", "0.64366496", "0.6340269", "0.63123554", "0.6283496", "0.6283496", "0.6263019", "0.6261768", "0.6247555", "0.62339747", "0.6233481"...
0.74143
2
Created by s0c00q3 on 2017/3/20.
@Mapper public interface PermissionDao { int addPermission(SystemPermission permission); int delPermission(int id); int updatePermission(SystemPermission permission); SystemPermission getPermissionById(int id); List<SystemPermission> getPermissionListByRoleId(int rid); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tp...
[ "0.6174187", "0.6123039", "0.5824198", "0.58057183", "0.57848185", "0.57738775", "0.57738775", "0.5746904", "0.573037", "0.57258224", "0.56926626", "0.56781554", "0.56538886", "0.5649301", "0.5634772", "0.5613064", "0.5613064", "0.5612024", "0.55988395", "0.5574078", "0.55739...
0.0
-1
Author: Inno Fang Time: 2016/12/27 21:17 Description:
public interface PermissionListener { void onGranted(); //授权 void onDenied(List<String> deniedPermission); //拒绝 ,并传入被拒绝的权限 }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void mo4359a() {\n }", "public void mo21877s() {\n }", "public void mo38117a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n ...
[ "0.60863113", "0.6079755", "0.6049438", "0.59770066", "0.5963829", "0.5963829", "0.5963829", "0.5963829", "0.5963829", "0.5963829", "0.5963829", "0.5958013", "0.5953388", "0.593482", "0.5912812", "0.59112513", "0.5898005", "0.58875495", "0.58593297", "0.5851935", "0.5850922",...
0.0
-1
/ JADX WARNING: Removed duplicated region for block: B:15:0x0027 A[SYNTHETIC, Splitter:B:15:0x0027] / JADX WARNING: Removed duplicated region for block: B:22:0x0034 A[SYNTHETIC, Splitter:B:22:0x0034] / JADX WARNING: Removed duplicated region for block: B:34:? A[RETURN, SYNTHETIC] / Code decompiled incorrectly, please r...
public static void sync() { /* int r0 = android.os.Build.VERSION.SDK_INT r1 = 24 if (r0 >= r1) goto L_0x001f java.io.File r0 = new java.io.File java.lang.String r1 = mStrPath r0.<init>(r1) r2 = 0 java.io.FileInputStr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final synchronized void mo5320b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r6 = this;\n monitor-enter(r6);\n r0 = r6.f24853c;\t Catch:{ all -> 0x004c }\n r1 = 0;\t Catch:{ all -> 0x004c }\n r2 = 0;\t Catch:...
[ "0.5472078", "0.52876776", "0.5269523", "0.5223116", "0.52155834", "0.52147436", "0.5196659", "0.5188886", "0.5184291", "0.5176701", "0.51739", "0.5155827", "0.51343125", "0.512717", "0.5114993", "0.5112251", "0.5109731", "0.5090581", "0.50843996", "0.50736606", "0.5065", "...
0.0
-1
Each nonnill element should have a value that is i + 10j + 100k Add 1000 to each correct value encountered.
public int[][][] testIntArray(int[][][] in) throws java.rmi.RemoteException { for (int i=0; i < in.length; i++) { int[][] array2 = in[i]; if (array2 != null) for (int j=0; j < array2.length; j++) { int[] array3 = array2[j]; if (arra...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void arrayIncreaaseSize(MyArrayList myArrayList, Results results) {\r\n int old_size = myArrayList.length();\r\n int value;\r\n Random rand = new Random();\r\n \r\n for(int i=0; i<50; i++) {\r\n value = rand.nextInt(10000);\r\n if(value < 0) {\r\n ...
[ "0.5535954", "0.5417161", "0.5399822", "0.5311607", "0.52667826", "0.52642155", "0.52584225", "0.5256057", "0.5237545", "0.52301776", "0.522671", "0.5224691", "0.5215621", "0.52126175", "0.5211763", "0.5211182", "0.5156273", "0.5154464", "0.5150072", "0.5145069", "0.5135357",...
0.0
-1
Each nonnill element should have a value that is i + 10j + 100k Add 1000 to each correct value encountered.
public test.wsdl.marrays.Foo[][][] testFooArray(test.wsdl.marrays.Foo[][][] in) throws java.rmi.RemoteException { for (int i=0; i < in.length; i++) { Foo[][] array2 = in[i]; if (array2 != null) for (int j=0; j < array2.length; j++) { Foo[] array3 = arr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void arrayIncreaaseSize(MyArrayList myArrayList, Results results) {\r\n int old_size = myArrayList.length();\r\n int value;\r\n Random rand = new Random();\r\n \r\n for(int i=0; i<50; i++) {\r\n value = rand.nextInt(10000);\r\n if(value < 0) {\r\n ...
[ "0.5535954", "0.5417161", "0.5399822", "0.5311607", "0.52667826", "0.52642155", "0.52584225", "0.5256057", "0.5237545", "0.52301776", "0.522671", "0.5224691", "0.5215621", "0.52126175", "0.5211763", "0.5211182", "0.5156273", "0.5154464", "0.5150072", "0.5145069", "0.5135357",...
0.0
-1
Interface containing parameters for movements
public interface MovementParameters { /** * Value to make the robot steer right on its center */ static final int STEER_RIGHT = -200; /** * Value to make the robot steer left on its center */ static final int STEER_LEFT = 200; /** * Angular speed of the robot for rotations in degrees / sec */ static ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tvoid move(int x, int y) {\n\n\t}", "public interface Moveable {\n\n // move method with paramaters for the player to move to.\n void move(int dx, int dy);\n\n // moveTo method adjusts the parameter for the player in the ArrayLists.\n void moveTo(int dx, int dy);\n\n // stepCounter Arr...
[ "0.6926093", "0.6911955", "0.68534535", "0.684335", "0.67694163", "0.67673105", "0.66794026", "0.6674906", "0.66519046", "0.6600963", "0.6600963", "0.6572175", "0.6567911", "0.6553788", "0.6550644", "0.6550644", "0.6550644", "0.6550644", "0.6550644", "0.6550644", "0.6550644",...
0.69644
0
Sort tasks by the color
private void sortByColor(String color) { printedTasks = new ArrayList<>(this.tasks); if (color != null) { ArrayList<Task> tmp = new ArrayList<>(printedTasks); for (Task task : tmp) { System.out.println("color : " + Color.parseColor(color) + "|" + task.getColor())...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void sortTasks() {\n tasks.sort(null);\n }", "public void sort() {\n Collections.sort(tasks);\n }", "public static void sortColors(int[] A) {\n int redPos=0,bluePos = A.length-1;\n int i=0;\n while(i<bluePos+1){\n \tswitch (A[i]) {\n\t\t\tcase 0:\n\t\t\t\t...
[ "0.6661525", "0.6641708", "0.61709833", "0.60809314", "0.5864743", "0.5830203", "0.57672685", "0.5740086", "0.570163", "0.57015204", "0.5673831", "0.5653845", "0.5642427", "0.56216985", "0.5586238", "0.55761874", "0.55385643", "0.5481109", "0.5476764", "0.54734087", "0.543750...
0.83381397
0
Open new note activity
private void openNewActivity() { Intent intent = new Intent(this, NewNoteActivity.class); startActivityForResult(intent, SECOND_ACTIVITY_REQUEST); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void openNote(Note note, int position);", "@Override\n public void onClick(View view) {\n Intent intent = new Intent(MainActivity.this, CreateNoteActivity.class);\n startActivity(intent);\n }", "public void addNewNote(MenuItem item){\n \t\tIntent intent = new...
[ "0.7683327", "0.69559497", "0.6812595", "0.67839223", "0.6761331", "0.66264385", "0.6616507", "0.660232", "0.6563046", "0.6400558", "0.6381722", "0.6311762", "0.626539", "0.6262", "0.6240015", "0.6230297", "0.6042305", "0.6010939", "0.59970504", "0.5976351", "0.59759927", "...
0.7148393
1
Edit a task and open New Note Activity
private void editElement(int position) { Intent intent = new Intent(this, NewNoteActivity.class); Task t = this.printedTasks.get(position); intent.putExtra("id", t.getUid()); intent.putExtra("intitule", t.getIntitule()); intent.putExtra("description", t.getDescription()); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void showTodoViewToEdit(Task task);", "public void editTask(String newTask) {\n task = newTask;\n }", "void editTask(ReadOnlyTask taskToEdit, Name taskName, Date startDate, Date endDate, Priority priority,\n\t\t\tRecurrenceRate recurrenceRate);", "@Override\n public void onEditClick(Tasks tasks)...
[ "0.7761471", "0.73421365", "0.7065456", "0.67948544", "0.6669262", "0.6598041", "0.6567532", "0.6499476", "0.64868444", "0.64619493", "0.63162136", "0.6312764", "0.63101757", "0.6270785", "0.62401175", "0.6228549", "0.6225071", "0.6171614", "0.61698574", "0.615636", "0.611394...
0.6271294
13
Open a dialog when long press on app
private void openDialog(final int position) { AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setTitle("Que voulez-vous faire ?"); if (this.printedTasks.get(position).getUrl() != null && this.printedTasks.get(position).getUrl().matches("https?://(www\\.)?[-a-zA-Z0-9@:%._+~#...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public boolean onLongClick(int x, int y, int pointer, int button) {\r\n return true;\r\n }", "@Override\n public boolean onLongClick(View view) {\n view.setOnTouchListener(new AppTouchListener());\n return false;\n }", "@Override\n\...
[ "0.7123444", "0.6930342", "0.69024295", "0.683368", "0.6827459", "0.68105274", "0.68105274", "0.6777987", "0.6702095", "0.6624862", "0.6624862", "0.6623463", "0.66148144", "0.66148144", "0.66148144", "0.65760505", "0.6568543", "0.6566278", "0.6549986", "0.6547676", "0.6533063...
0.0
-1
Set up swipe to delete
private void setUpRecyclerView() { ItemTouchHelper itemTouchHelper = new ItemTouchHelper(new SwipeToDeleteCallback(this)); itemTouchHelper.attachToRecyclerView(recyclerView); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void bindSwipeToDelete() {\n ItemTouchHelper itemTouchHelper = new\n ItemTouchHelper(new SwipeToDeleteCallback(getContext(),basketListAdapter));\n itemTouchHelper.attachToRecyclerView(binding.recyclerViewVirtualBasket);\n }", "void onItemDelete(int position);", "void onD...
[ "0.64365715", "0.6308204", "0.62908226", "0.6280911", "0.6226", "0.6216938", "0.61947286", "0.617339", "0.60482824", "0.60332626", "0.5970398", "0.59667313", "0.5937734", "0.5917748", "0.58466434", "0.58456814", "0.58329725", "0.5829733", "0.58257747", "0.5820766", "0.5816445...
0.55160797
61
reimplement me if you want
protected JSONObject getJsOptions(final Locale locale) throws JSONException { return new JSONObject(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void anular() {\n...
[ "0.61891884", "0.61540353", "0.6152206", "0.6105738", "0.60897595", "0.6084911", "0.6021766", "0.60213816", "0.5975743", "0.5961241", "0.5961241", "0.59004766", "0.5880649", "0.58660567", "0.5853548", "0.5853548", "0.584348", "0.5836491", "0.5828992", "0.5824186", "0.5821988"...
0.0
-1
implement me if you want
protected void initializeComponent() throws JSONException { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t...
[ "0.60679215", "0.60463643", "0.5996191", "0.59907955", "0.59650207", "0.59494174", "0.5948835", "0.59184366", "0.58881474", "0.58881474", "0.5868542", "0.5780842", "0.5764888", "0.5760821", "0.5750147", "0.5729884", "0.5719217", "0.5710261", "0.5683074", "0.5661139", "0.56390...
0.0
-1
implement me if you want
protected void prepareComponentView(final Map<String, Object> map, final Locale locale) throws JSONException { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t...
[ "0.60679215", "0.60463643", "0.5996191", "0.59907955", "0.59650207", "0.59494174", "0.5948835", "0.59184366", "0.58881474", "0.58881474", "0.5868542", "0.5780842", "0.5764888", "0.5760821", "0.5750147", "0.5729884", "0.5719217", "0.5710261", "0.5683074", "0.5661139", "0.56390...
0.0
-1
Save current theme to use when user press dismiss inside dialog
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { sharedPreferences = getActivity().getSharedPreferences("VALUES", Context.MODE_PRIVATE); currentTheme = sharedPreferences.getInt("THEME", 0); //inflate theme_dialog.xml view ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onDismiss(DialogInterface dialog) {\n if (color.equals(getString(R.string.pref_theme_default)))\n resetAppIcon();\n else if (color.equals(getString(R.string.pref_theme_blue)))\n enableBlue();\...
[ "0.7049666", "0.6826813", "0.65641373", "0.64882755", "0.6449694", "0.62882686", "0.60726345", "0.6045986", "0.5987015", "0.5979559", "0.59782004", "0.59535086", "0.59494233", "0.5936126", "0.5911828", "0.5875364", "0.5850841", "0.5846853", "0.58426225", "0.5821372", "0.57823...
0.57478005
22
Initialize your data structure here.
public MyQueue232() { stackIn = new Stack<Integer>(); stackOut = new Stack<Integer>(); isIn = true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initData() {\n }", "private void initData() {\n\t}", "private void initData() {\n\n }", "public void initData() {\n }", "public void initData() {\n }", "@Override\n\tpublic void initData() {\n\n\n\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\...
[ "0.79946685", "0.7973242", "0.7808862", "0.77763873", "0.77763873", "0.7643394", "0.76371324", "0.76371324", "0.76371324", "0.76371324", "0.76371324", "0.76371324", "0.75553316", "0.7543321", "0.7543321", "0.75426376", "0.75426376", "0.75426376", "0.7532583", "0.75228804", "0...
0.0
-1
Push element x to the back of queue.
public void push(int x) { if (isIn) { stackIn.push(x); } else { while (!stackOut.empty()) { stackIn.push(stackOut.pop()); } stackIn.push(x); isIn = true; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void push(int x) {\n queue.addLast(x);\n }", "public void push(int x) {\n queue.addLast(x);\n }", "public void push(int x) {\n if (!reverseQueue.isEmpty()) {\n normalQueue.offer(reverseQueue.poll());\n }\n normalQueue.offer(x);\n }", "publ...
[ "0.82624036", "0.8259673", "0.81935894", "0.81571823", "0.80487853", "0.8009802", "0.7990561", "0.79842633", "0.79804295", "0.7975267", "0.7919498", "0.78962463", "0.7856843", "0.78444326", "0.7841012", "0.77275115", "0.7722426", "0.7722426", "0.76359296", "0.76308316", "0.76...
0.65448636
78
Removes the element from in front of queue and returns that element.
public int pop() { if (!isIn) { return stackOut.pop(); } else { while (!stackIn.empty()) { stackOut.push(stackIn.pop()); } isIn = false; return stackOut.pop(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public synchronized Object removeFirstElement() {\n return _queue.remove(0);\n }", "public E remove(){\r\n if(isEmpty())\r\n return null;\r\n \r\n //since the array is ordered, the highest priority will always be at the end of the queue\r\n //--currentSize will fi...
[ "0.7710383", "0.767744", "0.7632147", "0.7572486", "0.7529685", "0.75053036", "0.7495563", "0.7455531", "0.74506617", "0.74362785", "0.74324703", "0.74064606", "0.73923665", "0.7384324", "0.73561954", "0.73264414", "0.7326095", "0.7309975", "0.7303639", "0.730135", "0.7294155...
0.0
-1
Get the front element.
public int peek() { if (!isIn) { return stackOut.peek(); } else { while (!stackIn.empty()) { stackOut.push(stackIn.pop()); } isIn = false; return stackOut.peek(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Object getFront() throws Exception {\n\t\tif(data[front]!=null)\n\t\t\n\t\t return data[front];\n\t\treturn null;\n\t}", "public int getFront() {\n return !isEmpty() ? elements[last - 1] : -1;\n }", "@Override\n\tpublic E getFront() {\n\t\treturn data[front];\n\t}", "public T getFront();"...
[ "0.7788042", "0.77603334", "0.77359986", "0.770913", "0.7659393", "0.7649537", "0.76232344", "0.7567912", "0.7567317", "0.75489664", "0.754895", "0.75468546", "0.75373614", "0.75340813", "0.7465325", "0.7453483", "0.73273367", "0.7313527", "0.7309557", "0.73002553", "0.719587...
0.0
-1
Returns whether the queue is empty.
public boolean empty() { if (stackIn.empty() && stackOut.empty()) { return true; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean is_empty() {\n\t\tif (queue.size() <= 0) {\n\t\t\treturn true;\n\t\t}\n\t\telse {\n\t\t\treturn false;\n\t\t}\n\t}", "public boolean isEmpty() {\n return this.queue.size() == 0;\n }", "public boolean isEmpty() {\n\t\treturn queue.isEmpty();\n\t}", "public boolean isEmpty() {\n\t\tret...
[ "0.9061608", "0.8914194", "0.8852499", "0.8852499", "0.8815682", "0.8810445", "0.87997335", "0.8791669", "0.8790852", "0.87563825", "0.87563825", "0.87563825", "0.87563825", "0.87563825", "0.87563825", "0.87563825", "0.8689962", "0.8680233", "0.8680233", "0.8680233", "0.86802...
0.0
-1
the best, bottomup by copying
public static boldTree boldSubTreeCopy(boldTree root) { if (root == null) return null; boldTree tmp = copy(root); for(boldTree c : root.getChildren()){ if(boldSubTreeCopy(c) != null){ tmp.addChild(c); } } if(tmp.isBold ||tmp.g...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Object getBest();", "public double getBestHeight() { return getBestHeight(-1); }", "public T peekBest();", "void merge_hi(int pa, int na, int pb, int nb) {\n getmem(nb);\n int dest = pb + nb - 1;\n int basea = pa;\n System.arraycopy(this.data, pb, this.a, 0, nb);\n \n ...
[ "0.61720467", "0.5864603", "0.571838", "0.56562394", "0.55970734", "0.559204", "0.55456644", "0.55360985", "0.552384", "0.55066764", "0.5470324", "0.5450564", "0.54172254", "0.5403932", "0.53813493", "0.5342174", "0.53114545", "0.52748126", "0.5262961", "0.52628696", "0.52379...
0.0
-1
track nonbold node and remove, topdown approach
public static boldTree extractBoldSubTree(boldTree root) { if (root == null) { return null; } Queue<boldTree> currentLevel = new LinkedList<boldTree>(); Queue<boldTree> nextLevel = new LinkedList<boldTree>(); HashMap<boldTree, List<boldTree>> nonBoldNodeList = new Ha...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void unsetBold()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(BOLD$4, 0);\n }\n }", "private void unhilitNode()\n {\n\tif (hilited==null) return;\n\tGraphics g = getGraphics();\n\tsetRenderColor(g,Color.black);\n\tr...
[ "0.6600848", "0.6476621", "0.6189994", "0.61117285", "0.6069311", "0.6045243", "0.5986487", "0.59758687", "0.59701234", "0.596938", "0.59609413", "0.59568995", "0.590679", "0.58946574", "0.5881212", "0.5880835", "0.58318913", "0.581703", "0.57939804", "0.57915914", "0.5755868...
0.5415868
63
Log.d(TAG, "MyOnKeyListener=== keyCode:" + keyCode + " === event:" + event + " === v.getId():" + v.getId());
@Override public boolean onKey(View v, int keyCode, KeyEvent event) { switch (event.getAction()) { case KeyEvent.ACTION_UP: // 键盘松开 break; case KeyEvent.ACTION_DOWN: // 键盘按下 if (keyCode == KeyEvent.KEYCODE_DPAD_DOWN) { int id = v.getId(); if (id == R.id.vd_bg_10 || id == R.id.vd_bg_11 || i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void keyPressed( KeyEvent e ) { }", "@Override\n\tpublic void onKey(KeyEvent e) {\n\n\t}", "public void keyPressed(KeyEvent e) { }", "@Override\r\n public void keyPressed(KeyEvent e) {\n\r\n }", "@Override\n public void onKeyPressed(KeyEvent event) {\n }", "@Override\n public vo...
[ "0.7015292", "0.6935596", "0.6814736", "0.67924803", "0.6789451", "0.6763805", "0.6763805", "0.67367274", "0.6732693", "0.67009616", "0.66967785", "0.6657096", "0.66498905", "0.66498905", "0.6648481", "0.66398", "0.6618539", "0.6618539", "0.6618539", "0.66128933", "0.6612005"...
0.0
-1
Get the id property: Customization policy azure id.
public String id() { return this.id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String id() {\n return getString(FhirPropertyNames.PROPERTY_ID);\n }", "public String id() {\n return getString(FhirPropertyNames.PROPERTY_ID);\n }", "public String id() {\n return getString(FhirPropertyNames.PROPERTY_ID);\n }", "public String id()...
[ "0.66673666", "0.66673666", "0.66673666", "0.66673666", "0.66673666", "0.66673666", "0.66673666", "0.65352625", "0.6474097", "0.63411677", "0.6172288", "0.6160121", "0.6136689", "0.60241216", "0.60241216", "0.60241216", "0.60241216", "0.60241216", "0.60241216", "0.60241216", ...
0.0
-1
Set the id property: Customization policy azure id.
public CustomizationPolicyInner withId(String id) { this.id = id; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setId(Object id) {\n this.id = id;\n }", "public void setId(Object id) {\n this.id = id;\n }", "private void setId(int value) {\n \n id_ = value;\n }", "public void setId(int id) {\n this.id = String.valueOf(this.hashCode());\n }", "private void setId(int va...
[ "0.6409498", "0.6409498", "0.62969756", "0.6266113", "0.6235373", "0.62007576", "0.6170779", "0.61697215", "0.61697215", "0.61697215", "0.6165064", "0.6161773", "0.61451954", "0.6135012", "0.61342084", "0.61322224", "0.61315185", "0.6121947", "0.61148554", "0.61148554", "0.61...
0.6558325
0
Get the location property: Azure region.
public String location() { return this.location; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getRegion() {\n return region;\n }", "public String getRegion() {\n return region;\n }", "private Location getRegion() {\n Set<? extends Location> locations = blobStore.listAssignableLocations();\n if (!(swiftRegion == null || \"\".equals(swiftRegion))) {\n for (L...
[ "0.7229188", "0.7229188", "0.72250754", "0.7194026", "0.7194026", "0.7194026", "0.7194026", "0.7194026", "0.71420115", "0.71420115", "0.71420115", "0.7134475", "0.71011955", "0.70126975", "0.6945062", "0.69369066", "0.69016266", "0.68910015", "0.68901646", "0.6885316", "0.675...
0.0
-1
Set the location property: Azure region.
public CustomizationPolicyInner withLocation(String location) { this.location = location; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setRegion(String region);", "public void setRegion(Region region) {\n this.region = region;\n }", "public void setRegion(String region) {\n this.region = region;\n }", "public void setRegion(String region) {\r\n this.region = region;\r\n }", "public void setRegion(String...
[ "0.6896604", "0.6829093", "0.67815095", "0.6723884", "0.6723884", "0.6723884", "0.6700954", "0.66472214", "0.66472214", "0.66472214", "0.6599448", "0.65568656", "0.6392218", "0.6389224", "0.6389224", "0.6370723", "0.6327725", "0.6088745", "0.6080292", "0.6073249", "0.6047654"...
0.0
-1
Get the name property: Customization policy name.
public String name() { return this.name; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Attribute(order = 100, validators = { RequiredValueValidator.class })\n\t\tString policyName();", "public String getCustomName ( ) {\n\t\treturn extract ( handle -> handle.getCustomName ( ) );\n\t}", "public String getName() {\n return getProperty(Property.NAME);\n }", "public com.commercetools.api.mode...
[ "0.74767125", "0.7369564", "0.70801586", "0.6942442", "0.68545264", "0.6825029", "0.67861867", "0.6778593", "0.6773355", "0.6773355", "0.6773355", "0.6773355", "0.6773355", "0.6773355", "0.6773355", "0.6773355", "0.6773355", "0.6773355", "0.6773355", "0.6773355", "0.6773355",...
0.0
-1
Get the type property: The type property.
public String type() { return this.type; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public TLPropertyType getType() {\n return type;\n }", "public String getType() {\n return (String) getObject(\"type\");\n }", "public StringProperty typeProperty() {\n return type.getHint().textProperty();\n }", "public Type getType() {\n\t\treturn type;\n\t}", "public Type g...
[ "0.8003081", "0.78489065", "0.76340604", "0.7613549", "0.7613549", "0.7601559", "0.75872016", "0.75818294", "0.75818294", "0.75818294", "0.75818294", "0.75818294", "0.75818294", "0.75818294", "0.75818294", "0.75818294", "0.75818294", "0.75818294", "0.7568026", "0.7558185", "0...
0.0
-1
Get the description property: Policy description.
public String description() { return this.description; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@ApiModelProperty(value = \"String describing the policy\")\n public String getDescription() {\n return description;\n }", "public String getDescription() {\n return getProperty(Property.DESCRIPTION);\n }", "public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}", "pu...
[ "0.8463823", "0.74418974", "0.7253353", "0.7253353", "0.7253353", "0.7253353", "0.72152585", "0.7193638", "0.71806246", "0.716623", "0.7162298", "0.71548367", "0.71548367", "0.71548367", "0.71548367", "0.71548367", "0.7148006", "0.71470195", "0.71466845", "0.71466845", "0.714...
0.0
-1
Set the description property: Policy description.
public CustomizationPolicyInner withDescription(String description) { this.description = description; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDescription(String description) {\n\t\tLOGGER.debug(\"SecurityObject#setDescription [description=\" + description + \"]\");\n\n\t\tthis.description = description;\n\t}", "public void setDescription(String value) {\n this.description = value;\n }", "public void setDescription(String val...
[ "0.74253297", "0.7424926", "0.74224603", "0.7397317", "0.73963916", "0.73959434", "0.73959434", "0.7372755", "0.73704344", "0.73704344", "0.73704344", "0.73704344", "0.73704344", "0.7370351", "0.7370351", "0.7370351", "0.7370351", "0.7370351", "0.7370351", "0.7370351", "0.736...
0.0
-1
Get the privateCloudId property: The Private cloud id.
public String privateCloudId() { return this.privateCloudId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCloudUuid() {\n return cloudUuid;\n }", "@Accessor(qualifier = \"privateKey\", type = Accessor.Type.GETTER)\n\tpublic String getPrivateKey()\n\t{\n\t\treturn getPersistenceContext().getPropertyValue(PRIVATEKEY);\n\t}", "public String getPrivateKey() {\n return privateKey;\n ...
[ "0.6328559", "0.60145247", "0.60084116", "0.60084116", "0.60084116", "0.5991214", "0.59404474", "0.5868583", "0.5827254", "0.58003277", "0.5589478", "0.558243", "0.55650705", "0.5548899", "0.5493959", "0.54798985", "0.546774", "0.54668367", "0.5466151", "0.54284966", "0.54275...
0.89431465
0
Set the privateCloudId property: The Private cloud id.
public CustomizationPolicyInner withPrivateCloudId(String privateCloudId) { this.privateCloudId = privateCloudId; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String privateCloudId() {\n return this.privateCloudId;\n }", "public void setPrivateKey(String privateKey) {\n this.privateKey = privateKey;\n }", "public void setPrivateKey(String privateKey) {\n this.privateKey = privateKey;\n }", "public void setPrivateKey(String priv...
[ "0.7314242", "0.5977519", "0.5977519", "0.5977519", "0.5960191", "0.5943114", "0.5902804", "0.5833285", "0.57004327", "0.56878936", "0.56849694", "0.56340486", "0.55065036", "0.5442263", "0.53080964", "0.52671534", "0.5252609", "0.51492834", "0.50543815", "0.5052966", "0.5015...
0.68246937
1
Get the specification property: Detailed customization policy specification.
public CustomizationSpecification specification() { return this.specification; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getSpecification() {\n return specification;\n }", "public String getSpecification() {\n return specification;\n }", "public String getSpecification() {\n return specification;\n }", "public java.lang.String getTechnicalSpecification () {\n\t\treturn technicalSpeci...
[ "0.71421665", "0.71421665", "0.71421665", "0.7068761", "0.6918046", "0.6589004", "0.6462209", "0.6159546", "0.6159546", "0.60912055", "0.60334164", "0.59835696", "0.58428967", "0.57708067", "0.5728295", "0.5663923", "0.5617993", "0.56064254", "0.5595214", "0.5537313", "0.5530...
0.76779056
0
Set the specification property: Detailed customization policy specification.
public CustomizationPolicyInner withSpecification(CustomizationSpecification specification) { this.specification = specification; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSpecification(String specification) {\n this.specification = specification;\n }", "public final void setSpecification(java.lang.String specification)\n\t{\n\t\tsetSpecification(getContext(), specification);\n\t}", "public final void setSpecification(final SpecificationVo specification)...
[ "0.68870735", "0.6749561", "0.6731885", "0.66161543", "0.66119003", "0.64381963", "0.63995755", "0.6314815", "0.61833984", "0.60473555", "0.6019668", "0.6019668", "0.6019668", "0.59617394", "0.59114385", "0.58389145", "0.5759814", "0.5686433", "0.5642718", "0.55565786", "0.54...
0.6382647
7
Get the typePropertiesType property: The type of customization (Linux or Windows).
public CustomizationPolicyPropertiesType typePropertiesType() { return this.typePropertiesType; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String getType() {\n type = getProperty(\"type\");\n if (type == null) type = \"png\";\n return type;\n }", "SystemPropertiesType createSystemPropertiesType();", "public TLPropertyType getType() {\n return type;\n }", "public int getPropertyType() {\n\t\treturn...
[ "0.7252079", "0.68062294", "0.67208284", "0.64851725", "0.64636266", "0.6358758", "0.6351301", "0.6348231", "0.6347719", "0.6347719", "0.6347719", "0.6347719", "0.6347719", "0.6347719", "0.6347719", "0.6347719", "0.6347719", "0.6347719", "0.6347719", "0.6347719", "0.6347719",...
0.7355436
0
Set the typePropertiesType property: The type of customization (Linux or Windows).
public CustomizationPolicyInner withTypePropertiesType(CustomizationPolicyPropertiesType typePropertiesType) { this.typePropertiesType = typePropertiesType; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "final public void setType(String type)\n {\n setProperty(TYPE_KEY, (type));\n }", "public static void setType(String type) {\n Globals.type = type;\n setProperty(\"type\", type);\n }", "PropertyType(String propertyType) {\n this.propertyType = propertyType;\n }", "public void setTyp...
[ "0.68889", "0.653872", "0.63628995", "0.6334244", "0.6292477", "0.6291106", "0.62054175", "0.61895", "0.61678946", "0.61678946", "0.61678946", "0.6148539", "0.6142307", "0.6142307", "0.6142307", "0.6142307", "0.6141969", "0.6141071", "0.6137377", "0.61177224", "0.6111286", ...
0.59429437
84
Get the version property: Policy version.
public String version() { return this.version; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getVersionConstraint() {\n return version;\n }", "public Number getVersion() {\n return (Number) getAttributeInternal(VERSION);\n }", "public Long getVersion() {\n return version;\n }", "public Long getVersion() {\n return version;\n }", "public Long getVersi...
[ "0.7210022", "0.70951366", "0.7093565", "0.7093565", "0.7093565", "0.7093565", "0.70746034", "0.70689493", "0.70689493", "0.70689493", "0.70689493", "0.70689493", "0.70689493", "0.70257545", "0.70001584", "0.70001584", "0.70001584", "0.70001584", "0.70001584", "0.69998765", "...
0.6651585
86
Set the version property: Policy version.
public CustomizationPolicyInner withVersion(String version) { this.version = version; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setVersion(String version);", "public void setVersion(String version)\n {\n this.ver = version;\n }", "public void setVersion(int version)\n {\n encryptionDictionary.setInt( \"V\", version );\n }", "void setVersion(String version);", "void setVersion(String version);",...
[ "0.71798736", "0.712637", "0.7121085", "0.7092554", "0.7092554", "0.707542", "0.707542", "0.706197", "0.701458", "0.7007337", "0.700427", "0.70004576", "0.6972937", "0.6972937", "0.6972937", "0.6972937", "0.6972937", "0.6972937", "0.69694495", "0.6959363", "0.69571644", "0....
0.63137853
60
TODO code application logic here
public static void main(String[] args) throws IOException { File archivo = new File("/Users/Germayn/Documents/NetBeansProjects/busquedalineal/archivoprueba.txt"); Scanner teclado = new Scanner(System.in); System.out.println("palabra a buscar"); String palabra = tec...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\n public void settings() {\n // TODO Auto-generated method stub\n \n }"...
[ "0.60802186", "0.5912082", "0.58425087", "0.58339286", "0.5810548", "0.57580656", "0.57396024", "0.5721001", "0.5705411", "0.5666017", "0.5657976", "0.5613798", "0.5611188", "0.5611188", "0.55960613", "0.55933475", "0.557677", "0.5572332", "0.5565667", "0.55482084", "0.553657...
0.0
-1
Given an initialized PlaylistPresenter with initialized tasks When loading of Tasks is requested
@Test public void loadAllTasksFromRepositoryAndLoadIntoView() { mPlaylistPresenter.setFiltering(PlaylistFilterType.ALL_TASKS); mPlaylistPresenter.loadTasks(true); // Callback is captured and invoked with stubbed tasks verify(mSongsRepository).getSongs(mLoadTasksCallbackCaptor.captur...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void loadActiveTasksFromRepositoryAndLoadIntoView() {\n mPlaylistPresenter.setFiltering(PlaylistFilterType.ACTIVE_TASKS);\n mPlaylistPresenter.loadTasks(true);\n\n // Callback is captured and invoked with stubbed tasks\n verify(mSongsRepository).getSongs(mLoadTasksCall...
[ "0.7131573", "0.70076406", "0.6248031", "0.60618234", "0.60288596", "0.5976715", "0.59391797", "0.5883644", "0.5865815", "0.5861664", "0.5843631", "0.5819847", "0.57833445", "0.57765275", "0.5745233", "0.57125103", "0.5686196", "0.5683099", "0.56753314", "0.5674572", "0.56742...
0.71981347
0
Given an initialized PlaylistPresenter with initialized tasks When loading of Tasks is requested
@Test public void loadActiveTasksFromRepositoryAndLoadIntoView() { mPlaylistPresenter.setFiltering(PlaylistFilterType.ACTIVE_TASKS); mPlaylistPresenter.loadTasks(true); // Callback is captured and invoked with stubbed tasks verify(mSongsRepository).getSongs(mLoadTasksCallbackCaptor....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void loadAllTasksFromRepositoryAndLoadIntoView() {\n mPlaylistPresenter.setFiltering(PlaylistFilterType.ALL_TASKS);\n mPlaylistPresenter.loadTasks(true);\n\n // Callback is captured and invoked with stubbed tasks\n verify(mSongsRepository).getSongs(mLoadTasksCallbackCa...
[ "0.71981347", "0.70076406", "0.6248031", "0.60618234", "0.60288596", "0.5976715", "0.59391797", "0.5883644", "0.5865815", "0.5861664", "0.5843631", "0.5819847", "0.57833445", "0.57765275", "0.5745233", "0.57125103", "0.5686196", "0.5683099", "0.56753314", "0.5674572", "0.5674...
0.7131573
1
Given an initialized PlaylistPresenter with initialized tasks When loading of Tasks is requested
@Test public void loadCompletedTasksFromRepositoryAndLoadIntoView() { mPlaylistPresenter.setFiltering(PlaylistFilterType.COMPLETED_TASKS); mPlaylistPresenter.loadTasks(true); // Callback is captured and invoked with stubbed tasks verify(mSongsRepository).getSongs(mLoadTasksCallbackC...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void loadAllTasksFromRepositoryAndLoadIntoView() {\n mPlaylistPresenter.setFiltering(PlaylistFilterType.ALL_TASKS);\n mPlaylistPresenter.loadTasks(true);\n\n // Callback is captured and invoked with stubbed tasks\n verify(mSongsRepository).getSongs(mLoadTasksCallbackCa...
[ "0.7196331", "0.71295613", "0.625195", "0.60630596", "0.6032186", "0.5978873", "0.5938995", "0.5880999", "0.5863325", "0.58584714", "0.5845079", "0.5819935", "0.5780244", "0.57747465", "0.57424855", "0.57092243", "0.5687655", "0.5682181", "0.56767917", "0.5675142", "0.5672936...
0.7005748
2