query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
e27a8eb5ee43f803c05c0fefe857bc12
/ JADX DEBUG: Multivariable search result rejected for r3v0, resolved type: java.lang.Object / JADX WARN: Multivariable type inference failed / access modifiers changed from: public / renamed from: a
[ { "docid": "19c13c458b185b864d3ca902fdd5c2c7", "score": "0.0", "text": "private /* synthetic */ Integer m87006a(String str, Object obj, Integer num) {\n synchronized (m87008d(str)) {\n this.f60981a.mo84374a(str, mo84379a(obj));\n }\n return 1;\n }", "title": "" }...
[ { "docid": "90313588f00adefcce5ae46e7c8d86b7", "score": "0.57015526", "text": "private static java.lang.reflect.Method m25963a(java.lang.Class<?> r1, java.lang.String r2, java.lang.Class[] r3) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n ...
5ee89865607a7ea1686f440eee0689cd
Metodo para regresar a la busqueda de modulos
[ { "docid": "d2790dc3ffabad27b55bb4444efe20fa", "score": "0.60343856", "text": "public String regresarBusquedaModulos(){\n\t\tthis.modulosDataManager.setModuloDTOEditar(new ModuloDTO());\n\t\treturn \"/modules/modulos/adminBusquedaModulos.xhtml?faces-redirect=true\";\n\t}", "title": "" } ]
[ { "docid": "aaca3f6eb550b7d94a7a8c4c1bd8f99d", "score": "0.61710703", "text": "public void buscarModulos(){\n\t\ttry {\n\t\t\tthis.moduloDTOCols = ERPFactory.modulos.getModuloServicio().findObtenerListaModulos(nombreModulo);\n\t\t\tif(CollectionUtils.isEmpty(this.moduloDTOCols)){\n\t\t\t\tthis.setShowMe...
5369f471d6026179cff18b127ec065c9
adds a single unconnected vertex v
[ { "docid": "c7809273969f772d354d3fc9a60c4204", "score": "0.76992536", "text": "void addVertex(Vertex v);", "title": "" } ]
[ { "docid": "44f9b62b8e9a7cd5638bea465d56d6a2", "score": "0.8309395", "text": "public V addVertex(V v);", "title": "" }, { "docid": "d7ba03b20f700e56f3cef53c5f5627c3", "score": "0.79826134", "text": "boolean addVertex(V v);", "title": "" }, { "docid": "a6b3c16594bd0b97e14a...
e958076c8a423df5ea0741e483aaafd0
This function uses theCalculator to adjust messier objects locations based on user input
[ { "docid": "1700cb58f2bc655e94e814a515b2b1b1", "score": "0.0", "text": "private void adjustMessierData()\n\t{\n\t\tfor(int i = 0; i < messierList.size(); i++)\n\t\t{\n\t\t\tMessier aMessier = messierList.get(i);\n\t\t\tdouble rightAsc = aMessier.getRADecimalHour();\n\t\t\tdouble hourAngle = theCalculato...
[ { "docid": "6ebe5df8f7da79cb5036728d07d0117e", "score": "0.5927372", "text": "private void adjustObserverLocationByClick(int dir, double offset) {\n\t\tHBox n0 = (HBox) uicontrols.getChildren().get(0);\n\t\tHBox n1 = (HBox) uicontrols.getChildren().get(1);\n\t\tTextField t0 = (TextField) n0.getChildren(...
e3db603c3c7a8d4b702a8aa5667c6df7
xlogx() / Recursive classifier
[ { "docid": "7d4b91b3a7e68951366b3ac4bd4e4a0d", "score": "0.0", "text": "public int classifier(TreeNode node,String[] example){\n\t\tif(node.children == null){ /* reached leaf */\n\t\t\treturn node.value; \n\t\t}\n\t\telse{ \n\t\t\tint attribute = node.value;\n\t\t\tString exA = example[attribute];\n\t\t...
[ { "docid": "135e555083e50821032f47227847ec37", "score": "0.58073425", "text": "public static double natLog(double x) throws MathException {\n\n double y = 0;\n double m = 0;\n\n //If x<=0, return false because x should be positive real number\n\n if (x <= 0) {\n th...
071659d123f002097ade549cd4e8f7bc
creates a new empty graph Constructor
[ { "docid": "7b373b58773830b577c28fbd3f291807", "score": "0.0", "text": "public DrawPanel()\r\n\t{\r\n\t\tsuper();\r\n\t\tthis.addMouseListener(new Listener());\r\n\t}", "title": "" } ]
[ { "docid": "a61efdaa04d66c3f583c0062fb7bba3b", "score": "0.8154501", "text": "public graph() { \n new graph (10);\n }", "title": "" }, { "docid": "0297a86aaae5109551ec9d1abda44db1", "score": "0.7930713", "text": "public Graph()\n {\n \tthis.initialze();\n }", ...
909d9690958e392f1538588ff97f4631
Gets the MIB object data type.
[ { "docid": "7b54db64159746c2b50d970a208ce9cc", "score": "0.67717427", "text": "public String getDataType()\r\n {\r\n return dataType;\r\n }", "title": "" } ]
[ { "docid": "93d39d2c0adee4ac046eeaed25d4f132", "score": "0.77138454", "text": "public CType get_data_type();", "title": "" }, { "docid": "efdf9b95f6638e53d45507a9b714b516", "score": "0.72571576", "text": "String getDataType();", "title": "" }, { "docid": "0d96d0967db4ff7f...
6f015c171122f52f3b28c4a72b4c79e4
TDebug.println(0,"setting inverter to: " + state);
[ { "docid": "f595340efc001c6ef57dc7b1a1cd20ed", "score": "0.528917", "text": "protected void setInvert(boolean state) {\n\t\tinvertCur = state;\n\t\n\t\tsetCurrent(getCurrent());\n\t}", "title": "" } ]
[ { "docid": "cd14dd0ce04ca95c3e709e62d539ff83", "score": "0.6500495", "text": "public void printState();", "title": "" }, { "docid": "1a81c0ad80ca47d7f6c34fc6e3c7aba3", "score": "0.6191515", "text": "public abstract void printState();", "title": "" }, { "docid": "e4e9f2f01...
0d4bbc982faf05e2b28bc6186a564a7c
Created by azharsarps on 20Jun17.
[ { "docid": "4c77afe8f5295dd5e4f7bd1b183e30ef", "score": "0.0", "text": "public interface D_EngineerListInterface {\n @GET(\"/service/api/service/engineerList\")\n Call<DEngineerListPojo> getJson(@Query(\"dealer_id\") String dealer_id);\n}", "title": "" } ]
[ { "docid": "27bc40cf2c5e26e0bf8b70807e0bcaed", "score": "0.6232705", "text": "@Override\r\n\tpublic void caminar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4d9e164e4e911df1380f4618e0fe7a08", "score": "0.61964816", "text": "OI (){\n\t\t\n\t}", "title": "" }, { "docid": ...
410c3c32479e4dca7fdbb896633326a5
/ Congestion control functions ================================================================================================================== Computes sampleRTT if ACK for the sampled packet is received and updates timeoutInterval
[ { "docid": "36500b9efa1bda22a0bf3812cd0d4fb1", "score": "0.7393785", "text": "private void updateTimeoutInterval() {\n\t\tif (samplePktTimestamp == -1) return;\n\n\t\t// formulae from section 3.5.3 of Computer Networking by Kurose | Ross\n\t\tlong sampleRTT = tcpMan.getManager().now() - samplePktTimesta...
[ { "docid": "28bd472aa8ab0c05a7e222060667362d", "score": "0.6268852", "text": "public void computeTimeoutValue(long sampleRTT) {\n\t\ttimeoutValue = (long) ((0.8 * sampleRTT) + (0.2 * timeoutValue) + 500);\n\t}", "title": "" }, { "docid": "200e444673a273a402317ffab5f65b28", "score": "0.61...
0959d770b063848a5eef31228f6eaff7
lanzamos la lista de usuarios
[ { "docid": "5a8cd8349a991c85bf2822616911e006", "score": "0.7111278", "text": "public final static List<Usuario> getUsuarios() {\n\t\treturn listaUsuarios;\n\t}", "title": "" } ]
[ { "docid": "d887b4bd82002736d1cbc7bebc0c133e", "score": "0.7625066", "text": "public void listUsers() {\r\n\t}", "title": "" }, { "docid": "db9d8a6910999d63c1295d29dfb6b459", "score": "0.7574553", "text": "private void listUsers() {\n ClientMain.serverConnection.sendCommand(\"...
27d464685f7c6d20750babc0898f8290
$ANTLR end "rule__Transition__Group_1__1" $ANTLR start "rule__Transition__Group_1__1__Impl" InternalStateSystem.g:2916:1: rule__Transition__Group_1__1__Impl : ( ( rule__Transition__TriggerAssignment_1_1 ) ) ;
[ { "docid": "793a1f5da76d8391c3683596d985ce6d", "score": "0.8011786", "text": "public final void rule__Transition__Group_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalStateSystem.g:2920:1: ( ( ( rule__Transiti...
[ { "docid": "5f02f68d6cef2f2f4eb0b6dadbed5308", "score": "0.7787822", "text": "public final void rule__Transition__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalStateSystem.g:2855:1: ( rule__Transition__Group__1...
b387eb0f41e165c2940d7ecfd1957836
Get the instrument endpoints
[ { "docid": "f2d717c6971d9c4ce7769aa5e4c817cc", "score": "0.8033597", "text": "public InstrumentEndpoints getInstrumentEndpoints() {\r\n if (instrumentEndpoints == null) {\r\n instrumentEndpoints = new InstrumentEndpoints(fxTradeContext);\r\n }\r\n return instrumentEndpoin...
[ { "docid": "777541e6efdeb49f336f44b98118d79d", "score": "0.68122846", "text": "public List<EndpointDependency> endpoints() {\n return this.endpoints;\n }", "title": "" }, { "docid": "eab85aab6f626dcf3a0e7ea19ac29beb", "score": "0.6641509", "text": "public AttitudeEndpoints ...
bca62bdc1e4a7b7cf62acd8d9be437d3
override toString, used for serializing class.
[ { "docid": "778c53f44a96e6b08053687cd17d5645", "score": "0.0", "text": "@Override\r\n public String toString() {\r\n StringBuilder sb=new StringBuilder();\r\n sb.append(\"id:\" + this.id + \"\\n\");\r\n sb.append(\"radius:\" + this.radius);\r\n return sb.toString();\r\n }", "title": ""...
[ { "docid": "abf859cedc5ca72b85f4975427b4ff01", "score": "0.8687408", "text": "@Override String toString();", "title": "" }, { "docid": "abf859cedc5ca72b85f4975427b4ff01", "score": "0.8687408", "text": "@Override String toString();", "title": "" }, { "docid": "e1f0947c945f...
78ae6bfa6c0239c7323f9227340c0ceb
checks if there is a Chat with a specified name
[ { "docid": "073527bcf9d56101e7a24840b91a933f", "score": "0.8554037", "text": "public boolean hasChat(String name) {\n\t\treturn getChat(name)!=null;\n\t}", "title": "" } ]
[ { "docid": "11720dba8f60e7e28817595a9bb1f86c", "score": "0.7486668", "text": "boolean hasChat();", "title": "" }, { "docid": "f0d8a7d7434146c7735d3f359e9c5844", "score": "0.72248906", "text": "public static Chat findChat(String chatName)\n\t{\n\t Chat friendChat = new Chat();\n\t for...
26b6a9a90952814d75c5431bc850919e
/ 2nd phrase: compare the fastest traversal way among each list or set Test comparison of fastest traversal of different lists
[ { "docid": "02eafb3e13b28fccc7f7c2297bb1a40d", "score": "0.7490402", "text": "@SuppressWarnings(\"unchecked\")\r\n\tprivate void testCompareListTraversal() {\r\n\t\t\r\n\t\tSystem.out.println(\"Comparison result for different lists:\");\r\n\t\tTraversalTest.speedPerformanceOnLists((int)1e7, ArrayList.cl...
[ { "docid": "55c12062ad7ad370b8d7021ecdeac98a", "score": "0.6922935", "text": "@SuppressWarnings(\"unchecked\")\r\n\tprivate void testCompareSetTraversal() {\r\n\t\t\r\n\t\tSystem.out.println(\"Comparison result for different sets:\");\r\n\t\tTraversalTest.speedPerformanceOnSets((int)1e7, HashSet.class, ...
0b00df8aa4e1cb69c35d88f02b6a9d08
Obtenemos nombre del fichero a copiar y nombre deseado del destino
[ { "docid": "d3e8d76de69a2be99b4bf1f39630da86", "score": "0.6253733", "text": "private int call_copiarFichero() {\n\t\tfichero1 = view.getFicheroOrigen().getText();\n\t\tfichero2 = view.getFicheroDestino().getText();\n\t\t\n\t\tFile fich = new File(fichero2);\n\t\t\n\t\t//Comprobamos posibles errores\n\t...
[ { "docid": "7b9ba95e59992e04337cf0c6e16de3d1", "score": "0.6065955", "text": "public void moverArchivo() {\n try {\n //Verifica que solo cuando exista un origen y destino exista se copien los datos\n //if (origen == null || destino == null) {\n if (origen == null)...
2f6173727d153f58df598bd3da0a80c8
/ AF(x1, y1, x2, y2, name) = a line segment from (x1, y1) to (x2, y2) with Name name and Rep Invariant ::= true Safety from rep exposure Only final or immutable types are returned.
[ { "docid": "4923f6c8c33fcd752267bcefecc0e8b2", "score": "0.0", "text": "private void checkRep() {\n\t\tassert true;\n\t}", "title": "" } ]
[ { "docid": "59e54393f5baa9846f9ff17298899252", "score": "0.50089824", "text": "public int pointOnLineSegment ( String pointName, String linePoint1Name, String linePoint2Name)\r\n\t{\r\n\t\tGeoPoint point;\r\n\t\tGeoPoint lp1, lp2;\r\n\t\t// the position vectors:\r\n\t\tVector2 vPoint;\r\n\t\tVector2 vLi...
d61c325445f3fa5698cd591dee3425f3
Creates an HBox to hold the discountLabel, discountTextField, and the addButton;
[ { "docid": "104dc6892ae1f8118458ee979a9e4316", "score": "0.8495039", "text": "private void createDiscountHBox(double totalCharges) {\r\n Label discountLabel = new Label(RoyalBakery.languageProperties.getProperty(\"REMEMBER_CODE\"));\r\n TextField discountTextField = new TextField();\r\n ...
[ { "docid": "695230934d5d1d0ed27ff1e037e1b052", "score": "0.6525666", "text": "private Component drawStockAddPane() {\n\t\t// creating the panel\n\t\tJPanel panel = new JPanel();\n\t\tGridLayout addPanel = new GridLayout(6, 2);\n\t\tpanel.setLayout(addPanel);\n\n\t\tpanel.setBorder(BorderFactory.createTi...
aafa4de0f2757cf659d062831b054ca2
optional uint32 value = 2;
[ { "docid": "fbb645e9e22f790ff7914aa4155abf05", "score": "0.0", "text": "public Builder setValue(int value) {\n bitField0_ |= 0x00000002;\n value_ = value;\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "2981fce8c860da929db3add965eaea5e", "score": "0.6137368", "text": "public OptionalInt c() {\n/* 31 */ return this.b;\n/* */ }", "title": "" }, { "docid": "4df744751778c95f343a30bdefa968d4", "score": "0.6126784", "text": "public UINT32 value() {\n return val...
386cdeecf36c240283b7c606e39623bf
Remote interface for EquCTechnoAttributeFacade.
[ { "docid": "8498429dde8338be8bc54a1e6c86a0dd", "score": "0.734964", "text": "@Remote\r\npublic interface EquCTechnoAttributeFacadeRemote {\r\n\t\r\n\tpublic void save(EquCTechnoAttribute entity);\r\n\r\n\tpublic void delete(EquCTechnoAttribute entity);\r\n\r\n\t\r\n\tpublic EquCTechnoAttribute update(Eq...
[ { "docid": "5c24be3f4eef7f3fb66e7a23b3f7ef07", "score": "0.6219064", "text": "public interface CfgAntenna extends javax.ejb.EJBObject, com.ibm.ivj.ejb.runtime.CopyHelper {\n\n\n\n\n\n\t/**\n\t * Get accessor for persistent attribute: resource\n\t */\n\tpublic int getResource() throws java.rmi.RemoteExce...
87f73b6fd9b006cf9f2148272c6e999d
Convert the given object to string with each line indented by 4 spaces (except the first line).
[ { "docid": "8279fe35d1f3c688ad6983974b78755b", "score": "0.0", "text": "private String toIndentedString(java.lang.Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "title": "" } ]
[ { "docid": "060c307f35bb4b6b5f41e4ead15defd6", "score": "0.74606925", "text": "private String toIndentedString(Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "title": "" }, { "docid": "060c307f35bb4b6b5f41e4ead1...
442c67376d0441666c0fb821eafa9b90
/ Tests the time methods in ResultSet
[ { "docid": "0e8dd3b46efcc9c58e9cdb740b1c91fd", "score": "0.5356829", "text": "@Test\n public void testGetDate() throws SQLException {\n Statement stmt = con.createStatement();\n\n assertEquals(1, stmt.executeUpdate(TestUtil.insertSQL(\"testdate\", \"'1950-02-07'\")));\n assertEquals(1, stmt.ex...
[ { "docid": "941bdd3b7e6f2cd8f798605ac75ac248", "score": "0.67319226", "text": "@Test\n\tpublic void updatetimeQueryPoC() {\n\t\tTable updatetimeTable = bicingData.getTableByQualifiedLabel(\"updatetime\");\n\t\tColumn updatetimeColumn = updatetimeTable.getColumnByName(\"updatetime\"); \n\t\tQuery updatet...
38b882e892c9c7ab9a21d54d462bc8e9
Tell if an intent can be resolved.
[ { "docid": "0f1b402c671788a7946effe7608c6097", "score": "0.73826724", "text": "public static boolean canResolveIntent(Context context, Intent intent) {\n final PackageManager mgr = context.getPackageManager();\n List<ResolveInfo> list =\n mgr.queryIntentActivities(intent,\n ...
[ { "docid": "d009007bd492f272e6b23efb45248fb0", "score": "0.7547193", "text": "private final boolean resolveIntent(Intent intent) {\n ResolveInfo resolveInfo = mContext.getPackageManager().resolveActivity(intent, 0);\n if (resolveInfo == null) {\n return false;\n }\n\n ...
d7efe1eed0bd723b896701be007ead01
private List items; Generate a new category
[ { "docid": "384dba80540105ea6efacd69a15cc803", "score": "0.0", "text": "public Category(String name, String description){\n\t\tthis.name = name;\n\t\tSystem.out.println(\"cd\"+description);\n\t\tthis.description = description;\n\t\tSystem.out.println(\"this \"+ this.description);\n\t\tid++;\n\t\tthis.co...
[ { "docid": "0359a8d3dc85998a4dc01651f030ee64", "score": "0.6996711", "text": "@Override\n\tpublic void createCategory() {\n\t\t addCategory(Categories.MOTEUR.getCategoryText());\n\t addCategory(Categories.VOILE.getCategoryText());\n\t addCategory(Categories.PENICHE.getCategoryText());\n\t ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "bd2d1436580d1a227be356e57e1ea3d3", "score": "0.0", "text": "public static void main(String[] args) {\n\t\ttry {\n\t\t\tmethod1();\n\t\t\tSystem.out.println(6);\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(7);\n\t\t}\n\t}", "title": "" } ]
[ { "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...
2b0e1f388544a11a9f1c0548b6bfa384
Deletes a directory and its sub directories recursively
[ { "docid": "9ef5ec38408954699e1851b464cb65a0", "score": "0.6857355", "text": "public static void deleteDirectoryRecursively(Path pathToBeDeleted) throws IOException {\n\n Files.walk(pathToBeDeleted).sorted(Comparator.reverseOrder()).map(Path::toFile).forEach(File::delete);\n }", "title": "" } ...
[ { "docid": "bdc5c7c5c470d7a879347686358bc701", "score": "0.8051127", "text": "void deleteDirectory(String path, boolean recursive) throws IOException;", "title": "" }, { "docid": "f9b5de6b7f791a9712c3150ffb7b89f4", "score": "0.7376931", "text": "private void deleteDirectory(Path path...
25e4b9356a038b74be47bbb9cca8786f
Returns the level of enchantment on the ItemStack passed.
[ { "docid": "1277ca6790c2b55e57adf2feebdd9c68", "score": "0.72767574", "text": "public static int getEnchantmentLevel(int par0, ItemStack par1ItemStack)\n {\n if (par1ItemStack == null)\n {\n return 0;\n }\n\n NBTTagList nbttaglist = par1ItemStack.getEnchantmentT...
[ { "docid": "c822bc1d606c8e8747f3215c94bfb3fa", "score": "0.7072938", "text": "public int getItemEnchantability()\n {\n return this._toolMaterial.getEnchantability();\n }", "title": "" }, { "docid": "99f0a700d1b00af66c6d1c0b1f696c2f", "score": "0.700458", "text": "@Option...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "ed42be0a1315f219f1bdf416e82aff60", "score": "0.0", "text": "@Override\r\n\tpublic void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\r\n\r\n\t}", "title": "" } ]
[ { "docid": "3d9823aba51891281b4bbd4b1818b970", "score": "0.6671074", "text": "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.6567672", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "ti...
a5a271d6b2f7f3974e5a1e895b0577f8
Aggiunge un libro alla lista dei libri
[ { "docid": "398311e3b1ecbfd2c614816d15b91f11", "score": "0.610036", "text": "public void addlibro(LibroBean libro) {\n\t\tlibri.add(libro);\n\t}", "title": "" } ]
[ { "docid": "c1b7728b656952e72bc373a51d7e57c8", "score": "0.688525", "text": "public void leerLibros(){\r\n try {\r\n // Inicializacion Archivo para Lectura\r\n ArchivoEntrada Libros = new ArchivoEntrada(\"libros.txt\");\r\n \r\n // Ciclo while que final...
2b49f8c3b7d766aeecbe5d3eb2650fef
Handles incoming data from RPI
[ { "docid": "1763f711508fe86e891a77f0686ff25d", "score": "0.5010485", "text": "private void packetHandler(int[] packet)\n {\n boolean startMemoryRead= true;\n if(packet[0]==Constants.STARTCHAR && packet[3]==Constants.ENDCHAR)\n {\n\n switch (packet[1]) {\n ...
[ { "docid": "78d8a8dfe61f7b99d2376069ffac07d2", "score": "0.6051583", "text": "@Override\n\tpublic void processData() {\n\t\t\n\t}", "title": "" }, { "docid": "46ecf4db4436b26cff25f46680a21bc0", "score": "0.5836268", "text": "@Override\n\tpublic void readData() {\n\t\t\n\t}", "tit...
74afa2c640c4c051d7c4f38ea98b8025
Setter de la variable nb_client_max
[ { "docid": "2125a19731b09d2950e669215952f0ae", "score": "0.87754166", "text": "public void setNb_client_max(int nb_client_max) {\r\n\t\tthis.nb_client_max = nb_client_max;\r\n\t}", "title": "" } ]
[ { "docid": "6655f7386bda7e3a7be3ae82bb95a6c6", "score": "0.8219005", "text": "public int getNb_client_max() {\r\n\t\treturn nb_client_max;\r\n\t}", "title": "" }, { "docid": "41345980d8c6950371d60f5de21599aa", "score": "0.7026558", "text": "public void setMax(int max)\r\n {\r\n ...
96f6094e26f68f8942541b08f303e1ac
The column number. The first column of the document is column 1.
[ { "docid": "32e09303799ad45660bf46aefc2fbf99", "score": "0.75835526", "text": "public int column() {\n return column;\n }", "title": "" } ]
[ { "docid": "cd82ff0715cece2c070951812b497685", "score": "0.79739136", "text": "public int getColumnNumber() {\n return colNo;\n }", "title": "" }, { "docid": "008fa03058cf2319c66c8412f959c53c", "score": "0.7941827", "text": "public int getColumnNumber() {\r\n return ...
24d5d388d23ce5291eeef409a8ec9268
Get a list of SWProduct from the DB
[ { "docid": "56f0229796ba88a2143d2b26b7d6abf7", "score": "0.0", "text": "public static SWProduct[] getItemList(DbConn myConn, boolean notMatched, boolean isOverUsed, String swStatus, String searchText) {\n return getItemList(myConn, notMatched, isOverUsed, swStatus, searchText, null);\n }", ...
[ { "docid": "4d75cb817856a47c379dab245a25b855", "score": "0.7513987", "text": "public ArrayList<Product> findAllProducts(){\n ArrayList<Product> products = new ArrayList<Product>();\n try{\n Statement statement = conn.createStatement();\n ResultSet rs = statement.execu...
cc6afb5a313b71e5e8f00cbf8125282b
distance from s to v; return Double.POSITIVE_INFINITY if no path
[ { "docid": "db6e76d6857bdcfaa511a8ab5e3c2e40", "score": "0.6129049", "text": "public double distTo(int v) {\n return distTo[v];\n }", "title": "" } ]
[ { "docid": "c470523d3e1e4ff54416cc473b2536c9", "score": "0.6602519", "text": "public float getDistance(Vector2i v){\r\n return (float) Math.sqrt(Math.pow((this.x - v.x), 2)+Math.pow((this.y - v.y), 2)); \r\n }", "title": "" }, { "docid": "0d70dd5239c51a1529413a7972911706", "sc...
156ae10ad292944a89a68d3ebdc553cc
JPATransactor.getInstance().entityManager().refresh(model); Hva var poenget med denne? Kommenter hvis den settes tilbake...
[ { "docid": "5d0604e50e5b23f75aabffb5e9cb1c68", "score": "0.0", "text": "@Override\n\tpublic void transferModelToView() {\n\t\tview.setType(model.getType());\n\t\tview.setTargetDate(model.getTargetDate());\n\t\tview.setProgressStatus(model.getProgressStatus());\n\t\tview.setProgressDate(model.getProgress...
[ { "docid": "4e9b9e70fc356181cdae0f78624e31ac", "score": "0.7122646", "text": "@Override\n\tpublic void refreshModel() {\n\t}", "title": "" }, { "docid": "bd619bc1bb923ce6b842e3e3ced717ab", "score": "0.7012604", "text": "protected void reload() {\r\n initModel();\r\n }", ...
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": "79b03f99c81f241f31dce8dda720c35a", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n txt_Cli...
[ { "docid": "5a3ef8ce8c5f955012b5237ca22e404b", "score": "0.76740664", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\" Generated Code \">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n }", "title": "" }, { "docid": "19ee...
c4c679e84b5766b2ae0468c73f3c2617
Computer computer = new Computer("default", "default","default");
[ { "docid": "d5356c6b6531ad9e8b9c5d6d14f5ba6d", "score": "0.6274324", "text": "public static void main(String[] args) {\n\t\t\n\t\tComputer computer = ComputerBuilder\n\t\t\t\t.start()\n\t\t\t\t.setCpu(\"i7\")\n\t\t\t\t.setRam(\"8g\")\n\t\t\t\t.build();\n\t\tSystem.out.println(computer.toString());\n\t\t...
[ { "docid": "1b6165231ae46bb7e5e86750fab17671", "score": "0.8103103", "text": "public void create(Computer computer);", "title": "" }, { "docid": "5cd81ff1bf2c8fc45cfec7002c30ed30", "score": "0.7403034", "text": "public DumbComputer()\r\n {\r\n //no instances variables neede...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "5ffbc64eedbd1f7f4fbe090edd085bda", "score": "0.0", "text": "@Override\n\tpublic void executePlayerCommand() {\n\t\tint qid=QingkeConsole.askUserInputInt(\"请输入问题ID\");\n\t\tBesuperDao dao=new BesuperDao();\n\t\tQuestion question=dao.getQuestion(qid);\n\t\tif(question==null){\n\t\t\tQingkeCons...
[ { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.69474965", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", ...
ff4627846b0a65f501f812baaabde275
Creates new form AlquilerVenta
[ { "docid": "f98cc282d43cf4f07e7dcba7065b0a9f", "score": "0.0", "text": "public ResConAlquiler() throws ClassNotFoundException {\n initComponents();\n \n // Centrar pantalla\n this.setLocationRelativeTo(null);\n \n // Poner título\n this.setTitle(\"Registr...
[ { "docid": "d59b2f0acac2e0c590a28c06ef5e7461", "score": "0.646133", "text": "public VacanteForm() {\r\n }", "title": "" }, { "docid": "7cb160fca6a4189b5de3247f520bde54", "score": "0.63591915", "text": "Asignacion createAsignacion();", "title": "" }, { "docid": "3c408ea...
d6bcac253be12703e43b1ee9e365df59
This method was generated by MyBatis Generator. This method corresponds to the database table dashboard
[ { "docid": "647100dffdd00c1d1320eacb8649da14", "score": "0.0", "text": "int updateByExampleSelective(@Param(\"record\") Dashboard record, @Param(\"example\") DashboardExample example);", "title": "" } ]
[ { "docid": "04de37d84d70b4ebbd9be638604b7af4", "score": "0.5881565", "text": "@Override\n protected String getTable() {\n return TABLE_NAME;\n }", "title": "" }, { "docid": "c9c008c7cb5b2aa06da1658d55f0d9d4", "score": "0.58690643", "text": "Dashboard selectByPrimaryKey(String id...
79374a034333afd7044c3c6e0e846111
API Method for accessing the contents of the escrow type tree elsewhere
[ { "docid": "3098b2f7217a0a8ac9a030695496c737", "score": "0.53541374", "text": "public TreeMap<String,String> getEscrowType(){\n return escrowtype;\n }", "title": "" } ]
[ { "docid": "ad22f9afeef4fa405fca02fdef5cab9b", "score": "0.5813828", "text": "public interface EmfTreeNode {\n\n /** An EMF item is a leaf if it is an EAttribute, or if it's EClass does not have any EStructuralFeatures */\n boolean isLeaf();\n\n String getLabel();\n\n boolean isEmpty();\n\n...
27c7774a449d287b440ea422df39784b
Use for Get FamilyList
[ { "docid": "42bb79a88d82fdc9a5778e2064cb9b26", "score": "0.0", "text": "public void callFamilyListApi() {\n if (Utils.isNetworkConnected(mContext)) {\n\n Utils.showDialog(mContext);\n ApiHandler.getApiService().get_FamiliyByFamilyID(getFamilyListDetail(), new retrofit.Callba...
[ { "docid": "a8d8e708eba93de5ec7c4af81c9aad9c", "score": "0.66438174", "text": "public List<Family> getFamilies() {\r\n\t\treturn getInputAsSequence().getFamilies();\r\n\t}", "title": "" }, { "docid": "f744e7d1b908f58333fcc0af02bde22e", "score": "0.63973296", "text": "public static Li...
9b7b0e1c21cfe3a130a4c228165edd0c
This method is used to get data from AM_API_URL_MAPPING table
[ { "docid": "0215f8f57eaf5ede174a8bd3ba098f23", "score": "0.7638166", "text": "public ArrayList<APIURLMappingInfoDTO> getAPIURLMappingData() throws APIMigrationException {\n try (Connection conn = APIMgtDBUtil.getConnection()) {\n try (PreparedStatement ps = conn.prepareStatement(GET_AM...
[ { "docid": "bb03f4d0653a0aedc7c9bf960076413b", "score": "0.5811222", "text": "public ArrayList<APIInfoDTO> getAPIData() throws APIMigrationException {\n try (Connection conn = APIMgtDBUtil.getConnection()) {\n try (PreparedStatement ps = conn.prepareStatement(GET_AM_API_SQL)) {\n ...
1def462958f8f0c484a2985ea8cd7ccf
komplexerer Testfall um die Konsistenz zwischen Schublade und Rack zu pruefen
[ { "docid": "3c0cd277a8ab8e7909d6192d91f2753b", "score": "0.45248824", "text": "@Test\n public void testAnderesRackAendernExtrem() {\n Schublade s1 = new Schublade(null, 0);\n Schublade s2 = new Schublade(null, 0);\n Rack r1 = new Rack(0, 0, 0, null, s1, 2);\n Rack r2 = new...
[ { "docid": "23d2795cd230cfa4fabd0e24dcdc3985", "score": "0.5252473", "text": "public void testRegisterShipperWithMasterServer() {\n //send socket to itself\n }", "title": "" }, { "docid": "5f1e3b16f166225079a226fa04f127a3", "score": "0.51340264", "text": "public void setRac...
ef48c80ce70fa60c0d310e09c9c17a9f
save a book of a user
[ { "docid": "2c37cd446f7ebbce5efb393f483c9f2b", "score": "0.7373624", "text": "@PostMapping(\"/user/{id}/savebook\")\n public User savebook(@PathVariable String id, @RequestBody SavedBook book){\n return userService.saveBook(id,book);\n }", "title": "" } ]
[ { "docid": "9e9e5430063b0e8c85d7f18d32af83e5", "score": "0.7122797", "text": "@Override\r\n\tpublic void saveBook(Book book) {\n\t\tsessionFactory.getCurrentSession().save(book);\r\n\t\tSystem.out.println(\"Data Saved\");\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "f6b3d9d5f34686600c...
a8077c93e7415f1a92dc10166bfcd8b4
GENLAST:event_deleteBtnMouseClicked / End Delete Button //// / Start Print Button //// Print Btn Enter Color Change
[ { "docid": "418e80c6f65e8bc29bdab523d9b537bb", "score": "0.82347745", "text": "private void PrintBtnMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_PrintBtnMouseEntered\n PrintBtn.setBackground(Color.decode(\"#339966\"));\n }", "title": "" } ]
[ { "docid": "19325785523fdb74d251741dcae438ff", "score": "0.8257626", "text": "private void PrintBtnMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_PrintBtnMousePressed\n PrintBtn.setBackground(Color.decode(\"#1e5837\"));\n }", "title": "" }, { "docid": "f7f35265aba2a...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "96c803ca9480d8276cae5bc26c515fe7", "score": "0.0", "text": "private void doMySearch(String query) {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cdf542363f5b089e84183e3d9020935f", "score": "0.6697644", "text": "@Override\n\t protected void ramana() {\n\t\t\n\t}", "ti...
5e0b1ecc170270ffaab1f37b77945ada
Creates a new Bridge using the default connection string as defined in the "bridge.xml" file. See net.sf.btb.ConnectionManager for more informations about this file.
[ { "docid": "ba1852abac013f7e3950bb196461d3ae", "score": "0.45709908", "text": "public Bridge(Class<A> type, String... ignoredProperties) throws SQLException {\n\t\tUtil.throwIfNull(type, \"type\");\n\t\tinitialize(null, type, ignoredProperties);\n\t}", "title": "" } ]
[ { "docid": "113d376d58a3228edfd0dab65881cf03", "score": "0.59857416", "text": "public void createConnection();", "title": "" }, { "docid": "ffc5b824e06e6e65a7d6547bb3eb36a3", "score": "0.5783649", "text": "Connection createConnection();", "title": "" }, { "docid": "0b026e...
221a66c019082b950e8486c047981993
Returns the list of all learners registered as using this suite
[ { "docid": "f35c46be03b5b115ffe7ad5075179206", "score": "0.8109826", "text": "public Vector<Learner> getAllLearners() {\n\treturn usedByLearners;\n }", "title": "" } ]
[ { "docid": "f171836f15623540753a29b93f3b0e0a", "score": "0.71011627", "text": "public com.google.protobuf.ProtocolStringList\n getLearnersList() {\n return learners_;\n }", "title": "" }, { "docid": "fa3429da316d7bddf85c4cae64762c95", "score": "0.6889499", "text": "pub...
97dc4811989157ea87d0367c031a6452
Create the test case
[ { "docid": "4479cd24360b447ac25926aa7a7959c8", "score": "0.0", "text": "public EcommerceAPITest(String testName) {\r\n\t\tsuper(testName);\r\n\t}", "title": "" } ]
[ { "docid": "45cc7bc5937500f25ee5135d707f2d18", "score": "0.7625475", "text": "TestCase createTestCase();", "title": "" }, { "docid": "e7e762bd642886c5501c1fc8fed8b434", "score": "0.73894805", "text": "@Test\r\n void testCreates();", "title": "" }, { "docid": "382c42e66...
3878886a9c89d610776b6e03d73cf618
Advance to previous Memento This could happen if the index has not been set yet
[ { "docid": "c5c948f597e72fb9522268c45246e578", "score": "0.5563171", "text": "public void onClick(View v) {\n \tif (mMementos.getCurrentIndex() < 0) {\n\t \tint index = mMementos.getIndex(mDateDisplayed);\n\t \t\tif (index < 0) {\n\t \t\t\tLog.d(LOG_TAG, \"Could not f...
[ { "docid": "34e01a155c44d2bc2912f566c8e28b05", "score": "0.7528391", "text": "public void setCurrMementoIndex(int index)\n\t{\n\t\tcurrMementoIndex = index;\n\t}", "title": "" }, { "docid": "1098252c2f35afe1bb158b159585238a", "score": "0.6961678", "text": "public int getCurrMementoIn...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "f06c942a5ba9c5d495a69b48f6d879b8", "score": "0.0", "text": "@Override\r\n\tpublic int getCount() {\n\t\treturn m_PDLI.size();\r\n\t}", "title": "" } ]
[ { "docid": "81005989525ec80103fbaf46f9c37779", "score": "0.6694239", "text": "@Override\n\tpublic void agit() {\n\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65686274", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, ...
cbba0e03b54d6cd3b8d30412d61852c6
Method to calculate the angle from this bug to the named bug. Throws a RuntimeException if the named bug is not in the Interpreter's list of Bugs.
[ { "docid": "f274c30a5a4cb46f92c5c32b630ba063", "score": "0.7320615", "text": "public double direction(String nameOfBug) {\n\t\tBug other = interpreter.bugsMap.get(nameOfBug);\n\t\tif (other == null)\n\t\t\tthrow new RuntimeException(\n\t\t\t\t\t\"Bug is not in Interpreter's list of Bugs\");\n\t\tdouble ...
[ { "docid": "a0dcd837ed83d658fe41fbabf0a73dc6", "score": "0.6272453", "text": "public float computeAngle();", "title": "" }, { "docid": "069b6a3a4b66f88eec6a5ed5481fcb98", "score": "0.5890967", "text": "double getAngle();", "title": "" }, { "docid": "be66acf046c5f5e5ec5f53...
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "5fb47fadf2bbf1a3b79e45aa72e0c76f", "score": "0.0", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = (View) inflater.inflate(R.layout.fragment_blank_fragment2, contain...
[ { "docid": "5494eeb3d9ae3f79a9c014ee5b302a79", "score": "0.6905438", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.search_radius_fragmemt, container, fals...
9437a331787fb52830e02cee8f6b01b7
Gets the IDMapper Mmd records for dupulicate resources in other collections, or null.
[ { "docid": "3beea12c6827761f23ff32388cfb44a4", "score": "0.7573572", "text": "public MmdRec[] getMmdDupesInOtherCollections() {\n\t\ttry {\n\t\t\tXMLDocReader dr = (XMLDocReader) getDocReader();\n\t\t\tRecordDataService rdc = getRepositoryManager().getRecordDataService();\n\t\t\tQuery idMapperQueryObjec...
[ { "docid": "9b76ad67570522a90946f27152a62d8b", "score": "0.71500045", "text": "public MmdRec[] getMmdDupesInSameCollection() {\n\t\ttry {\n\t\t\tXMLDocReader dr = (XMLDocReader) getDocReader();\n\t\t\tRecordDataService rdc = getRepositoryManager().getRecordDataService();\n\t\t\tQuery idMapperQueryObject...
a6146515d4fd10873ca8ce338b881db2
Utility method to write an element start tag.
[ { "docid": "131a8e2e26ec8ccdb77cff6b7358a370", "score": "0.0", "text": "private void writeStartElement(java.lang.String prefix,\n java.lang.String namespace, java.lang.String localPart,\n javax.xml.stream.XMLStreamWriter xmlWriter)\n throws javax.xml.stream.XMLStreamExce...
[ { "docid": "0fb192ac9ef278416c01d261877708f8", "score": "0.7241405", "text": "public void writeStartElement(String tag) throws XMLException;", "title": "" }, { "docid": "b5a50767cc56900316318f1249345b9b", "score": "0.71872246", "text": "public void startElement(final DElement element...
8f56dbc57edebf45d627f9729606d35c
Brise predmet iz liste kod ucenika
[ { "docid": "451270d760d63fbe905d7f5985d739cf", "score": "0.0", "text": "@Override\n\tpublic ResponseEntity<?> removeSubjecFromStudent(Integer id, Integer subjectId) {\n\t\tStudentEntity retVal = new StudentEntity();\n\t\tSubjectEntity subject = new SubjectEntity();\n\t\tList<SubjectEntity> listOfSubject...
[ { "docid": "d19f45978200b788373b90342fec40dc", "score": "0.659725", "text": "public void getListChauffeur()\n\t{\n\t\tArrayList<String> chauff=new ArrayList<>();\n\t\tArrayList<String> Allchauff=new ArrayList<>();\n\t\tfor ( int k=0; k<trajetHistorique.size();k++)\n\t\t{\n\t\t\tchauff = trajetHistorique...
d47a2d00b54ceca2ba6357aa25a52680
Create contents of the shell.
[ { "docid": "388e59e3afc58a0b7125af31936c614a", "score": "0.6027906", "text": "protected void createContents() {\n\t\tsetText(\"SWT Application\");\n\t\tsetSize(450, 300);\n\n\t}", "title": "" } ]
[ { "docid": "6df07663dc0ad17b62952116f4ab49a2", "score": "0.7165221", "text": "private void createContents() {\r\n\t\tshell = new Shell(getParent(), getStyle());\r\n\t\tshell.setSize(450, 300);\r\n\t\tshell.setText(getText());\r\n\t\tshell.setLayout(new GridLayout(1, false));\r\n\r\n\t\tuserService = new...
fb0afe36292ff0fcdf874e16d121c172
End of variables declaration//GENEND:variables
[ { "docid": "4215391c41471a1cf103240a646c2b02", "score": "0.0", "text": "private void calcularVo() {\n float r1, r2, r3;\n if(!txtang.getText().equals(\"\") && !txtvox.getText().equals(\"\"))\n {\n float ang = Float.parseFloat(txtang.getText()), vox = Float.parseFloat(...
[ { "docid": "582acaef2e3110454651d58f22c1b299", "score": "0.6624419", "text": "public void mo14492g() {\n }", "title": "" }, { "docid": "40be4915804d3229e08fed067ec03fd6", "score": "0.6563497", "text": "Bug_616419() {\r\n\t}", "title": "" }, { "docid": "f4bccec648e6...
3ef5e20688763993497dc9ee21b70665
Instantiates a new XY series.
[ { "docid": "7df9df7a1a02a245c4fe614588852704", "score": "0.53037393", "text": "public XYSeries(String name, Collection<Pattern> regexes, boolean caseSensitive, Color color, ShapeStyle shape) {\n\t\tsuper(name, regexes, caseSensitive, color);\n\n\t\tsetMarker(shape);\n\t\tsetColor(color);\n\t}", "tit...
[ { "docid": "0985841dc6a4cda2af43f9f881c29d7b", "score": "0.7805731", "text": "public XYSeries() {\n\t\tthis(COLOR_CYCLE.next());\n\t}", "title": "" }, { "docid": "b4b898e9354610666a169c43f15a9fe0", "score": "0.77267265", "text": "public static XYSeries createXYSeries() {\n\t\treturn ...
0947379ba89467ee2dfe72893971d146
/ $4F CLRA inherent 0100
[ { "docid": "921a2f28d550eb385fa4d7575b7b0da6", "score": "0.5980264", "text": "public void clra() {\n _cpu._m6809.a = 0;\n _cpu.CLR_NZVC();\n _cpu.SEZ();\n if (_cpu.m6809log != null) {\n fprintf(_cpu.m6809log, \"M6809#%d clra :PC:%d,PPC:%d,A:%d,B:%d,D:%d,DP:%d,U:%d,...
[ { "docid": "74c6498eb389a0a785af22074d886338", "score": "0.5450669", "text": "public void mo97950a() {\n this.f77043a = -1;\n this.f77044b = 0.0f;\n this.f77045c = 0;\n }", "title": "" }, { "docid": "998ea7ac829203bd402960f8535dc0ed", "score": "0.5...
6ca80c7ef362ddf7692d8224236b8cbd
this will return the ListView Item as a View
[ { "docid": "f6201abda78d0da736bf4b9f3e266ce3", "score": "0.0", "text": "@NonNull\n @Override\n public View getView(final int position, @Nullable View convertView, @NonNull ViewGroup parent) {\n\n //we need to get the view of the xml for our list item\n //And for this we need a layout...
[ { "docid": "3f4602e371ff3fe2681ea19221784e3a", "score": "0.7187793", "text": "@Override\n public View getView(int position, View convertView, ViewGroup parent) {\n\n SingerItemView view = new SingerItemView(getApplicationContext());\n SingerItem item = items.get(position);\n...
00151af7fb150b76c996427205fa7f4c
Creates new form MonsterView
[ { "docid": "ac0444f468b14c9faf2fc4c05712b596", "score": "0.67806894", "text": "public MonsterView() {\n initComponents();\n }", "title": "" } ]
[ { "docid": "117bf3a8afce3095e02911b7510dfb56", "score": "0.6812576", "text": "private void createMonster() {\n monster = new Monster(nameEditText.getText().toString(),\n Integer.parseInt(ageEditText.getText().toString()),\n speciesEditText.getText().toString(),\n ...
133d786c6a49df521f6aca1a4e181f25
Retrieves the response message.
[ { "docid": "6935d8c8973e42e739572cac72b61439", "score": "0.70197374", "text": "public String getMessage() {\n\t\treturn message;\n\t}", "title": "" } ]
[ { "docid": "3019623ca966619341948a72f463f135", "score": "0.83019274", "text": "public String getResponse_message() {\n return response_message;\n }", "title": "" }, { "docid": "f1a554a0329254e84712273a5672939a", "score": "0.8121139", "text": "public String getResponseMessag...
c5bbdaeed41bb93775710493c45fda08
Clears the pageName 2 Page mapping. Generally you want do this when you are about to throw everything in the scene away. This keeps references from being kept.
[ { "docid": "c4dbe3efef06a0c21fb378fdfbaad355", "score": "0.8233789", "text": "protected void clearPageName2Page() {\n LOGGER.finest(\"PageName2Page: clear\");\n Set<String> keys;\n synchronized (pageName2Page) {\n keys = new HashSet<String>(pageName2Page.keySet());\n ...
[ { "docid": "3119fb5a1a59770d022b8402eb51da37", "score": "0.7228685", "text": "void unsetPages();", "title": "" }, { "docid": "dd52c821ddfd5ad63f0fc781d1d7b252", "score": "0.680183", "text": "public void clear() {\n\t\tfor (Marker m : markers.values()) {\n\t\t\tm.remove();\n\t\t}\n\t\...
7c614638b638384cdb3fc18c8ba22cee
/ 107: / 108:
[ { "docid": "5cee0fdfd358bb2ccc8c2f22fbaa0400", "score": "0.0", "text": "protected final String getFilterName()\r\n/* 109: */ {\r\n/* 110:237 */ return this.filterConfig != null ? this.filterConfig.getFilterName() : this.beanName;\r\n/* 111: */ }", "title": "" } ]
[ { "docid": "da8c81cbb157d83468bd9af4cbde34bd", "score": "0.58955455", "text": "public static void main(String[] args) {\nSystem.out.println(74+36);\r\n\t}", "title": "" }, { "docid": "0e6469871f1df354d1738b106a738c12", "score": "0.58481777", "text": "public int ar()\r\n/* 254: *...
d6c9c2f1127ef34b109b0132066731ec
Gets the "Substance" element
[ { "docid": "e6e10ed4fe67de75162004450c97a49d", "score": "0.72556216", "text": "org.hl7.fhir.Substance getSubstance();", "title": "" } ]
[ { "docid": "a683ef093ba5824b967d0237eff4e605", "score": "0.7949032", "text": "public String getSubstance() {\n return substance;\n }", "title": "" }, { "docid": "a0c639662bcdda73d9651867df08e938", "score": "0.6627735", "text": "org.hl7.fhir.ResourceReference getSubstance();...
518bf5364cda3c6202a1a392996f93d1
Inflate the menu; this adds items to the action bar if it is present.
[ { "docid": "b503fc7fa1f36527045b729accf7ab38", "score": "0.0", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_main, menu);\n return true;\n }", "title": "" } ]
[ { "docid": "4a7f83039295e93d133f65a9d6162925", "score": "0.7133835", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n if(activity!=null) {\n activity.getMenuInflater().inflate(R.menu.main, menu);\n }\n super.onCreateOptionsMenu...
15124c62958dc2328751174ffa4b910a
Default constructor, instantiates the board to default dimensions.
[ { "docid": "9e37a2c3c8840a9c26f6ee1242f30a2e", "score": "0.78330135", "text": "public Board()\n\t{\n\t\tcols = DEFAULT_WIDTH;\n\t\trows = DEFAULT_HEIGHT;\n\t\t\n\t\tpieces = new int[rows][cols];\n\t\tif (pieces.length > 0)\n\t\t{\n\t\t\tfor (int i = 0; i < pieces.length; i++)\n\t\t\t\tfor (int j = 0; j ...
[ { "docid": "e928ef0bd20199b3c2c67ccec0b9fb03", "score": "0.8417928", "text": "public Board() {\n\t\tintializeBoard(_RowCountDefault, _ColumnCountDefault, _CountToWinDefault);\n\t}", "title": "" }, { "docid": "af2f550c267fcc97157481681044b740", "score": "0.82667565", "text": "Board() ...
81792dee6efcdf25aabbe054228c97d6
SAVE INSTANCE INTO FILE
[ { "docid": "ead4e57c0757554a3602b4dbfba817ea", "score": "0.6397622", "text": "private boolean saveInstance() {\n setExternalStorage();\n try {\n File file = new File(EXTERNAL_DIR, FILE_NAME);\n if (!file.exists()) {\n file.createNewFile();\n ...
[ { "docid": "36bb8adfbb4a6d80df2467a026cf42c2", "score": "0.79640585", "text": "public void save() {\n\t\ttry {\n\t\t\tFileOutputStream fos = new FileOutputStream(fileName);\n\t\t\tObjectOutputStream oos = new ObjectOutputStream(fos);\n\t\t\tIOUtils.writer.println(\"Files saved successfully\");\n\t\t\too...
dee609bca07c76f8650303298ca44a03
A list of objects describing the source of the export snapshot record.
[ { "docid": "08f62932a2c6806bfff17862c36473fa", "score": "0.0", "text": "public ExportSnapshotRecord withSourceInfo(ExportSnapshotRecordSourceInfo sourceInfo) {\n setSourceInfo(sourceInfo);\n return this;\n }", "title": "" } ]
[ { "docid": "b5ad1bf04ecad7a7526cdab0a3f3cc54", "score": "0.61685836", "text": "public ExportSnapshotRecordSourceInfo getSourceInfo() {\n return this.sourceInfo;\n }", "title": "" }, { "docid": "606f92311654bb3838d370671ad2beb1", "score": "0.6012482", "text": "public String ...
7afd405d170338612a5476e07cee3cf8
Returns first parent which is instance of specified class type or null if none found.
[ { "docid": "520bbdd56f5d16a2f07b910574d3a0e6", "score": "0.6869526", "text": "@Nullable\n public static <C extends Container> C getFirstParent ( @NotNull final Component component, @NotNull final Class<C> parentClass )\n {\n Component parent = component.getParent ();\n while ( !paren...
[ { "docid": "adc4d8c753f231b0efab36fecf60ae7f", "score": "0.7303658", "text": "private Class findBaseParent(final Class type) {\n return (Objects.isNull(type) || Object.class.equals(type)\n ? null\n : Optional.ofNullable(type)\n .map(Class::getSuperclas...
6aa069c0da9894804e6200d184030e1c
Method to make json array request where json response starts wtih
[ { "docid": "25b58e91eeae1676caa4cdb0622f0a3d", "score": "0.0", "text": "private void makeGetLimiteRequest() {\n\n final SweetAlertDialog loading=new SweetAlertDialog(getActivity(),SweetAlertDialog.PROGRESS_TYPE)\n .setTitleText(\"Loading\");\n loading.setCancelable(false);\n...
[ { "docid": "115fa6d417bf4d8a28f9fb2320458699", "score": "0.6939207", "text": "@ResponseBody\n @RequestMapping(value = \"/json_array.do\", method = RequestMethod.GET,\n produces = \"application/json; charset=utf8\")\n public String json_array() {\n try {\n Thread.sleep(...
f9a4ee392bcf93e9073d44fc3950345e
This function is called once when autonomous begins
[ { "docid": "30ccf8efdadf4e76d679a554bdeb46cf", "score": "0.7344094", "text": "public void autonomousInit() \n {\n \tm_AutoCase = 0;\n \tm_DriveTrain.ResetEncoders();\n \tm_DriveTrain.ResetAngle();\n }", "title": "" } ]
[ { "docid": "3edb2c5bbb7f2d9c62e0e40aecd04e94", "score": "0.8056532", "text": "public void autonomous() {\n }", "title": "" }, { "docid": "cf105c1938cd065568c484ee37affae0", "score": "0.7872088", "text": "public void autonomousInit() {\n }", "title": "" }, { "docid":...
c44bf2f92fbfb5fcfad90e781811a196
////////////////// work with trailer table ///////////////////
[ { "docid": "192fac687b6b1a6a1a616d10f32ae2c6", "score": "0.0", "text": "public int addMovieTrailers(String movieId, ArrayList<String> trailersUrlList) {\n SQLiteDatabase db = dbHelper.getWritableDatabase();\n int count = trailersUrlList.size();\n for (int i = 0; i < count; i++) {\n ...
[ { "docid": "74cc3b1b6ad0d9f11f271940e849c83f", "score": "0.673059", "text": "private void writeTrailer() throws IOException {\n/* 1317 */ this.stream.write(59);\n/* */ }", "title": "" }, { "docid": "70217b660cafd4c35a38a5e53b7d40e4", "score": "0.6585583", "text": "@Test\n ...
ef041e60a851e25f0fd07becf21cbe51
This is a callback that will allow us to create the viewer and initialize it.
[ { "docid": "76bf0a2d021d9723a5e4d5f9d3aaa95f", "score": "0.0", "text": "public void createPartControl(Composite parent) {\n viewer = new TreeViewer();\n\n // viewer.setContents(null);\n // viewer.setEditPartFactory(new StrategyTreeEditPartFactory(null));\n\n viewer.setEditDom...
[ { "docid": "868232cae72022a112d0c94b26206039", "score": "0.79676455", "text": "void setupViewer();", "title": "" }, { "docid": "1721a346e69f18bb7d6dfb279f76a9ee", "score": "0.70324016", "text": "public SimpleViewer() {\n\t}", "title": "" }, { "docid": "5220ef31cc506900561...
3a07a28665b06b9f6b0f05a8b6f40f18
Given an integer error code from an internal operation
[ { "docid": "3aba07f76bb0cd9a8dc28e0aa964ffb4", "score": "0.0", "text": "public static native String awsErrorName(int errorCode);", "title": "" } ]
[ { "docid": "93afc9d7c36702b953a599dbcb160e40", "score": "0.7219647", "text": "private Exception processErrorCode(String error) {\r\n\t\tif (error.equalsIgnoreCase(\"6700\"))\r\n\t\t\treturn new Exception(\"Wrong data length.\");\r\n\t\telse if (error.equalsIgnoreCase(\"6a80\"))\r\n\t\t\treturn new Excep...
4e2affba9c4766c443f4d09c374ff5e8
Remove any bitmap associated with the given appWidgetId.
[ { "docid": "a967c40f5c5856811d8290cf2a7700bc", "score": "0.6807449", "text": "public void deletePhoto(int appWidgetId) {\n try {\n SQLiteDatabase db = getWritableDatabase();\n String whereClause = String.format(\"%s=%d\", FIELD_APPWIDGET_ID, appWidgetId);\n ...
[ { "docid": "9f22d51e2c971ea3471d35be8d25e1f2", "score": "0.60176307", "text": "public void removeApp(String bundleId);", "title": "" }, { "docid": "ed740238f018370cc75fa57bf09b4c98", "score": "0.5840687", "text": "@Override\n public void onDeleted(Context context, int[] appWidgetI...
8ad0d3ead6ba50e9d1e8bc49ceaf0e24
Notifies listeners that the device is about to enter or exit low light.
[ { "docid": "4985b5766cde9580a2bafaa749a72168", "score": "0.595756", "text": "void notifyBeforeLowLightTransition(boolean entering, Runnable callback) {\n Animator animator = null;\n\n if (entering && mLowLightEnterListener != null) {\n animator = mLowLightEnterListener.onBeforeE...
[ { "docid": "f45f5acfa03a1bdf519816921d12a3d9", "score": "0.6815597", "text": "private void actionOnLightEvent(SensorEvent event) {\n\n\t\tactualTime = System.currentTimeMillis();\n\n\t\tif ((actualTime - lastUpdate < 2000) || (event.values[0] < 400)) {\n\t\t\treturn;\n\t\t} else {\n\t\t\tlastUpdate = Sy...
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "5f998b846fa33d896918e9bc7ad08a22", "score": "0.6730788", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_data_packet, container, false)...
[ { "docid": "5654788c4d12f5f617f5000225771aed", "score": "0.68823403", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n View view = inflater.inflate(R.layout.fragment_worker_detail, contain...
35dbf12442e6c291bb79c37c9123bf22
Creates a title layer. A title layer is not really a layer but a collection of layers under the same title heading.
[ { "docid": "b3c0dd135bd315ab58586b97760abb6a", "score": "0.7260993", "text": "public static PdfLayer createTitle(String title, PdfWriter writer) {\n if (title == null)\n throw new NullPointerException(MessageLocalization.getComposedMessage(\"title.cannot.be.null\"));\n PdfLayer ...
[ { "docid": "3103f62ed0626d0936462ff607c6870f", "score": "0.66966784", "text": "private Node createTitle() {\r\n\t\tHBox container = new HBox();\r\n\t\tcontainer.setAlignment(Pos.CENTER);\r\n\t\tcontainer.setPadding(new Insets(20, 5, 5, 5));\r\n\r\n\t\tText titleText = new Text(titleLabel);\r\n\t\ttitleT...
6f40d67f70e948926e8eecf8ed6447d8
To get the Database information.Making the connection between the java to Data Base and gets the driver, URL, User Name and Password from the Persistence file
[ { "docid": "bc3910c0661fe3bdbdeed48fda7f3093", "score": "0.0", "text": "public static EntityManager getConnection() throws LicenseException {\n\t\tLicenseLogger.getInstance().finest(ConnectionUtilJPA.class.getName(), \"getConnection\", \"Connection is creating...\");\n\n\t\tEntityManagerFactory entityMa...
[ { "docid": "7aff5dd74340643430a8d447091c88c3", "score": "0.7382289", "text": "public DBConnect()\n {\n configuration.setDB_Driver(\"com.mysql.jdbc.Driver\");\n configuration.setDB_Url(\"jdbc:mysql:\");\n configuration.setHost(\"158.114.52.140\");\n configuration.setMission(\"CND\"...
873e2ed7faeece05f6431283bcff0c15
keepType is the only file type we want to keep in the new zip file, like "java".
[ { "docid": "9e8b9d412194ea194b046ad3a404a4f5", "score": "0.6434361", "text": "public static void convertTarToZip(String tarFilePath, String zipFilePath,\r\n\t\t\tString keepType, boolean del) {\n\t\ttry {\r\n\t\t\tFileOutputStream fos = new FileOutputStream(zipFilePath);\r\n\t\t\tZipOutputStream zos = n...
[ { "docid": "6f175aaad290ca0745722dc9c111ded9", "score": "0.56131357", "text": "public static void zipDir(String dir2zip, ZipOutputStream zos, int LEN, String fileTypeToKeep)\r\n\t\t\tthrows IOException {\n\t\tFile zipDir = new File(dir2zip);\r\n\t\t// get a listing of the directory content\r\n\t\tString...
2980a501fc6dda9e6c296f4738da6c92
Traitement: Clic sur Bouton1
[ { "docid": "b4ae005c7b1040336c93125738bdb165", "score": "0.5026568", "text": "public void clicSurBoutonGauche()\n{\nsuper.clicSurBoutonGauche();\n\n// ouvre(Recherche_Profil, Paramètre 1, Paramètre N)\nWDAPIFenetre.ouvre(GWDPGruppeto.getInstance().mWD_Recherche_Profil);\n\n}", "title": "" } ]
[ { "docid": "298031bcdcfac17bc828fd73608fbc55", "score": "0.588475", "text": "@Override\r\n\tpublic void cobrar(int sueldo) {\r\n\t\t// TODO Auto-generated method stub\r\n\r\n\t}", "title": "" }, { "docid": "f5258111f83867823c2eec950f2b5028", "score": "0.57867426", "text": "private vo...
99c7da4098456145d28fe0388bc3936d
Create an item :
[ { "docid": "285b5bb7fa321cdeb8fbab921dac2ee6", "score": "0.0", "text": "@Test\n public void testEquipItemNonEquipableItem() {\n ItemType item = TestUtils.createNonEquipableOrUsableItemType();\n\n // Add the item in the inventory :\n this.world.model.player.inventory.addItem(item,...
[ { "docid": "89fd50edc3a411840ac8759b4e5ea902", "score": "0.8026342", "text": "public void create(T item);", "title": "" }, { "docid": "7cf88b7451bcfb2e8708fa02da9a714d", "score": "0.78416866", "text": "public void createItem() {\n Item coffee = new Item(\"Coffee\", 5, 10, \"Co...
d0e4cc08a1e9b9b3dcf5387b3d60da68
It shows the current state of the board when the user is still playing.
[ { "docid": "a87523076b186e25429f8d1ddf416d86", "score": "0.0", "text": "private void showBoard() {\n\n for (int i = 0; i < height; i++) {\n for (int j = 0; j < width; j++) { \n if (board[i][j].isSelected()) {\n //If the field is selected.\n ...
[ { "docid": "b08f45ff92111d2ecd6e30377c07a58e", "score": "0.6559279", "text": "public void state() {\n\t\tout.println(player[turn].status());\n\t}", "title": "" }, { "docid": "837dc017651bf4d45c37ecfc0ab4e2af", "score": "0.64419657", "text": "private void checkState() {\n \t\n\t\ti...
06979f199386f0dac9d61351c39b8391
Selects which Location the trainer will attempt to move toward next.
[ { "docid": "924034dc2d324503695a6a19f544be96", "score": "0.63553226", "text": "public Location selectMoveLocation(ArrayList<Location> locs)\n {\n int n = locs.size();\n if (n == 0)\n return getLocation();\n int r = (int) (Math.random() * n);\n return locs.get(r)...
[ { "docid": "bb74ac33d76fb85bdeab0870b11abc79", "score": "0.6496547", "text": "@Test\n\tpublic void selectTargetLocation() {\n\t\tboard.findAllTargets(playerComputer.getCurrentLocation(), 6);\n\t\tSet<BoardCell> targets = board.getTargets();\n\t\t\n\t\t//Tests to make sure the computers chosen cell is in...
886bbf7892e51eeab278e2f6915cbb69
Returns the position of the given absolute rank within the (virtual or nonvirtual) internal 1dimensional array. Default implementation. Override, if necessary.
[ { "docid": "c9daf0dab12cd7514dfc1ab3e99b888e", "score": "0.70026135", "text": "protected int _columnOffset(int absRank) {\n\treturn absRank;\n}", "title": "" } ]
[ { "docid": "68b6cec95367cc3a9ebb3b049a24de60", "score": "0.6974727", "text": "protected int _rowOffset(int absRank) {\n\treturn absRank;\n}", "title": "" }, { "docid": "b89804c3aa0fd599a35ef293edfd859e", "score": "0.65810955", "text": "protected int _rowRank(int rank) {\n\treturn row...
b157cdbdd80ef9fc54c1fbe5de6b1943
Sets the AndEvalRuleRef property
[ { "docid": "ae64f59945cd32f51753171ed4a414e3", "score": "0.7176393", "text": "public void setAndEvalRuleRef(boolean value)\r\n {\r\n getSemanticObject().setBooleanProperty(swb_andEvalRuleRef, value);\r\n }", "title": "" } ]
[ { "docid": "b35acf49b4fcd222b867a9a0087151ba", "score": "0.70602036", "text": "public boolean isAndEvalRuleRef()\r\n {\r\n return getSemanticObject().getBooleanProperty(swb_andEvalRuleRef);\r\n }", "title": "" }, { "docid": "d0b4595b244a06ccfbbe4fe47a6a5cd6", "score": "0.599...
2017b149472c883c64f1f7689e8abfb6
Java representation of web method [GetProcessParameter].
[ { "docid": "19c245b677a63f44b36ea03059a28b97", "score": "0.6804808", "text": "@javax.jws.WebMethod(operationName = \"GetProcessParameter\")\n @javax.xml.ws.RequestWrapper(localName = \"GetProcessParameter\", targetNamespace = \"urn:SAPControl\", className = \"com.sap.sapcontrol.GetProcessParameter\")\n...
[ { "docid": "a215f9d97e603aeb6ecdc0d4aa151d4b", "score": "0.681292", "text": "public String getParameter() {\r\n return parameter;\r\n }", "title": "" }, { "docid": "4bb3759f507075a41037d355edce53d4", "score": "0.652699", "text": "String getFormParameter();", "title": ""...
700dc2b97cdef01757c648a534c51108
This method was generated by Apache iBATIS ibator. This method sets the value of the database column SYS_USER.USER_IP
[ { "docid": "86ad51366f6fec964358997ca3457bbf", "score": "0.69634604", "text": "public void setUserIp(String userIp) {\r\n this.userIp = userIp == null ? null : userIp.trim();\r\n }", "title": "" } ]
[ { "docid": "810553095bcfe6f4c29b05f999a2476d", "score": "0.67525584", "text": "public static void setIP(String hostIP) {\n\t\tIP = hostIP;\n\t}", "title": "" }, { "docid": "4f991ab699b44eb0845a0c0ee1ae7434", "score": "0.6609174", "text": "public void setIP(String IP) {\n this....
ec126c3999e289194c7b067f12993ac8
Find the _Fields constant that matches fieldId, or null if its not found.
[ { "docid": "4d101ce0781d7256722ab12c9ee5b0b1", "score": "0.0", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // QUEUE_NAME\n return QUEUE_NAME;\n case 2: // ITEMS\n return ITEMS;\n case 3: // EXPIRATION_...
[ { "docid": "cf8eec83d3b8ac58e5d3157ccaed0307", "score": "0.7857924", "text": "@org.apache.thrift.annotation.Nullable\r\n public static _Fields findByThriftId(int fieldId) {\r\n switch(fieldId) {\r\n default:\r\n return null;\r\n }\r\n }", "title": "" }, ...
342e727f8b5cbbd9c55ccd6469cbaec5
This function advances the game to next player's turn.
[ { "docid": "230f64cc3537f1d01c17d5a461912983", "score": "0.80938226", "text": "private void changeToNextPlayer() {\n gamePlayModel.nextPlayerTurn();\n }", "title": "" } ]
[ { "docid": "1cd29b12ca8dcc3b70e9f0f7239f6cc3", "score": "0.85583925", "text": "public void nextTurn()\r\n {\r\n if ( currentPlayer.isPlaying() )\r\n {\r\n currentPlayer.addRevenue();\r\n currentPlayer.setHasTurn( false );\r\n }\r\n \r\n if ( !isGameOver() )\r\n...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "575cb53d7fa72209c7ba915f5f43f25b", "score": "0.0", "text": "@Override\n\tpublic List<AcceptReserveVO> search(String storeId) {\n\t\treturn null;\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.6563993", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", ...
2d0a61738f7bee2c7401f8c0f1109d17
Repository to process payments.
[ { "docid": "b8bd46049115dfcce7676d739cf160ab", "score": "0.58823717", "text": "public interface PaymentProcessDao {\n\n boolean checkIfClientExistByLockingRecord(Long clientId);\n\n boolean checkIfClientIsAViolators(Long clientId);\n\n void updateClientAsViolators(Long clientId);\n\n boolean findIfO...
[ { "docid": "8f96b5d95abb906b1ec2bf147614fdbd", "score": "0.686796", "text": "public interface PaymentService {\n\tList<Payment> findAllPayments();\n\n\tPayment saveOrUpdatePayment(Payment payment);\n\n\tPayment findPaymentById(Long id);\n\n\tPayment findPaymentIfExist(Long entityId, String tenantId, Lon...
2b0981b61dec0f1aa714dbc8fd4ca55b
Tries to get a Integer from the token, by: checking if the token is not an ObjectToken, containing a Integer checking if the token is not an ObjectToken, and converting the object.toString() into a Integer checking if the token is not a StringToken, and converting the string into a Integer checking if the token is not ...
[ { "docid": "29ff628edf75f101c026859796f993af", "score": "0.7474012", "text": "public static Integer getIntegerFromToken(Token token) throws PasserelleException {\r\n if (logger.isTraceEnabled()) {\r\n logger.trace(token.toString());\t\t\t// TODO Check if correct converted\r\n }\...
[ { "docid": "2757f75cddbaab752eeeea3914a83b25", "score": "0.6956094", "text": "private IntegerToken tryTokenizeInt() {\n String digits = \"\";\n\n //special case for negative numbers\n if (validPosition() && input[inputPos] == '-') {\n digits += input[inputPos];\n ...
a98c31fe90bde3aa57a3a723733743d6
/ y[i] = y[i] + alphathis[i]
[ { "docid": "0fac4534823ac20c4639eed60839a40c", "score": "0.5142939", "text": "public void dotMultAdd(double [] y, final double alpha) {\n for (int index=0; index<used; index++) {\n int row = indices[index];\n double x = data[index];\n y[row] += alpha*x;\n }...
[ { "docid": "47a56d7c7e1e70c4b98662ff55b4f770", "score": "0.5991068", "text": "private double plusInverseY(double y) {\n return (y + Math.sqrt((y + 4) * (y + 4) - 20)) * 0.5;\n }", "title": "" }, { "docid": "68a0d3892585046897210a8bf4805335", "score": "0.56913024...
c3fa1e1cad2a91789e9baa24d5f49e7a
Only removes subscription from holded map. Doesn't publish event. Used when recieved event for client unsubcription by itself? issue: when unsubscription event is published? When was recieved message in app, or in broker? Would forced unsubscription(releaseByDestination) publish this event?
[ { "docid": "5029206386c377b27580cf099243be8d", "score": "0.6091253", "text": "public synchronized void unhold(String subscriptionId) {\n for(List<Subscription> clientSubscriptions : subscriptions.values()) {\n Subscription subscription = clientSubscriptions.stream().filter(s->s.subscri...
[ { "docid": "62126006f41d7355848b9e3bcd26a327", "score": "0.7123114", "text": "@Override\n public void unsubscribe() {\n }", "title": "" }, { "docid": "62126006f41d7355848b9e3bcd26a327", "score": "0.7123114", "text": "@Override\n ...
f9d79b284f192c7340b1709777fd91e1
Public empty constructor necessary for KryoNet to send instances of this class properly
[ { "docid": "9ceec60907542af447bf989afac5cc3c", "score": "0.0", "text": "public LeaveRoomRequest() {\n roomID = -1;\n }", "title": "" } ]
[ { "docid": "f451fefda6689d1e228bfd440a800338", "score": "0.6825828", "text": "public Serializer()\n {\n }", "title": "" }, { "docid": "86a6f8cf7933b49b31ed04c3415f4d1f", "score": "0.669586", "text": "public AbstractDataSerializer() {\n }", "title": "" }, { "docid...