query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
dd8f02ae4aa9b6a0dc71b0a28ef816cf
Metodo en el que se elige un archivo y se pide su informacion al tracker, luego se registra el peer en el tracker
[ { "docid": "757d52db8951f0071ab13ac1d72d2a14", "score": "0.51554614", "text": "@SuppressWarnings(\"unchecked\")//No se coprueba el traspaso de objeto a arraylist<socket>\r\n\tprivate void pedir(){\r\n\r\n\t \ttry {\r\n str =\"pedir\";\r\n out.writeObject(str);\r\n\r\n ...
[ { "docid": "b2ec6fa175afccf28e9cb8dcadbf9538", "score": "0.57714", "text": "private void sendNeighborPeerInfo() {\n try {\n int peerId = oin.readInt(); //Read the peer ID\n\n //Send the config info for assigned peers\n transfer(FileOwner.assignedPeerConfigInfo);\n...
1374cd768d941a0ad4c042dee4706db4
Invoked when the JSP processor reaches the end tag
[ { "docid": "8734ee2c956ea91c86453105ee381e12", "score": "0.0", "text": "@Override\n\tpublic int doEndTag() throws JspException {\n\t\tCodePackageTag parent = (CodePackageTag) this.getParent();\n\t\tList<CodePackageEntry> files = parent.getCodePackage(parent.getKey())\n\t\t\t\t.getEntries();\n\t\tfiles.a...
[ { "docid": "171b8b2bc38beaae338ff0fcebffa86e", "score": "0.70620614", "text": "@Override\n\tpublic int doEndTag() {\n\t\treturn EVAL_PAGE;\n\t}", "title": "" }, { "docid": "16806ed7fd304c1cdc3c6b20bb2c0897", "score": "0.7055739", "text": "public int doEndTag() {\n return EVAL_PAGE...
d6fa9c935c6a633a9c18ff3dcabd361f
Whether it is complete or not
[ { "docid": "59cbc496cf8217ff69d72181133472a5", "score": "0.8399892", "text": "public boolean isComplete() {\n return complete;\n }", "title": "" } ]
[ { "docid": "274951dc10fb1af91c5baa6691eb2a18", "score": "0.9065695", "text": "boolean isComplete();", "title": "" }, { "docid": "274951dc10fb1af91c5baa6691eb2a18", "score": "0.9065695", "text": "boolean isComplete();", "title": "" }, { "docid": "90b0ede64983dcbea25cfdda88...
5e185150f8b61ce5105970ef4a853eb6
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.
[ { "docid": "644aef9dd2c8a3f47771308aba817d86", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jScrollPane1 = new javax.swing.JScrollPane();\n ...
[ { "docid": "0683d7c04886f33eb3de4cd0ed5cbadc", "score": "0.74528104", "text": "public Herrendjimi1() {\n initComponents();\n }", "title": "" }, { "docid": "a265c28895719fa5abe69bc5acb37bbf", "score": "0.7301242", "text": "public FormLat3() {\n initComponents();\n ...
f18c0d134ae522dceeb9e89773666ce6
Returns a new object of class 'Logical Name Type'.
[ { "docid": "1dc19ab65b2cede7b9ab9609fdc9affa", "score": "0.8782326", "text": "LogicalNameType createLogicalNameType();", "title": "" } ]
[ { "docid": "596dba1a610b7e1c4f0d0c71acb9fba7", "score": "0.74456054", "text": "NameType createNameType();", "title": "" }, { "docid": "e580eb03e0c1b1ebcc15497b8354b3c7", "score": "0.7010006", "text": "TypeNameType createTypeNameType();", "title": "" }, { "docid": "a64572c...
ba0e1063e3dbf97eda9f8b5e846e97b9
Hook method called at start of deleteSingle for an object. When overriding this hook has three possible exits: false: deleteSingle will return without futher actions. true: deleteSingle will continue. GenovaBaseException: deleteSingle will be aborted.
[ { "docid": "7265e1e4c926c113b3a191dae339bd19", "score": "0.72428817", "text": "protected boolean hookDeleteSingleStart(Student object, ClientContext ctx, Session session) {\n return true;\n }", "title": "" } ]
[ { "docid": "9632325c39aaf6f5d80c51301c22b28c", "score": "0.65412176", "text": "protected boolean hookDeleteStart(ObjectSelection objectSelection, Student targetObject, ClientContext ctx, Session session) {\n return true;\n }", "title": "" }, { "docid": "c862de92af9dafb41df69a362350...
3254093342030d1967186baaf07ff478
Sets the resource for which this notification is registered. Could be null, if the notification is defined based on a collection of resources using corresponding filters.
[ { "docid": "5fafbdb509e1a80620761a3cbd05614a", "score": "0.6008251", "text": "public void setResource(ABaseResource resource) {\n this.resource = resource;\n }", "title": "" } ]
[ { "docid": "e909fca2ec581fcb9bcb7c10342dd994", "score": "0.6358604", "text": "public void setResource(Resource resource) {\n\t\tthis.resource = resource;\n\t}", "title": "" }, { "docid": "499bf8be8654978e1cb7540958702410", "score": "0.6325649", "text": "public void setResource(String...
20acf403aa01170776202a7b77933fde
/ true iff the other object has the same identifying content and its class can be substituted for this one (Location)
[ { "docid": "f21c7da94b84d2a929ce871919f7cafb", "score": "0.6739849", "text": "@Override public boolean equals(Object other) {\n if(this == other) return true;\n if(!(other instanceof Location)) return false;\n Location that = (Location) other;\n return this.name.equals(that.name) &&\n t...
[ { "docid": "f8324b3d8e10dae3d4e87f6020a937b9", "score": "0.67271686", "text": "public boolean same(Location other) \n\t{\n\t\tif (xPos == other.getX() && yPos == other.getY()) \n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "ed61a02f9b35eff3c6e43df9bcb7...
f250311573fe523d30eefdc675daa88b
Directly invokes a method on the device and return its result.
[ { "docid": "877abe97f2493e9a41e98051eade946b", "score": "0.0", "text": "private synchronized MethodResult invokeMethod(\n URL url,\n String methodName,\n Long responseTimeoutInSeconds,\n Long connectTimeoutInSeconds,\n Object payload) throws IotHubException, IOExceptio...
[ { "docid": "c4961b1ea5700239d2bab17e1aa0e668", "score": "0.65469056", "text": "public void invoke();", "title": "" }, { "docid": "f67d4894fd576eb7b99e4d8c6336e147", "score": "0.63462627", "text": "void invoke();", "title": "" }, { "docid": "e66b43cb2f6118c2a26c3d4dbd796d4...
4240e8d7af1e21e4a3e4572b8a6040b6
Make this a constant so that it is easier to change ports
[ { "docid": "195ea839caa29d752283bc441dafb7b8", "score": "0.0", "text": "public static void main(String args[])\n\t{\n\t\t/*When the client is started on the command line, an argument may be given to denote\n\t\tthe machine to which the client will connect. If no argument is given, the client\n\t\twill ...
[ { "docid": "ac13701693eae822530f31f6cfab05e6", "score": "0.7657306", "text": "public int getPort() { return port;}", "title": "" }, { "docid": "3a4aef1f57e90bc65dbb57747d37816d", "score": "0.76179117", "text": "public int getPort();", "title": "" }, { "docid": "3a4aef1f57...
c0bf3c8a8ddbdf7cc746296a86d3417d
Gets the attribute value for HireDate, using the alias name HireDate.
[ { "docid": "a193cb7a849c20aa33864a687fb114bf", "score": "0.7354706", "text": "public Date getHireDate() {\n return (Date)getAttributeInternal(HIREDATE);\n }", "title": "" } ]
[ { "docid": "2c2d5b5013d8de405f7c78a1e5fe65d1", "score": "0.6925698", "text": "public Timestamp getHireDate() {\r\n return (Timestamp) getAttributeInternal(HIREDATE);\r\n }", "title": "" }, { "docid": "61fbacd19b7b0a8d71d66912f14caeb9", "score": "0.69097906", "text": "public...
cdd47ce3b5e4cd79647bdddd4f0e667e
/T t = new T(); t.output(new B()); t.output(new C()); t.output(new A());
[ { "docid": "8067de70d2daf4ff5b469889726e5aba", "score": "0.45688432", "text": "public static void main(String[] args) {\n\t\tA obj = new C();\n\t\tSystem.out.println(obj.x);\n\t\tobj.show();\n\t\tC c = (C)obj;\n\t\t//c.disp();\n\n\t}", "title": "" } ]
[ { "docid": "4c98bfb2ea8d122a2d11df9079431e42", "score": "0.5651108", "text": "public abstract Class<OUT> outputType();", "title": "" }, { "docid": "8678c00f55b8a0958f0274741cc7689a", "score": "0.55375665", "text": "public T caseOutput(Output object) {\n\t\treturn null;\n\t}", "ti...
aa6a823c4ccc52e3b386567097e76fcc
it turns the class into singleton class
[ { "docid": "4c8eb613ddc9b324e50df73c9e43f70d", "score": "0.0", "text": "public abstract Sticker_Dao sticker_dao();", "title": "" } ]
[ { "docid": "6c45b888a8f3a7327f7c99e44e193046", "score": "0.7667847", "text": "private SingletonClass() {\n\t\t\n\t}", "title": "" }, { "docid": "6e035167fecd7381bd63c2cafd289f68", "score": "0.7376281", "text": "private Singleton(){}", "title": "" }, { "docid": "6e035167f...
141ee5bdcc7170073e6b8276c854ad45
check if all dice has been used
[ { "docid": "6e69f5a4ef5e950138a4cecbce3ad5be", "score": "0.76111794", "text": "public boolean getAllDiceUsed() {\n return dice.getAllDiceUsed();\n }", "title": "" } ]
[ { "docid": "9bd98feb116bdb8479b24ae267a05c32", "score": "0.728205", "text": "private boolean isAbleToRollTheDices() {\n if (playerDM.getDicesIn().size() != 0 && playerDM.getDiceThrows() < playerDM.getMaxDiceThrows()) {\n return true;\n } else {\n return false;\n ...
f58f134d5b80ee7b2e4b57454bed590f
Constructor 1: to initialize numerator and denominator
[ { "docid": "40a3469ba6a7ff9d4176aed10a624e12", "score": "0.61729264", "text": "public Fraction(int num, int den){\r\n this.numerator = num;\r\n this.denominator = den;\r\n\r\n // Throws an exception if user enter 0 for the denominator value\r\n if (den == 0){\r\n t...
[ { "docid": "5e2fe4c1a9ff06f6f74e8ef82a22fc99", "score": "0.83176166", "text": "public Fraction()\n {\n numerator = 0;\n denominator = 1;\n }", "title": "" }, { "docid": "bc9e9ed715fae08c2c88b0a125e8253f", "score": "0.8161336", "text": "public Fraction(){\r\n this...
4510cff8502d266c9b762038005db0dc
This class defines TODO
[ { "docid": "4eddd0c908df3fbea33007b28dd2d6ff", "score": "0.0", "text": "public interface EavParamsService {\n\n\tpublic EavParams addEavParams(EavParamsDto dto);\n\n\tpublic EavParams updateParams(Integer idEavParams, EavParamsDto dto) throws EavEntryNotFoundException;\n\n\tpublic EavParams updateParams...
[ { "docid": "105eed2b91e102a65910497e3af265de", "score": "0.6947478", "text": "@Override\n\t\tpublic String pp() {\n\t\t\treturn \"todo\";\n\t\t}", "title": "" }, { "docid": "0be1ff93a13a45b31f8dfa4aa6f444e5", "score": "0.6652579", "text": "public ToDo(String description) {\n s...
5975ca7a54adc214b0513e654b518db0
Creates the build package.
[ { "docid": "ffe24433b791ee44be6d101fd6e14ca5", "score": "0.5695212", "text": "private String createBuildPackage(final EnumSet<Task> actualTasks,\n final String projectApps, final String settingsModule) throws IOException, InterruptedException {\n\n PrintStream logger = listener.getLogg...
[ { "docid": "efbedcd442050cb14eb6d0e40a4b4874", "score": "0.69951594", "text": "protected abstract void createPackage();", "title": "" }, { "docid": "18da6f8f43fa6cf43b035f3943c60a93", "score": "0.69925743", "text": "void createBuild(Build build, Project project);", "title": "" ...
c4b4dab69618ebd156b30fcdca15adbb
Test case number: 12 /Coverage entropy=0.6931471805599453
[ { "docid": "71256c37079e4ec3b12ef5378ee5d8fd", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test12() throws Throwable {\n ImprovedFile improvedFile0 = new ImprovedFile(\"_ZGP*RX0}.bMUF\", \"_ZGP*RX0}.bMUF\");\n improvedFile0.makeDirectories();\n ArchiveScanner archive...
[ { "docid": "d803bc45f9cbf86d01cf1a5ec1635c51", "score": "0.7220756", "text": "@Test(timeout = 4000)\n public void test088() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluatio...
b7714183a147a93890796344fc0cdc98
Convert feet to inches.
[ { "docid": "64ae9c586f371bbfb1ef0460dcf7eb5c", "score": "0.84966433", "text": "public static double feetToInches(double feet) {\n return feet * feetToInches;\n }", "title": "" } ]
[ { "docid": "2e99ef036a4ade365a12ad0b38edbff6", "score": "0.825738", "text": "public static double metersToInches(double feet) {\n return feet * metersToInches;\n }", "title": "" }, { "docid": "e956e9f09977b6f567bf7be025c718cf", "score": "0.79971576", "text": "public static ...
56343b78db00fe4fdf6c21720529db6c
Handles the HTTP POST method.
[ { "docid": "a4d6191746ad49b4def8ce5d514d3b1a", "score": "0.0", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" } ]
[ { "docid": "02d7f7ad122862cbcb1615ad8da463bc", "score": "0.7480866", "text": "@Override\n\tpublic void handlePost(HttpServletRequest request, HttpServletResponse response) {\n\n\t}", "title": "" }, { "docid": "6afc727f399cf61690cad5d06fd856af", "score": "0.7113048", "text": "public v...
bfe69d5fe17c5730821c7f569476b978
makes a noargument constructor to initialize the variables
[ { "docid": "b5c1af5bc0308c526f3f94990d75813e", "score": "0.0", "text": "Player() {\n\t\t\tname = team = \"\";\n\t\t\tgoals = 0;\n\t\t}", "title": "" } ]
[ { "docid": "2830fa6ce3e02cacac93949e153145fc", "score": "0.7443144", "text": "public ConstructorArgumentValues() {}", "title": "" }, { "docid": "837732c1565272651abaa978de946319", "score": "0.7216091", "text": "NoArgumentConstructor() { //No argument is passed to this constructor \r...
57bcfb3ba669f35d6eeaaa1c0a0f53de
Set the workspace resource set.
[ { "docid": "97549b33b1894b90e14754f0194c73de", "score": "0.69811773", "text": "void setResourceSet(ResourceSet resourceSet);", "title": "" } ]
[ { "docid": "1e3a844e4310e52f7fa025b36e7f099a", "score": "0.64408726", "text": "public void setWorkspace(Workspace w) { this.workspace = w; }", "title": "" }, { "docid": "c58307b4a3c0612d3e98f2e3ca887f74", "score": "0.59893024", "text": "public void setWorkingSets (IWorkingSet [] work...
6aff844798e3b33cf28881b65ac70a18
Test of main method, of class myPet.
[ { "docid": "b54af79c9337ada310388349510529a4", "score": "0.83827364", "text": "@Test\r\n public void testMain() {\r\n System.out.println(\"main\");\r\n String[] args = null;\r\n myPet.main(args);\r\n // TODO review the generated test code and remove the default call to fai...
[ { "docid": "6426aef2866e376be300daaa712b8340", "score": "0.7374146", "text": "@Test\n public void testNewPet()\n {\n assertEquals(\"Tom\", petTest.getName());\n assertEquals(10, petTest.getMoney());\n assertEquals(100, petTest.getMaxWeight());\n assertEquals(0, petTest....
fc92d72cef4dc00bd5cc68ef0596924b
add component to control panel.
[ { "docid": "b439f276a9ca49ec5aea3bd70e4d35e9", "score": "0.8118189", "text": "public void addToPanel(Component comp) {\n controlPanel.add(comp);\n }", "title": "" } ]
[ { "docid": "799a6bbdedc95b9dfc7c1914457b19ac", "score": "0.7436996", "text": "@Override\r\n public void addToPanel() {\r\n panel.add(scrollPane);\r\n panel.add(button);\r\n }", "title": "" }, { "docid": "07f50660f53a7bb4c9e2a669f64764bc", "score": "0.7383708", "te...
04584ac7ac8b31a7fdb828b639e21c88
Getter and setters methods
[ { "docid": "d5cf953be10b17bd6ee435af6c27e034", "score": "0.0", "text": "public String getClientName() {\n return clientName;\n }", "title": "" } ]
[ { "docid": "52738d229d8bf6ec84e3f71bc5ad16e0", "score": "0.6834063", "text": "@Override\r\npublic void set() {\n\t\r\n}", "title": "" }, { "docid": "11ae3f676ce42a2333721001c6d26290", "score": "0.6376084", "text": "@Override\r\n\tpublic void get() {\n\t\t\r\n\t}", "title": "" }...
0e2d5f9dec304bde288a0bcdfae58179
Created by Cortana on 3/14/2018.
[ { "docid": "6ea3df22448f4c7ef88873c336cd90d9", "score": "0.0", "text": "public interface GetOrdersApiResponseListener {\n\n void getOrderResponse(boolean isReceived, ArrayList<OrderIdResponse> orderList);\n\n}", "title": "" } ]
[ { "docid": "81005989525ec80103fbaf46f9c37779", "score": "0.57591623", "text": "@Override\n\tpublic void agit() {\n\n\t}", "title": "" }, { "docid": "ded15aaeb71ec68606fe2fb94e86fd30", "score": "0.57348895", "text": "@Override\n\tpublic void festlegen() {\n\t\t\n\t}", "title": "" ...
b51ea3f3962c9099a73b9f40a4496e90
/ We know that the user is set already because the authentication interceptor is first in the stack.
[ { "docid": "7e24a64b605fdc2f3433bb44e7a1e062", "score": "0.0", "text": "public Object getModel() {\r\n\t\treturn user;\r\n\t}", "title": "" } ]
[ { "docid": "8f6743d73e0d331a6de3e03be18be98d", "score": "0.65311205", "text": "User getAuthenticatedUser();", "title": "" }, { "docid": "c9cc5302877450e9211b0e7a888e97da", "score": "0.645226", "text": "@Override\n public Principal getUserPrincipal() {\n return principal;\n ...
3e08047873493aa2f86354325a8f6e0a
Le otorga valores al map LosIPS
[ { "docid": "2a5b6aad6097840434d469c4fbdeb61b", "score": "0.6390364", "text": "public void setLosIPS(HashMap<String,IPS> losIPS) {\n\t\tthis.losIPS = losIPS;\n\t}", "title": "" } ]
[ { "docid": "e91499dc8d1eb228eb9b70a67b2a2c1e", "score": "0.58924025", "text": "public void XoaViTriCu() {\n InputMap.Map[ViTri.y][ViTri.x] = InputMap.Map[ViTri.y][ViTri.x + 1] = InputMap.Map[ViTri.y][ViTri.x + 2] = libarary.DiChuyen;\n InputMap.Map[ViTri.y + 1][ViTri.x] = InputMap.Map[ViTr...
185288c215bc4eaeaaa4e38290f0faae
Construct a new game of multi move freecell.
[ { "docid": "6b46763ba51e319f7468417bd8c528f6", "score": "0.0", "text": "public MultiFreecellModel() {\r\n super();\r\n }", "title": "" } ]
[ { "docid": "5cf31e9a99398928fae2c7121c8ec155", "score": "0.6466144", "text": "public void createNextGeneration()\n {\n /** You will need to read the documentation for the World, Grid, and Location classes\n * in order to implement the Game of Life algorithm and leverage the gridworld f...
25628ff410c25df109b3465207e7d5a9
Converts a given GenModel and all of its contained subpackages to a collection of JastAdd AST specifications.
[ { "docid": "056d237f3a220d0bcbf84b25729ffd64", "score": "0.76524144", "text": "public static Collection<JastAddSpec> convertPackages2AST(GenModel root) {\n\t\tCollection<JastAddSpec> specs = new LinkedList<JastAddSpec>();\n\t\tfor(GenPackage pck:root.getGenPackages()){\n\t\t\tspecs.addAll(convertPackage...
[ { "docid": "f81cd976563b3557d135d70a90914f4f", "score": "0.7087807", "text": "public static Collection<JastAddSpec> convertPackages2AST(GenPackage root) {\n\t\tCollection<JastAddSpec> specs = new LinkedList<JastAddSpec>();\n\t\tQueue<GenPackage> packages = new LinkedList<GenPackage>();\n\t\tpackages.add...
a452b82150466daa9b7099edaab344e8
Constructor for objects of class Terraza.
[ { "docid": "14418479a23726b11d53e0d5157bad7e", "score": "0.0", "text": "public Azotea()\n {\n super(\"FondoAzotea.png\");\n iniciaPuertas();\n colocaPuertas();\n }", "title": "" } ]
[ { "docid": "077f6497cfb1fae36bb4b2d721311a1e", "score": "0.77232873", "text": "public Terapeuta() {\r\n }", "title": "" }, { "docid": "c66609618770f97e03842c84e1033746", "score": "0.69302726", "text": "public Tamagotchi(){\r\n }", "title": "" }, { "docid": "73ad...
f09c89e924ae8bc194a86b9f8f6f85f5
A container element end event handling method.
[ { "docid": "4dc654eb459fcab944ad0a805ae8dfab", "score": "0.0", "text": "public void end_result() throws SAXException;", "title": "" } ]
[ { "docid": "3d3d156442fa85bf7140e8cdf2737467", "score": "0.7112543", "text": "public abstract void endComponent(TypeElement element) throws Exception;", "title": "" }, { "docid": "7d43e011479eb2e661e99f715795f405", "score": "0.70981294", "text": "public void endCollection(LayoutEleme...
945e0c6aff95235c464f72288804e248
registers a new sprite resource builder returning a new sprite each time it is called.
[ { "docid": "6377d55c6f13064303f0c2135955b958", "score": "0.5382705", "text": "public void sprite(String id, String textureId) {\n \t\tfinal Resource<Texture> texture = resourceManager.get(textureId);\n \t\tresourceManager.add(id, new ResourceLoaderImpl<Sprite>(new DataLoader<Sprite>() {\n \t\t\t@Overrid...
[ { "docid": "10ed24d9ab877b790728595a7b3d9c4e", "score": "0.679144", "text": "public Renderable createSprite(Context context, int resourceId);", "title": "" }, { "docid": "669270beec7821651bbf6b8fee79c655", "score": "0.6673369", "text": "protected abstract Sprite makeNewSprite();", ...
9c9282b1d223e7959b1ecfefe2faa980
Return the plot series list
[ { "docid": "aed79f277a85bb54e5e98ac29963f7c8", "score": "0.80645293", "text": "protected List<XYSeries> getPlotSeries()\n {\n return plotSeries;\n }", "title": "" } ]
[ { "docid": "5f60da1f6402af849a7834dfd52a6693", "score": "0.7010518", "text": "protected List<XYPlot> getPlots()\n {\n return plots;\n }", "title": "" }, { "docid": "1ac49d6abc9b0292ec66b48c0916825d", "score": "0.69536227", "text": "public String getSeries() {\n\t\treturn...
029e1ae32f9951b09e274c100fa321c3
repeated .CMsgDOTATournamentInfo.Phase phase_list = 2;
[ { "docid": "84003519142224ae04f99caaf671ab98", "score": "0.62762356", "text": "public MsgGCClientTournament.CMsgDOTATournamentInfo.PhaseOrBuilder getPhaseListOrBuilder(\n int index) {\n if (phaseListBuilder_ == null) {\n return phaseList_.get(index); } else {\n return ...
[ { "docid": "5f99f8ddab729b620ea2ab0c6ac50531", "score": "0.66414356", "text": "MsgGCClientTournament.CMsgDOTATournamentInfo.Phase getPhaseList(int index);", "title": "" }, { "docid": "8920300609e11296f426c3fe243ce829", "score": "0.6138978", "text": "public MsgGCClientTournament.CMsgD...
fc91f36e35e58ebaef0d8328bb0ebc20
System.out.println("SELECTED OBJECTS : " + selectedObjects );
[ { "docid": "08e1ddfa99fea92b145097797969d5aa", "score": "0.0", "text": "public void refreshTabs() {\n\t\t\tif (selectedObjects.size() > 0) {\r\n\t\t\t\tObject first = selectedObjects.firstElement();\r\n\t\t\t}\r\n\t\t\tIterator i = tabList.iterator();\r\n\t\t\twhile (i.hasNext()) {\r\n\t\t\t\tOncScrollL...
[ { "docid": "5c8597119ba256cc467c04573348659b", "score": "0.70321995", "text": "public Object[] getSelectedObjects() {\n if (state) {\n Object[] items = new Object[1];\n items[0] = label;\n return items;\n }\n return null;\n }", "title": "" }, { "docid": "3f7c17e2329a...
b82ff91f47f1ae9ef0913947bbf78665
getType Gets Product type
[ { "docid": "66211b2c3a4611a653a8e47fb6bf7238", "score": "0.0", "text": "public String getType()\n {\n synAlpha temp = (synAlpha)m_synStruct.getFieldValue(16);\n String ret = (String)temp.value();\n return ret;\n }", "title": "" } ]
[ { "docid": "42b3bc76efafd7921256dfccf4f5ab30", "score": "0.7684578", "text": "public String getPRODUCT_TYPE() {\r\n return PRODUCT_TYPE;\r\n }", "title": "" }, { "docid": "04afc915a8640b5585e9873369bfb62e", "score": "0.7564117", "text": "public String getProdType() {\n ...
de5c516bfb0e38440e102bea9a2ef0ff
TextListener interface // Responds to the textfields by reading them and updates display.
[ { "docid": "65cec14bcf9155099f25d90879b04f8d", "score": "0.6629455", "text": "@Override\n\tpublic void textValueChanged( TextEvent e )\n\t{\n\t\treadInputs();\n\t\tdrawBalls();\n\t}", "title": "" } ]
[ { "docid": "c9956d4b2646f5ead4aef0a2e9a4052f", "score": "0.707815", "text": "public interface ITextListener {\n void textChange(String text);\n}", "title": "" }, { "docid": "ec1dca854c14b2f131151d28a2b029e2", "score": "0.69475216", "text": "private void addTextListeners() {\n\t\tt...
708898dd89bd6e171615b219080174a4
This method was generated by MyBatis Generator. This method corresponds to the database table menu
[ { "docid": "9f6e9bc366d901fb431aacf90b1ea9f0", "score": "0.0", "text": "@Override\n public int hashCode() {\n final int prime = 31;\n int result = 1;\n result = prime * result + ((getId() == null) ? 0 : getId().hashCode());\n result = prime * result + ((getParentId() == nu...
[ { "docid": "d7a8a12fb3d5b363886c1c13d4eced4d", "score": "0.6385035", "text": "@Override\n protected String getTableName() {\n return TABLE_NAME;\n }", "title": "" }, { "docid": "13226d2553ac57f716637d8e529e8e0d", "score": "0.6306539", "text": "public abstract String t...
218f1af13d4f44c64697e39440270c2d
/ log: update graph param
[ { "docid": "cab35399382db41d9a3599931ee2255e", "score": "0.67460936", "text": "public void logUpdateGraphParam(Dataset ds, String oldName, Visualization newVis){\n List<FitexProperty> attribute = FitexLog.logUpdateGraphParam(ds, oldName, newVis);\n fitexAction.logAction(DataConstants.LOG_T...
[ { "docid": "375b45c7c15ea2dd554998753ee3681b", "score": "0.7648352", "text": "public void updateGraphParam(Graph graph){\n if(activFitex != null){\n activFitex.updateGraphParam(graph, graph.getName(), graph.getParamGraph(), false);\n }\n }", "title": "" }, { "doci...
e4bbe646f01aa27fb019bb1dfde62077
Mapping the components in the configuration.xml file to StandaloneContainer
[ { "docid": "ce03da71322f44ed16089c3e86ddfc6c", "score": "0.5227372", "text": "private void populate(URL conf) throws Exception {\n configurationManager.addConfiguration(conf);\n configurationManager.processRemoveConfiguration();\n ContainerUtil.addComponents(StandaloneContainer.this, configurat...
[ { "docid": "83c2c087e9f1005836e947d2f297b5f0", "score": "0.5669748", "text": "private ConfigurationContainer() throws XMLStreamException{\n content = new HashMap<String, ConfigurationEntry>();\n initializeFromMetaInf();\n }", "title": "" }, { "docid": "a252ff48028de5377f944a...
ea5510be0773d928799553b69c5c91ac
Required. The document to create. .google.cloud.contentwarehouse.v1.Document document = 2 [(.google.api.field_behavior) = REQUIRED];
[ { "docid": "b66456ad15d8cfbafd2caf2c7bd4ee5f", "score": "0.0", "text": "@java.lang.Override\n public boolean hasDocument() {\n return document_ != null;\n }", "title": "" } ]
[ { "docid": "c1bd8c389c01ab6f23e91351f709202f", "score": "0.70560944", "text": "SingleDocumentModel createNewDocument();", "title": "" }, { "docid": "c1bd8c389c01ab6f23e91351f709202f", "score": "0.70560944", "text": "SingleDocumentModel createNewDocument();", "title": "" }, { ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "8b8a297a3ca42390a5918ef0efab98c2", "score": "0.0", "text": "public void actionPerformed(ActionEvent e) {\n\t\tview.executarProximoPassoAction();\n\t}", "title": "" } ]
[ { "docid": "74a4209c94e08d9f5eb0b60e580f5e04", "score": "0.68867725", "text": "@Override\r\n\tpublic void comit() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b645eacb329adc01490ab5013a6c4f7f", "score": "0.67295986", "text": "@Override\n\t\t\tpublic void perfom() {\n\n\t\t\t}", "t...
cdbd0dfb0bcd5ab5533c51920cfdb8a7
This method was generated by MyBatis Generator. This method corresponds to the database table ams_share_path
[ { "docid": "4897c89948fb2a5fa2a16e04beada1e5", "score": "0.0", "text": "int updateByPrimaryKey(Sharepath record);", "title": "" } ]
[ { "docid": "8f077f6cf5bc0ad979e0c72d4dcbbccc", "score": "0.5536525", "text": "protected Table addBucketPaths(PhysicalDataModel pdm) {\n \n // The FK BUCKET_PATH_ID starts as null, but is set when the\n // scanner thread of a loader claims the bucket/path for scanning,\n // an...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "438267a0deddea75fed4e5df7d430dc4", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tint []arr = {5,3,10,5,7,4,9,11,1};\n\t\tint keyValue = 1;\n\t\tint check = 0;\n\t\tfor(int i = 0; i < arr.length; i++) {\n\t\t\tif(arr[i] == keyValue) {\n\t\t\t\tcheck = 1;\n\t\t\t}\n\t\...
[ { "docid": "63a51b9825ac81396e1d7ad0b9f3ed82", "score": "0.6866318", "text": "@Override\n\tpublic void 군무() {\n\t\t\n\t}", "title": "" }, { "docid": "15ae679aae74424c73fde647cf4332f6", "score": "0.68461496", "text": "@Override\r\n\t\t\tpublic void hissetmek() {\n\r\n\t\t\t}", "ti...
fc268cb5c377ee93b1556240b791e785
Set the size of the L2 cache.
[ { "docid": "5ef6789f61b1bbd3b61d7871206b6f88", "score": "0.7181263", "text": "public void setL2Size(int l2Size) {\n this.l2Size = l2Size;\n }", "title": "" } ]
[ { "docid": "1bc7710c838a456555110b577087da80", "score": "0.6409398", "text": "public void setSize(long param){\n \n this.localSize=param;\n \n\n }", "title": "" },...
1dcf3f6ffbb2b19fa65e2b5c32e8de89
UsingClause : ("using" TestNoAlpha OptionalSpacing UsingParameter (',' OptionalSpacing UsingParameter))
[ { "docid": "c68d4e8e4c23773b91435c87075c6c04", "score": "0.686005", "text": "protected boolean usingClause$Rule() {\n Node lastNode = currentNode;\n int startIndex;\n boolean match;\n if (usingClause$RuleMemoStart == index) {\n if (usingClause$RuleMemoStart <= usingClause$Rul...
[ { "docid": "142bccf23e5eeeb8ecd023bf94bfcbbb", "score": "0.58560705", "text": "protected boolean using$Rule() {\n Node lastNode = currentNode;\n int startIndex;\n boolean match;\n if (using$RuleMemoStart == index) {\n if (using$RuleMemoStart <= using$RuleMemoEnd) {\n ...
f259bc98be1a2d6055be8802f20b8758
returns true if this coin is equal to aCoin, which means the name and the value are both equal
[ { "docid": "05741ec5eb9b844d19a8089cc47f7585", "score": "0.85919154", "text": "public boolean isEqual(Coin aCoin) { \n boolean hasEqualValue = this.getValue() == aCoin.getValue();\n boolean hasEqualName = this.getName().equals(aCoin.getName());\n \n return hasEqualName && has...
[ { "docid": "e4611b04f83ad7f602635e33a12e81f9", "score": "0.7027995", "text": "@Override\n\tpublic boolean equals(Object obj) {\n\t\tif (this == obj)\n\t\t\treturn true;\n\t\tif (obj == null)\n\t\t\treturn false;\n\t\tif (getClass() != obj.getClass())\n\t\t\treturn false;\n\t\tCoin other = (Coin) obj;\n\...
1eeaee48f0e7a685b306c62d7c9fc3a0
create orders for inapp products in the PMS.
[ { "docid": "3924ec4775121b91ee746dfb2ef6b1bc", "score": "0.0", "text": "private void gotoPay(final Activity activity, String productId, int type) {\n Log.i(TAG, \"call createPurchaseIntent\");\n IapClient mClient = Iap.getIapClient(activity);\n Task<PurchaseIntentResult> task = mCli...
[ { "docid": "d133954fa20a5ceb0919ff4f86b5a56d", "score": "0.6687478", "text": "OrderProduct createOrderProduct();", "title": "" }, { "docid": "de679f585ec6c35b566435de6a550706", "score": "0.64699686", "text": "@Override\n\tpublic void orderProducts() {\n\t\t\n\t}", "title": "" }...
0663c9a10eec331e7ec543f36cc55753
preenche o array aleatoriamente
[ { "docid": "ec0003227ed55d1c44a24e84381d260b", "score": "0.0", "text": "public void preencherAleatorio(int n) throws AvisoException{\n Random random = new Random();\n int aleatorio;\n int indice;\n\n for(indice = 1; indice <=n; indice++){\n \n \t alea...
[ { "docid": "076b587b8cfb3c6b52567f9649d0a0f6", "score": "0.6750146", "text": "private void aumentarArray() {\n\t\tObject[] novo = new Object[arrayInterno.length * 2];\n\t\t\n\t\tfor (int i = 0; i < arrayInterno.length; i++) {\n\t\t\tnovo[i] = arrayInterno[i];\n\t\t}\n\t\t\n\t\tarrayInterno = novo;\n\t}"...
b3d868479a3307f3e23aba0f250783fe
new columns (globalDomesticPlannedRouteId) //
[ { "docid": "ecb24094290eb12cef223f856b4b6ecc", "score": "0.7949425", "text": "public ScGridColumn<AcGlobalDomesticPlannedVsActualRoutePlanned> newGlobalDomesticPlannedRouteIdColumn()\n {\n return newGlobalDomesticPlannedRouteIdColumn(\"Global Domestic Planned Route Id\");\n }", "title":...
[ { "docid": "1ee563b0f862bde8a16dbf41bf6f2544", "score": "0.77148217", "text": "public ScGridColumn<AcGlobalDomesticPlannedVsActualRoutePlanned> newGlobalDomesticPlannedVsActualRouteIdColumn()\n {\n return newGlobalDomesticPlannedVsActualRouteIdColumn(\"Global Domestic Planned Vs Actual Route I...
7cb763773432896b2be56996ed8324a8
Given string input like (integer) "1234567890" Converts to currency format Ex: $1,223.00 for negative numbers parentheses added around them. Note: If need a RED color display for negative values, then code it in the jsff.
[ { "docid": "90e35daf3e3ef9a2b6ef4db73f681263", "score": "0.67218727", "text": "public static String currencyFormat(String intStr) {\n String output = null;\n if (intStr == null) {\n output = \"\";\n return output;\n }\n\n BigDecimal d = null;\n tr...
[ { "docid": "e37358d3619e39c0ab063fc64191a3ff", "score": "0.6492085", "text": "public String format(double money);", "title": "" }, { "docid": "03364148b63d18dd302fe619cf8c1b6e", "score": "0.6424116", "text": "private String formatString(String string) {\n if (Utilities.isNumer...
c67aaf04950829d214f23b902b842178
optional uint32 kills = 14;
[ { "docid": "7d6c69fe6ed74b91aaff3872f3486c90", "score": "0.57696086", "text": "public boolean hasKills() {\n return ((bitField0_ & 0x00040000) == 0x00040000);\n }", "title": "" } ]
[ { "docid": "22b62719c7e0f11d57127e3f6460eaed", "score": "0.73826647", "text": "int getKills();", "title": "" }, { "docid": "22b62719c7e0f11d57127e3f6460eaed", "score": "0.73826647", "text": "int getKills();", "title": "" }, { "docid": "22b62719c7e0f11d57127e3f6460eaed", ...
bcf00d4eb10415f26f250f701c2dbba4
Creates a DBEventMonitor component.
[ { "docid": "60a2dd8465e64c31523c33c8a422e7ed", "score": "0.75976664", "text": "public DBEventMonitor() {\n }", "title": "" } ]
[ { "docid": "3380a83318a8aa3975490f1e4cb0af38", "score": "0.6772234", "text": "public MonitorEvent createEvent();", "title": "" }, { "docid": "47200edf0dc37bd793f9a289ea1a3bfc", "score": "0.57593757", "text": "public Monitor createMonitor() throws PropertiesHelperException, MonitorFac...
013dc4cb9a935fd04fc03eb74b4a0e7d
/ The last fragment is transparent to enable the swipetofinish behaviour seen on Google's apps So our viewpager circle indicator needs to show NUM_PAGES 1
[ { "docid": "82cb34dc4f9138b55382545e3f20ad80", "score": "0.0", "text": "private void buildCircles() {\n circles = LinearLayout.class.cast(findViewById(R.id.circles));\n\n float scale = getResources().getDisplayMetrics().density;\n int padding = (int) (5 * scale + 0.5f);\n\n f...
[ { "docid": "6a6112d325fa83aebc24587d2bdc80e8", "score": "0.7076329", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_onboarding, containe...
e38858376aa6d526bd998fd5962527b4
Initialize the seed number
[ { "docid": "2d2286d9fce5a8eee0f2c0434809ff7d", "score": "0.63264483", "text": "public void setRandomSeed(long seed) {\n\t\trandom.setSeed(seed);\n\t}", "title": "" } ]
[ { "docid": "b95ee24d0166e264fafd4e44f20fdf35", "score": "0.7480458", "text": "public void setSeed(long seed);", "title": "" }, { "docid": "b95ee24d0166e264fafd4e44f20fdf35", "score": "0.7480458", "text": "public void setSeed(long seed);", "title": "" }, { "docid": "087127...
3c3ecf3677e85774619b76d43d051daa
Tries to restart (stop and then start) the forked process
[ { "docid": "6ffa5d70e345302446972f0aa7c37063", "score": "0.645668", "text": "private boolean restart(Integer exitValue, boolean receivedRestartMsg) throws Exception {\n if (maxProcessRestarts > -1 && numRestarts >= maxProcessRestarts) {\n LOG.warn(\"Hit the maximum number of process re...
[ { "docid": "2fe03d9bae70a04e6d622168aa23a351", "score": "0.6517723", "text": "public static void restart() {\r\n\t\tfinal String javaBin = System.getProperty(\"java.home\") + File.separator + \"bin\" + File.separator + \"java\";\r\n\t\tFile currentJar = null;\r\n\t\ttry {\r\n\t\t\tcurrentJar = new File(...
33d8051ff09fc37958ad99d9368247ee
/ Action bar button Private functions
[ { "docid": "aeaa48a447a544025cc8759e975dce0b", "score": "0.0", "text": "private void deletePressed()\n\t{\n\t\tAlertDialog.Builder builder = new AlertDialog.Builder(getActivity());\n builder.setMessage(\"Are you sure?\")\n .setPositiveButton(\"Yes\", new DialogInterface.OnClickListe...
[ { "docid": "a6349a0ecc365b5283f9f8769390df3c", "score": "0.72155696", "text": "private void manageActionBar() {\n getSupportActionBar().setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM);\n getSupportActionBar().setDisplayShowCustomEnabled(true);\n getSupportActionBar().setCustomView(...
1d739e0b97b7ce1c63649385c396f1f3
Sets a reference to an external MS file. To unset a file reference the MsFile object should be set to null.
[ { "docid": "0eb1c26e3d3b4fb5beb4491e78fc2955", "score": "0.483874", "text": "public void setMsFile(int index, MsFile msFile) throws MzTabParsingException {\n\t\tif (index < 1)\n\t\t\tthrow new MzTabParsingException(\"MsFile index must be greater or equal to 1.\");\n\t\t\n\t\tif (msFiles == null)\n\t\t\t...
[ { "docid": "7d73f021e02ad6340657c764ce737ab7", "score": "0.5799731", "text": "public FileReference()\n {\n\tfileName = null;\n\trefTime = 0;\n\t}", "title": "" }, { "docid": "582858c361910ea96de8f9a3d2df8884", "score": "0.57638174", "text": "public void setFileRef(Long fileRef...
2e982124a9b8de0dde494bd6a146a8e5
This method moves the pointer by one to the right
[ { "docid": "8cd8d106d205f971b9391b2e9a1f6d33", "score": "0.61489904", "text": "public void execute(Interpreter interpreter) throws PointerPositionOutOfBoundsException {\r\n\t\tint p = interpreter.getMemory().getP();\r\n\t\t//Anomaly cases :\r\n\t\tif (p == 29999)\r\n\t\t\tthrow new PointerPositionOutOfB...
[ { "docid": "b03bb242f8cfd079d4a6ce55d98582e9", "score": "0.76528", "text": "public void moveRight() {\n\t\tx += 1;\n\t}", "title": "" }, { "docid": "60b6621eba48b6e869ae548db9c25a1f", "score": "0.7408488", "text": "public void moveRight() {\n\t\tpos = new Position(pos.getX() + 1, pos...
b80c7a623286842422e3e0e27a895179
endregion region ISpeechProductionModule Methods
[ { "docid": "097e3f87ed0c70e346a1877b37a7bd16", "score": "0.4734114", "text": "@Override\n /**\n * Says a text through the phone speaker\n * @param text The text to be said\n * @param priority The priority of the phrase, ISpeechProductionModule.PRIORITY_HIGH / LOW\n */\n public void...
[ { "docid": "09badae030cca9913c90b8636b2b526b", "score": "0.5378713", "text": "@Override\n public void engagement() {\n }", "title": "" }, { "docid": "3faa0b01fbed0c6d586174c555e53f12", "score": "0.5336981", "text": "@Override\n\tpublic void Engine() {\n\t\tSystem.out.println(\"...
bb6c8158f62748b7e6703115d61c766b
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
[ { "docid": "09e92af117a340da5d1148a10d9e2a31", "score": "0.0", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n }", "title": "" } ]
[ { "docid": "0e819782a08ce0e2fe2359cc7f36a6b0", "score": "0.7738254", "text": "private Missing(){\n throw new java.lang.UnsupportedOperationException();\n }", "title": "" }, { "docid": "c8a369fefc0bc66e0696fdb53dd2e328", "score": "0.75565135", "text": "private void koneksi()...
6b4504ebedbbc3a4ab3499483fabc1c3
Returns true if field orderId is set (has been asigned a value) and false otherwise
[ { "docid": "d458cca6d27a70f55537a362272f779e", "score": "0.7978691", "text": "public boolean isSetOrderId() {\n return this.orderId != null;\n }", "title": "" } ]
[ { "docid": "17d98562ef7e53901764b572fb48d04a", "score": "0.78523344", "text": "public boolean isSetOrder_id() {\n\t\t\treturn EncodingUtils.testBit(__isset_bitfield, __ORDER_ID_ISSET_ID);\n\t\t}", "title": "" }, { "docid": "ea31119c343b9a141dcfbc2b2676c58f", "score": "0.7756411", "te...
18a65866689a62db7df5d2e69b124754
vertices adjacent to v.
[ { "docid": "03ce46c77c009213428b1f74a41193a7", "score": "0.6496201", "text": "public Iterable<Integer> adj(int v) {\n\t\tvalidateVertex(v);\n\t\treturn adj[v];\n\t}", "title": "" } ]
[ { "docid": "4e2d51b512bd40f255aa4236f3c9b84e", "score": "0.7669672", "text": "public Iterator<Vertex> adjacentVertices(Vertex v) {\n\t\t\tIterator<Edge> itr = edges.iterator();\n\t\t\tArrayList<Vertex> adjacentVertex = new ArrayList<Vertex>();\n\t\t\twhile(itr.hasNext()) {\n\t\t\t\tEdge e = itr.next();\...
5db4c86ad6841ff1a530fc1277013057
optional .com.live106.message.CLogout cLogout = 20;
[ { "docid": "8d59d26e9dd5c3cc054953f641c70ad1", "score": "0.6005476", "text": "public Builder setCLogout(\n com.live106.message.Protocols.CLogout.Builder builderForValue) {\n if (cLogoutBuilder_ == null) {\n cLogout_ = builderForValue.build();\n onChanged();\n } e...
[ { "docid": "8ecf09d99d06bc5887fdc99cac23bc3a", "score": "0.89691", "text": "com.live106.message.Protocols.CLogout getCLogout();", "title": "" }, { "docid": "fb773385df4dcae55d4eecdff37363db", "score": "0.8430131", "text": "com.live106.message.Protocols.SLogout getSLogout();", "ti...
950dc52f8ee22a746162721c675e42a7
Reseting the table model
[ { "docid": "673a0b9d955ea66d3644bf2b773423af", "score": "0.0", "text": "public void refreshJtable()\n {\n jLabelTotalPrice.setText(\"000\");\n jTableItems.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n {\"\", null, null, null, n...
[ { "docid": "55fd8af1c490b98ad06903e4030112e4", "score": "0.81884253", "text": "@Override\n\tpublic void reset(){\n\t\ttable.reset();\n\t}", "title": "" }, { "docid": "720d03ba601fd64db7dd3c8f5d1f7b48", "score": "0.79243237", "text": "public void resetTable() {\n tableData.clea...
b0ae38203d96ceae8acfcc05c828e57d
ustawia toolbar dla okna
[ { "docid": "707cf73f59f4cdd2f1956cb1232da21a", "score": "0.73846006", "text": "private void setToolBar() {\n\t\t\n\t\tJToolBar toolBar=new JToolBar();\n\t\t\n\t\taddButton(toolBar,1,\"resources/JednoMasztowiec.png\");\n\t\taddButton(toolBar,2,\"resources/DwuMasztowiec.png\");\n\t\taddButton(toolBar,3,\"...
[ { "docid": "d1a1ff8b39ace0e59c58b2d5890e3bf3", "score": "0.7931762", "text": "public void showToolbar() {\n }", "title": "" }, { "docid": "76a408bfd59b32fd4fca40f179a2d35a", "score": "0.78890896", "text": "private void setToolbar() {\n }", "title": "" }, { "docid": ...
62b384fc71ff47dc36aa64ede885f912
Parses a given list of options. Valid options are: K &lt;number of neighbours&gt; Set number of nearest neighbour for prediction (default 1) S &lt;number of neighbours&gt; Set number of nearest neighbour for cleansing the training data (default 1) E &lt;number of neighbours&gt; Set number of nearest neighbour for clean...
[ { "docid": "87eba7b0f62df80483a4dbda00fc388d", "score": "0.72953916", "text": "@Override\n public void setOptions(String[] options) throws Exception {\n\n String numNeighbourString = Utils.getOption('K', options);\n if (numNeighbourString.length() != 0) {\n setNumNeighbours(Integer.parseInt(...
[ { "docid": "fcbdc6000fe4f35d9b85efd91a81a118", "score": "0.6449494", "text": "@Override\n public Enumeration<Option> listOptions() {\n\n Vector<Option> result = new Vector<Option>(3);\n\n result.addElement(new Option(\n \"\\tSet number of nearest neighbour for prediction\\n\" + \"\\t(default...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "059401f4e0288440d40cf6d88d22e731", "score": "0.0", "text": "@Override\r\n\tpublic long runningTime() {\n\t\treturn runningTime;\r\n\t}", "title": "" } ]
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.69744676", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.6936331", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}"...
b7212f5aa85912b0240abfaf33aac1e1
Created by evgeniy.siyanko on 25.01.2017.
[ { "docid": "c23996971e52fb6e7b9732d63973a3a7", "score": "0.0", "text": "public interface TasksContract {\n interface TasksView extends BaseView<TasksPresenter> {\n TasksScreenType getScreenType();\n }\n\n interface TasksPresenter extends BasePresenter<TasksView> {\n List<Task> get...
[ { "docid": "5c8e848472fb111129ff96ea7e3eea3d", "score": "0.57104504", "text": "@Override\n public void pintar() {\n \n }", "title": "" }, { "docid": "5c8e848472fb111129ff96ea7e3eea3d", "score": "0.57104504", "text": "@Override\n public void pintar() {\n \n }...
172b4ad8871b7bc0b463d24fea0eb22c
Sets the version of the Verification Code Revocation List format.
[ { "docid": "da866419e50cf577b47c6e4b3f6447ee", "score": "0.5702423", "text": "public void setVersion(int aVersion) {\n\t\tthis.version = aVersion;\n\t}", "title": "" } ]
[ { "docid": "9234093ce8ee459b080b2c4d4da2e39d", "score": "0.6344636", "text": "public void setVer(int value) {\n this.ver = value;\n }", "title": "" }, { "docid": "5f7119703f0d7451f234e36f60da2e4c", "score": "0.6280476", "text": "void setVersion(Object version);", "title...
a82dc13065c6fba5f1b40e27983075d4
Info that helps to do initialization of database table.
[ { "docid": "c4e27956ead0f0b6a97a1bfbe0b056fa", "score": "0.0", "text": "public TableInfo(String tableName, String createTableQuery) {\n if (TextUtils.isEmpty(tableName)) {\n throw new IllegalArgumentException(\"Table name query can't be empty\");\n }\n\n if (TextUtils.isE...
[ { "docid": "ac266dac83e3c3c810b32b9f3f2f1564", "score": "0.66546583", "text": "private void myInit() {\n Main.MyDB.setNames(\"db_algorithm\");\n init_key();\n init_tbl_accounts_receivable();\n data_cols();\n }", "title": "" }, { "docid": "cc789052981e18c93a01c0...
21ec6143d1f2421a2549d0edd2154247
Generates some number of nodes in a normal distribution around the existing nodes. Uses the boxmuller method
[ { "docid": "9ab1d84be10995aefc633cc17b40a6d2", "score": "0.58556813", "text": "public static List<Node> GenerateRandomNodes(List<Node> existingNodes, int numToGen, LatLng southwest,\n\t\t\tLatLng northeast) {\n\t\tdouble meanLat = 0;\n\t\tdouble meanLon = 0;\n\t\tdouble latRatio = (northeast.latitude - ...
[ { "docid": "9d406c5dccfa6adf80d8f399581670dc", "score": "0.5993537", "text": "private void generate() {\r\n\t\tgenerate(1, 1);\r\n\r\n\t\t/*\r\n\t\t * // delete some random walls for (int i = 0; i < N; i++) { int x = 1 +\r\n\t\t * StdRandom.uniform(N-1); int y = 1 + StdRandom.uniform(N-1);\r\n\t\t * nor...
b706c05c78cf653864f78e6f10575e93
Read the device sn on EPROM;
[ { "docid": "ee6b6ae75194cfeb9d29d693a0b43bb4", "score": "0.69882566", "text": "public String readDeviceSN(int snLen){\r\n\t\treturn mFactoryBurnUtil.readDeviceSN(snLen);\r\n\t}", "title": "" } ]
[ { "docid": "a8af571ed2f665c4ba804cb67db21dcb", "score": "0.7419006", "text": "public String readDeviceSN(){\r\n return mFactoryBurnUtil.readDeviceSN();\r\n }", "title": "" }, { "docid": "841085cd7dbbefab89b9e70d772aba02", "score": "0.5828871", "text": "public String getEpS...
de1e46e451e36533b36e8ac7d08eec1d
Constructs object based on User object
[ { "docid": "ca9e21681951c8d932a9652df41faabd", "score": "0.0", "text": "public UserDto(User pUser) {\r\n\t\tthis.userId = pUser.getUserId();\r\n\t\tthis.email = pUser.getEmail();\r\n\t\tthis.password = pUser.getPassword();\r\n\t\tthis.money = pUser.getMoney();\r\n\t\tthis.nickName = pUser.getNickName();...
[ { "docid": "c0a655c034a99d97863b8bc55e51c1fb", "score": "0.73261255", "text": "public User(){}", "title": "" }, { "docid": "c0a655c034a99d97863b8bc55e51c1fb", "score": "0.73261255", "text": "public User(){}", "title": "" }, { "docid": "c0a655c034a99d97863b8bc55e51c1fb", ...
2fe8fe2a100b2894febade675dfa04cf
Restore to presets, and capture the change as an undoable edit.
[ { "docid": "b112c974209afb44e422fd89338ca2fe", "score": "0.75090694", "text": "void restorePresets(XmlNode presets) throws XMLException {\n restore(presets);\n undoSupport.postEdit(LOCALE.get(\"ApplyPresetEditName\"));\n }", "title": "" } ]
[ { "docid": "d176227fb2f0e0fa24bf91637c156576", "score": "0.7053353", "text": "public void undo() {\n\t\t// old sets of parameters are saved to allow redo functionalities\n\t\tif (savedStates.size() > 1) {\n\t\t\tundoStates.push(savedStates.pop());\n\t\t\tLiquidApplication.getGUI().setApplication();}\n\t...
3cc21096b6eca779a688539d1968913e
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.
[ { "docid": "1a239553d1a9a50807c9256d7901f3e1", "score": "0.0", "text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == R.id.action_settings) {\n return true;\n ...
[ { "docid": "cd20b0afe14bfeaa1351f0cb84a87c49", "score": "0.78085214", "text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n // Respond to the action bar's Up/Home button\n case android.R.id.home:\n Intent...
4ce268fcac981ae63762903fbfb7a793
Creates a new PhoneNumber RecordBuilder by copying an existing PhoneNumber instance.
[ { "docid": "4d67b32a2e89a2de43bcc159c637607c", "score": "0.74085414", "text": "public static com.experiments.kafkaApplications.PhoneNumber.Builder newBuilder(com.experiments.kafkaApplications.PhoneNumber other) {\n return new com.experiments.kafkaApplications.PhoneNumber.Builder(other);\n }", "t...
[ { "docid": "1f5dd96135a8ff656fa0ca4cd1abb0d1", "score": "0.7192697", "text": "private Builder(com.experiments.kafkaApplications.PhoneNumber other) {\n super(SCHEMA$);\n if (isValidValue(fields()[0], other.areaCode)) {\n this.areaCode = data().deepCopy(fields()[0].schema(), other.a...
67c4cd8f01ec29dc110943c408fcc5e7
Verify that hasBeenRead returns false on newly instantiated WakeupConfigStoreData.
[ { "docid": "29dcb8724e6e40bee65a6da2ed1deac0", "score": "0.82190853", "text": "@Test\n public void hasBeenReadIsFalseWhenInitialized() {\n assertFalse(mWakeupConfigData.hasBeenRead());\n }", "title": "" } ]
[ { "docid": "733a79408ef6b447643f1db313d78b8b", "score": "0.76524234", "text": "@Test\n public void hasBeenReadIsTrueWhenUserStoreIsLoaded() throws Exception {\n mWakeupConfigData.deserializeData(null /* in */, 0 /* outerTagDepth */);\n assertTrue(mWakeupConfigData.hasBeenRead());\n }...
5ac9e48aae5fc7cd7c7cf56906543725
These APIs are copied from uiparticle.js TODO: Consider adding a similar layer of abstraction, if needed.
[ { "docid": "eaae4c9a0c1ed257c53f5d9c9fc2e700", "score": "0.0", "text": "default String getTemplate(String slotName) {\n return \"\";\n }", "title": "" } ]
[ { "docid": "62ee0e6b61ae9a8bbee578ac66b4a358", "score": "0.68575114", "text": "public interface Particle {\n\n String getId();\n\n void setId(String id); // TODO: should be a ctor parameter instead?\n\n String getName();\n\n void setSpec(ParticleSpec spec);\n\n void setJsonParser(PortableJsonParser...
beaa7a000ca77460130a5a58419d817d
waitTargetPos is used by a global moveToBlocking command pos usually is 0 180 a global moveToBlocking is a method that use multiple servo at same time and wait every servo for last position arrived
[ { "docid": "8283a27294fb155507bc29e0c0fc721a", "score": "0.7587431", "text": "void waitTargetPos();", "title": "" } ]
[ { "docid": "d1daa09f3e4552868bc295b814d049e5", "score": "0.6471822", "text": "@Override\r\n Double moveToBlocking(Double pos, Long timeoutMs);", "title": "" }, { "docid": "bd01fdbf960970d2e1612c8534b41327", "score": "0.56857216", "text": "void moveToPickPosition() {\n lowerAr...
4e622613625b37e21af7c2ad54095dc6
string content = 3;
[ { "docid": "f7204170f6f6fca9d612e9aafd41bbe3", "score": "0.0", "text": "@java.lang.Override\n public com.google.protobuf.ByteString\n getContentBytes() {\n return com.google.protobuf.ByteString.copyFromUtf8(content_);\n }", "title": "" } ]
[ { "docid": "e9e8eb6e8773c9c54fcf8cec0211de2c", "score": "0.64726764", "text": "String content();", "title": "" }, { "docid": "9cc92a5b6c683eb1cdd6e6326e4122d0", "score": "0.6367561", "text": "String getContent();", "title": "" }, { "docid": "9cc92a5b6c683eb1cdd6e6326e4122...
ea7c16fe601f8667396fd66edfb819e2
Manipulates the map once available. This callback is triggered when the map is ready to be used. This is where we can add markers or lines, add listeners or move the camera. In this case, we just add a marker near Sydney, Australia. If Google Play services is not installed on the device, the user will be prompted to in...
[ { "docid": "fd416538bf22b18c1c20d950157f4a3d", "score": "0.0", "text": "@Override\n public void onMapReady(GoogleMap googleMap) {\n mMap = googleMap;\n FirebaseDatabase database = FirebaseDatabase.getInstance();\n DatabaseReference myRef = database.getReference(\"location\");\n\n...
[ { "docid": "30d50cabfac2b657a2362900049fec16", "score": "0.8135168", "text": "@Override\n public void onMapReady(GoogleMap googleMap) {\n mMap = googleMap;\n\n // setUpMap();\n\n // Add a marker in Sydney and move the camera\n LatLng sydney = new LatLng(42, -83);\n /...
7c4c4a0386919fa9718c48b6b2335b89
Take the required resources per candle holder
[ { "docid": "3275cd7c300b39be88f261d023a19bde", "score": "0.5744226", "text": "private void produceHolder() {\n try {\n storeShed.takeWood(1);\n storeShed.takeCandles(3);\n }\n catch(InterruptedException ie) {\n ie.printStackTrace();\n }\n\n ...
[ { "docid": "7153ec2e513e275f5596fb51c5967564", "score": "0.5995425", "text": "void initAvailableResource() {\n\t\tavailable = CookingTools.getAvailableResource();\n\t}", "title": "" }, { "docid": "63fd2bafa5428f4ee6d0a75bd094fed0", "score": "0.5824756", "text": "void initPlayerNeeded...
ef8472400a690c8a060d84f15fe2174c
.google.protobuf.Timestamp date_pii_consent = 13;
[ { "docid": "ae6da2c0a26bd2d1497d9a9afae03632", "score": "0.6717938", "text": "public com.google.protobuf.Timestamp getDatePiiConsent() {\n if (datePiiConsentBuilder_ == null) {\n return datePiiConsent_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : datePiiConsent_;\n } e...
[ { "docid": "c0a77031791dc7644a85beb4441ea179", "score": "0.71038675", "text": "@java.lang.Override\n public com.google.protobuf.TimestampOrBuilder getDatePiiConsentOrBuilder() {\n return getDatePiiConsent();\n }", "title": "" }, { "docid": "fb3f0ac2c649dc2d7ff34c70822b0f49", "score"...
bbf2f717a0df7120fe7671330b96015f
Gets the entityId value for this AdministrationServiceResponse.
[ { "docid": "377f40b4fc148c4cf6e0305f00f467a2", "score": "0.7227275", "text": "public java.lang.Integer getEntityId() {\n return entityId;\n }", "title": "" } ]
[ { "docid": "284de7370af72be304ddb6b7aefeb539", "score": "0.73232895", "text": "public int getEntityId() {\n return entityId_;\n }", "title": "" }, { "docid": "7383bb47d91e18dcc8da9ead47c9a614", "score": "0.7318194", "text": "public Long getEntityId() {\n\t\treturn entityI...
ee4dae64f9ddfd8fa87ae97ecd063cf3
Verify the qualification of this API invocation, mainly the permission of API caller.
[ { "docid": "483d5ecbd1ed156e15fd1a85687d1b74", "score": "0.5130076", "text": "static String verifyCaller(final Context context, final Intent intent, @Nullable String pkg, int uid) {\n\t\tif (pkg == null) {\n\t\t\tfinal PendingIntent id = intent.getParcelableExtra(Api.latest.EXTRA_CALLER_ID);\n\t\t\tif (...
[ { "docid": "a92b297236cf8900c4ea7c5f81f1a6c3", "score": "0.63626903", "text": "private static void checkInvocationAllowed() {\n AccessController.checkPermission(Permissions.AMS_PERMISSION_NAME);\n }", "title": "" }, { "docid": "8615690379af0746d0f3a5430ba7d1da", "score": "0.621...
249e8d1fa15a5d75554a6f80c5cb2fa4
Returns the characteristics of the 18 handicaps.
[ { "docid": "b0f81d34c5e2a666c7339b65150cbf2f", "score": "0.68666327", "text": "List<HandicapCharacteristicsImpl> getContents();", "title": "" } ]
[ { "docid": "ccf2ead04aa08714783eef8965372a33", "score": "0.6321233", "text": "@Override\n\tpublic String getCharacteristics() {\n\t\treturn _place.getCharacteristics();\n\t}", "title": "" }, { "docid": "8a0de742eb6e26430d7b8c42a6a53ac3", "score": "0.6204058", "text": "public List<Cha...
3e1232afe7519da6996cead381f1105b
This method was generated by MyBatis Generator. This method sets the value of the database column ypxx_backup.ID
[ { "docid": "760e82d8f139b4ba826b8f50edfdb3bb", "score": "0.0", "text": "public void setId(String id) {\n this.id = id;\n }", "title": "" } ]
[ { "docid": "ec5101fb812b7ed401aad1a07dcc7e39", "score": "0.58100146", "text": "public Builder setBackupId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n backupId_ = value;\n onChanged();\n return this;\n }",...
ee863c9a9e72c05426a39615e111c8ed
Shows the winner of the game and ends the program.
[ { "docid": "a280df6386b927f05fbf7b73a0a2e6fb", "score": "0.0", "text": "@Override\n public void endGame(int clientID, String username) {\n super.endGame(clientID, username);\n Platform.runLater(() -> {\n display.endGame(username);\n });\n }", "title": "" } ]
[ { "docid": "921eeb0cab79d56edac54e7eebc9e7c5", "score": "0.8036155", "text": "void endGame(Player winner){\n\n if(winner!=null) {\n Alert gameOver = new Alert(Alert.AlertType.INFORMATION, winner.getName() + \" has won, congratulations \" + winner.getName() + \"!\", ButtonType.OK);\n ...
d3128a44f90ea45db1f5a87fb1fdba80
~ Methods Getter for property tableName.
[ { "docid": "d1dfd93b6627f1929126e1c157bad568", "score": "0.84020734", "text": "public String getTableName() {\n return this.tableName;\n }", "title": "" } ]
[ { "docid": "520a6c63b93a9a9f699163e258580bcc", "score": "0.86558354", "text": "public Object tableName() {\n return this.tableName;\n }", "title": "" }, { "docid": "f6bc23a6450226fba61cdf644b74afb8", "score": "0.85943836", "text": "public String getTableName() {\r\n ...
e437473dc00bb36d46da849511895d15
Returns an array of features from 1 sample. getSampleFeature(the index of the selected sample). If the sample index is out of bounds, the method will return null.
[ { "docid": "936f6f528975bdee6b2f9be6ea34679f", "score": "0.821834", "text": "private int[] getSampleFeatures(int sampleIndex) {\n\t\tif(sampleIndex >= samples.length || sampleIndex < 0) {\n\t\t\tif(debug) {System.out.println(\"getSampleFeatures() index out of range\");}\n\t\t\treturn null;\n\t\t}\n\t\te...
[ { "docid": "90b04cfdbe5f09eec043a404e3466321", "score": "0.762924", "text": "private int getSampleFeature(int sampleIndex, int featureIndex) {\n\t\tif(sampleIndex >= samples.length || sampleIndex < 0) {\n\t\t\tif(debug) {System.out.println(\"getSampleFeature() index out of range\");}\n\t\t\tSystem.exit(...
b322335df9709ecfb4622d8f571d3130
required int64 worldid = 1;
[ { "docid": "d552be71783e7e825b20ba5f2cf40609", "score": "0.6246075", "text": "boolean hasWorldid();", "title": "" } ]
[ { "docid": "fd5450b7cd83563ee97d2d44ee5c41cb", "score": "0.7994577", "text": "long getWorldid();", "title": "" }, { "docid": "fd5450b7cd83563ee97d2d44ee5c41cb", "score": "0.7994577", "text": "long getWorldid();", "title": "" }, { "docid": "14754ff086b6370fdb0063810030a922...
db14dff279aa6c424137005336968d4a
Find the _Fields constant that matches name, or null if its not found.
[ { "docid": "df89e0a3046c32259e386bf9daf4403c", "score": "0.0", "text": "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "title": "" } ]
[ { "docid": "3153394dd5efe71fc805def104941b14", "score": "0.77484477", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByName(String name) {\n return byName.get(name);\n }", "title": "" }, { "docid": "3153394dd5efe71fc805def104941b14", "score": "0.77...
522d4d3e5580c5e6bb885feef7d1a01a
Method to create the variable from the attribute value and the given SMI syntax value
[ { "docid": "1f71974e5b7998d1589b7dc4275cb680", "score": "0.6343968", "text": "private Variable stringToVariable(String value, int smiSyntax) {\n Variable var = AbstractVariable.createFromSyntax(smiSyntax);\n try {\n if (var instanceof AssignableFromString) {\n ((A...
[ { "docid": "bbbfefd3fe746931350caf3b2661a96a", "score": "0.6036513", "text": "public VariableNode(String attr)\n {\n this.name = attr;\n }", "title": "" }, { "docid": "f84ad777b24b6001f67b71daaf768d91", "score": "0.5875208", "text": "Variable createVariable();", "tit...
518bf5364cda3c6202a1a392996f93d1
Inflate the menu; this adds items to the action bar if it is present.
[ { "docid": "543038db526d64941e1bc875acc5c186", "score": "0.0", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_help_screen, menu);\n return true;\n }", "title": "" } ]
[ { "docid": "733ed274ccd37b1430acd3149250d7f2", "score": "0.72144043", "text": "protected abstract void createActionBarMenu(Menu menu);", "title": "" }, { "docid": "d74efebd6fe79f46209a7e8cb2c52d89", "score": "0.718687", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu me...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "f0dbec193a264a5eaceeacff369bc84d", "score": "0.0", "text": "@Override\n\tpublic String getContent() {\n\t\treturn \"student\";\n\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "941cb2826e3c700358fcaba402e6bb01", "score": "0.66775143", "text": "@Override\r\n\tpublic void hissetmek() {\n\r\n\t}", "ti...
25f2074098fad4c814436919a8bde417
Delete the passed RegionInfo from the hbase:meta table.
[ { "docid": "3c647465f94ffef7d8f9e2e1a95d78a3", "score": "0.7461044", "text": "public static void deleteRegionInfo(Connection connection, RegionInfo regionInfo)\n throws IOException {\n Delete delete = new Delete(regionInfo.getRegionName());\n delete.addFamily(getCatalogFamily(), HConstants.LA...
[ { "docid": "e49653dddf21e671eb7160c4cd070fd5", "score": "0.6358202", "text": "public void delete(Region region) {\n\t\tSession session = sessionFactory.getCurrentSession();\r\n\t\tsession.delete(region);\r\n\t\tsession.flush();\r\n\t}", "title": "" }, { "docid": "820bd03ed25f488ccd58b6562141...
1b544633c2886b0d8ef18c775c81cd06
/ renamed from: b
[ { "docid": "d94ea80adefb457b4698267f2b6ca3b8", "score": "0.0", "text": "private final void m39528b() {\n this.f31694f.a(this.f31695g.execute().a(new C13973a(this), C13974b.f44108a));\n }", "title": "" } ]
[ { "docid": "23d98ca5b5475fa6206ea46d48f073f2", "score": "0.6569241", "text": "protected abstract bpw a();", "title": "" }, { "docid": "886c0fa3a75c118f8104624e34a63609", "score": "0.65668255", "text": "a(x6.c.b.b bVar) {\n }", "title": "" }, { "docid": "233c6c99ba8...
5e185150f8b61ce5105970ef4a853eb6
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.
[ { "docid": "6c3b45c07a6f3c8d33ed95a104fa4fb6", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n imgAtualizar = new javax.swing.JLabel();\n lb...
[ { "docid": "17113ab7a06544a62482637e283ac13d", "score": "0.73918587", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n }", "title": "" }, { "docid": "156c28fa...