text
stringlengths
14
410k
label
int32
0
9
public int getIndex(String ID) { for (int i = 0; i < rows.size(); i++) if (ID.equals((String) (rows.get(i)[1]))) return i; return -1; }
2
public void setFunCedula(Long funCedula) { this.funCedula = funCedula; }
0
public boolean similar(Object other) { try { if (!(other instanceof JSONObject)) { return false; } Set set = this.keySet(); if (!set.equals(((JSONObject)other).keySet())) { return false; } Iterator iterator =...
9
public static int runToAddressOrNextInputFrameLimit(State initial, int move, int limit, int... addresses) { int expectedRet = -2; if ((move & 0b00001111) == 0) { expectedRet = runToAddressOrNextInputFrameHiOrLoLimit(initial, curGb.rom.readJoypadInputHi, limit, addresses); return expectedRet; } e...
7
protected static String trimSpacesOnly(String s) { while(s.startsWith(" ")||s.startsWith("\t")||s.startsWith("\n")||s.startsWith("\r")) s=s.substring(1); while(s.endsWith(" ")||s.endsWith("\t")||s.endsWith("\n")||s.endsWith("\r")) s=s.substring(0,s.length()-1); return s; }
8
public void addDstore(int n) { if (n < 4) addOpcode(71 + n); // dstore_<n> else if (n < 0x100) { addOpcode(DSTORE); // dstore add(n); } else { addOpcode(WIDE); addOpcode(DSTORE); addIndex(n); ...
2
public void checkAnonymousClasses() { if (methodFlag != CONSTRUCTOR || (Options.options & Options.OPTION_ANON) == 0) return; InnerClassInfo outer = getOuterClassInfo(getClassInfo()); if (outer != null && (outer.outer == null || outer.name == null)) { methodAnalyzer.addAnonymousConstructor(this); } }
5
private double findItem(String string, float value) { for(int x=0; x<craftWidth; x++){ for(int y=0; y<craftHeight; y++){ //System.out.println(x + ", " + y); if((itemGrid[x][y].getPreName() + itemGrid[x][y].getName()).equals(string)){ return value; } } } return 0; }
3
public static void eachBoatTakeActions(int time, boolean night) { Iterator<Boat> iter = River.boats.iterator(); ArrayList<Boat> boatsToBeRemoved = new ArrayList<Boat>(); while (iter.hasNext()) { Boat currentBoat = iter.next(); currentBoat.minutesTraveled += God.UNIT; if (!currentBoat.inCamp) { curr...
8
public static void main(String[] args) { Socket clientSocket; BufferedReader inFromUser; DataOutputStream outToServer; BufferedReader inFromServer; String writeUser; String messageToServer; try { clientSocket = initSocket(HOST, PORT); outT...
4
public static int discrete(double[] a) { double EPSILON = 1E-14; double sum = 0.0; for (int i = 0; i < a.length; i++) { if (a[i] < 0.0) throw new IllegalArgumentException("array entry " + i + " is negative: " + a[i]); sum = sum + a[i]; } if (sum > 1.0 + EP...
7
int countTailingZero(int n) { int res = 0; while (n > 0) { res += n / 5; n /= 5; } return res; }
1
private boolean r_instrum() { int among_var; // (, line 76 // [, line 77 ket = cursor; // substring, line 77 among_var = find_among_b(a_3, 2); if (among_var == 0) { ...
8
public boolean loadDataFiles(String filePath, String dataType) { File folder = new File(filePath); LoadDataWithHibernate obj2 = new LoadDataWithHibernate(); String filename = ""; File[] listOfFiles = folder.listFiles(); int count = 0; try { for (int i = 0; i < listOfFiles.length; i++) { if (listOfF...
6
@Override public boolean create(Hotelier x) { String req = "INSERT INTO hotelier ( email, motdepasse, siteweb, nomentreprise)\n" +"select \""+x.getEmail()+"\", \""+x.getMotDePasse()+"\", \""+x.getSiteweb()+"\", \""+x.getNomEntreprise()+"\" from dual\n" ...
4
public void setVue(VueMenu vue) { this.vue = vue; }
0
public void loadHexFile(String hexFile) throws Exception { String strLine; int lineNumber = 0; FileInputStream fstream = new FileInputStream(hexFile); DataInputStream in = new DataInputStream(fstream); BufferedReader br = new BufferedReader(new InputStreamReader(in)); while ((strLine = br.readLine()) !=...
6
public int charAt(int x) { for(int i=start+1; i<end; i++) { if(x < tm().getAdvanceBetween(start, i)) return i - start - 1; } return -1; }
2
public JNotifyListener getListener() { return listener; }
0
public Construct createConstruct(String uri, GenericTreeNode<SyntaxTreeElement> node) { String className = config.getConstructClassName(uri); if(className == null) { return null; } @SuppressWarnings("rawtypes") Class constructClass; Constructor constructor; try { constructClass = Class.forName(cla...
8
static float lpc_from_data(float[] data, float[] lpc, int n, int m){ float[] aut=new float[m+1]; float error; int i, j; // autocorrelation, p+1 lag coefficients j=m+1; while(j--!=0){ float d=0; for(i=j; i<n; i++) d+=data[i]*data[i-j]; aut[j]=d; } // Generate ...
8
public void enableEdit() { disableEdit(); nameField.setEnabled(true); nameField.setText(list.getSelectedValue().substring(0, list.getSelectedValue().indexOf(';'))); switch(list.getSelectedValue().charAt(list.getSelectedValue().indexOf(';') + 1)) { case 'S': stringField.setEnabled(true); stringField.s...
4
@Override public Funcionario listById(int codigo) { Connection con = null; PreparedStatement pstm = null; ResultSet rs = null; Funcionario f = new Funcionario(); try { con = ConnectionFactory.getConnection(); pstm = con.prepareStatement(LISTBYID); ...
3
void mover() { int cabezaAnterior = inicioSnake + longSnake - 1; cabezaAnterior =cabezaAnterior %(ancho*alto); int cabeza = inicioSnake + longSnake; cabeza = cabeza %(ancho*alto); switch(direccion) { case DERECHA: snakeX[cabeza] = snakeX[cabezaAnterior...
8
public static int berechneEinkommensteuer(int wert) { if (wert <= 0) { return 0; } else { int steuer = 0; if (wert > ONEHUNDREDTWENTYTHOUSAND) { steuer += ((wert - ONEHUNDREDTWENTYTHOUSAND) / HUNDRED) * FIFTY; wert -= (wert - ONEHUNDRED...
4
public void scrollCellToView(JTable table, int rowIndex, int vColIndex) { if (!(table.getParent() instanceof JViewport)) { return; } JViewport viewport = (JViewport) table.getParent(); Rectangle rect = table.getCellRect(rowIndex, vColIndex, true); Rectangle viewRect =...
9
public void startGame() { started = true; orderMark = Mark.RED; size = order.size(); if (size == 2) { order.put(Mark.GREEN, order.get(Mark.YELLOW)); order.remove(Mark.YELLOW); order.get(Mark.GREEN).setMark(Mark.GREEN); } if (!server) { gameGameGUI = new GameGUI(board, this); } if (order.get(...
4
public boolean ifTextMsgContentIllegal(String content) { return content.contains("<") || content.contains(">") || content.contains("[") || content.contains("]") || content.contains("/"); }
4
public static void Eleven(String str){ int result=0; if(str.length() == 2) System.out.println(0); else{ for(int i=2;i<str.length();i++){ int num=str.length()-i-1; int multi=1; for(int j=0;j<num;j++) { multi=multi*11; } int temp=0; if(str.charAt(i) == 'A' || str.charAt(i) == ...
7
@Test public void testReserveInvalidIsbn() { int x; try { assertEquals(new Book().Reserve(123,1111111),0); } catch (IOException e) { System.out.println("Invalid data"); } }
1
public static void main(String[] args) { int port = -1; String host = null; if (args.length>=3) { name = args[0]; host = args[1]; try { port = Integer.parseInt(args[2]); } catch (Exception e) { port = -1; } } if (port==(-1)) { io.p("What server would you like to connect to...
9
private void jButton2ActionPerformed() { String identityOfStreamer = JOptionPane.showInputDialog(null, "Enter the streamer's ID.\n" + "http://twitch.tv/riotgames id is riotgames"); if (identityOfStreamer == null || identityOfStreamer.isEmpty() ) { return; } String nameOfStreamer ...
4
public void flipCard(int row, int col){ if (prevSelectedCardRow == -1 && prevSelectedCardCol == -1){ prevSelectedCardRow = row; prevSelectedCardCol = col; cards[row][col].setShowing(true); updateButtons(); } else if ( prevSelectedCardRow !...
4
public void save(){ try { File file = new File(getDataFolder() + "/names.txt"); boolean createFile = file.createNewFile(); if(createFile){ getLogger().info("Creating a file called names.txt"); } PrintWriter write = new PrintWriter(file,...
3
@Override public void mouseReleased(MouseEvent e) { if (graphComponent.isEnabled() && isEnabled() && !e.isConsumed() && current != null) { mxGraph graph = graphComponent.getGraph(); double scale = graph.getView().getScale(); mxPoint tr = graph.getView().getTranslate(); current.setX(current.getX() ...
4
@Override protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { ServletContext sc = this.getServletConfig().getServletContext(); String localPath = sc.getInitParameter("ottzRimagePath"); HttpSession session...
6
private Component cycle(Component currentComponent, int delta) { int index = -1; loop : for (int i = 0; i < m_Components.length; i++) { Component component = m_Components[i]; for (Component c = currentComponent; c != null; c = c.getParent()) { if (component == c) { index = i; break loop; } ...
8
private int typeID(Object item) { int id=OP.typeIDObject(item); if (id<8) return id; if (item instanceof String) return 8; if (item instanceof Class) return 9; if (item instanceof Member) return 10; return -1; };
4
public Cycle(int a, int b, int c) { int[] p = new int[] { a + 1, b + 1, c + 1 }; boolean asc, desc; for (int i = 0; i <= 2; i++) { asc = desc = true; for (int j = 0; j <= 1; j++) if (p[(i + j + 1) % 3] > p[(i + j) % 3]) desc = false; else if (p[(i + j + 1) % 3] < p[(i + j) % 3]) a...
6
public int size() { return size; }
0
@Override public void run() { // System.out.println("download meta data");// TODO try (Socket peerSocket = new Socket(peerIp, peerPort); OutputStream output = peerSocket.getOutputStream(); InputStream input = peerSocket.getInputStream()) { byte[] handshakeM...
6
private int calculateExponent(int[] binaryNumber) { int exponent = 0; for(int i = 1; i < 9; i++){ exponent = exponent + binaryNumber[i] * (int) Math.pow(2, 8 - i); } return exponent; }
1
public Mirror (String gridDates, String gridStr) { height = Integer.parseInt(gridDates.split(" ")[0]); width = Integer.parseInt(gridDates.split(" ")[1]); distance = Integer.parseInt(gridDates.split(" ")[2]); grid = new byte[height][width]; for (int row = 0; row < height; row++) { for (int column = 0; colum...
2
private static Expression parseFunction() { System.out.println("解析函数表达式"); int opType = CurrentToken.type; eat( opType ); eat( TokenType.OpenParen ); Expression exp = parseAddExpression(); eat( TokenType.CloseParen ); switch ( opType ) { case To...
9
protected int readBlock() { blockSize = read(); int n = 0; if (blockSize > 0) { try { int count = 0; while (n < blockSize) { count = in.read(block, n, blockSize - n); if (count == -1) break; n += count; ...
5
@Override public int getPreferredHeight(Row row, Column column) { Font font = getFont(row, column); int minHeight = TextDrawing.getPreferredSize(font, "Mg").height; //$NON-NLS-1$ int height = TextDrawing.getPreferredSize(font, getPresentationText(row, column)).height; StdImage icon = row == null ? column.getIc...
4
public void canDetectImplementor() { ClassInstrumentationCommand cic = new ClassInstrumentationCommand(); //cic.setIncludeClassRegEx("org.hsqldb.jdbc.jdbcStatement"); cic.setIncludeClassRegEx(ConnectionTestUtils.TEST_CLASS_TO_INSTRUMENT_1); IAgentCommand commandArray[] = { cic }; HostPort hostPort = new Ho...
8
private int stablePartition(int[] array, int[] temp, int lowindex, int highindex, boolean reversed) { Compare firstcond, secondcond; if (reversed){ firstcond = new Compare(Compare.type.GREATERTHAN); secondcond = new Compare(Compare.type.LESSTHAN); } else{ firstcond = new Compare(Compare.type.LESSTHAN);...
9
public void updateView(Tetromino tetromino){ for (int i = 0; i < 4; i++) { for (int j = 0; j < 4; j++) { JLabel cell = (JLabel) getComponent(j * 4 + i); if(i < tetromino.getWidth() && j < tetromino.getHeight() && tetromino.hasSquareAt(i, j)){ cell...
5
public void initTiles() { tiles = new Tile[ROW * ROW]; for (int i = 0; i < tiles.length; i++) { tiles[i] = Tile.ZERO; } addTile(); addTile(); host.statusBar.setText(""); }
1
public static void main(String[] args) { final long startTime = System.currentTimeMillis(); final MFDFitnessFunction fitnessFunction = new MFDFitnessFunction(); final int[] symptoms = new int[NUMBER_OF_SYMPTOMS]; final StringBuilder sb = new StringBuilder(); final ArrayList<Chro...
7
@RequestMapping("/listar") public ModelAndView listarProductos() { Stock stock = Stock.getInstance(); Map<String, Integer> mapStock = stock.obtenerStock(); Set<String> setStock = mapStock.keySet(); List<Producto> productList = new ArrayList<Producto>(); for (Iterator<String> iterator = setStock.ite...
1
private boolean read() { try { final URLConnection conn = this.url.openConnection(); conn.setConnectTimeout(5000); if (this.apiKey != null) { conn.addRequestProperty("X-API-Key", this.apiKey); } conn.addRequestProperty("User-Agent"...
4
@Override public void run() { try { executing = true; // OK, we are running osCmd.start(); Thread.sleep(defaultWaitTime); // Allow some time for the thread to start // Wait for command to start while (!osCmd.isStarted() && isExecuting()) Thread.sleep(defaultWaitTime); // Wait for stdin to b...
6
public void save() { //Save markets //Clear the plugin pointer to null for( Market market : markets.values() ) market.setPlugin(null); try{ ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(Conf.dataFolder + "markets.bin")); oos.writeObject(markets); oos.flush(); oos.clos...
5
public static DHParameters getParams(int group) { BigInteger p = DHParameters.GROUP_2; BigInteger g = DHParameters.DH_G; if (group == 1) { p = DHParameters.GROUP_1; g = DHParameters.GROUP1_G; } else if (group == 2) p = DHParameters.GROUP_2; else if (group == 3) p = DHParameters.GROUP_5; else if...
8
public boolean valido() { if (login == null || login.isEmpty()) { return false; } if (senha == null || senha.isEmpty()) { return false; } return true; }
4
public SimulationMap(String mapName, int walkingDistancePerSec, int startId, Collection<Person> people, int dotsPerMeter, Collection<Sensor> sr, SQLiteConnection db){ this.mapName = mapName; this.people = people; this.sensors = sr; this.walkingSpeedPerSec = walkingD...
5
private void initPopulation(){ IntStream.range(0, size) .forEach(_i -> individuals.add(makeRandomChromo.apply(rand))); }
0
public ListNode swapPairs(ListNode head) { if (head == null) return null; if (head.next == null) return head; ListNode prev = null; ListNode slow = head; ListNode fast = head.next; while (fast != null && slow != fast) { slow.next = fa...
6
public void testConstructor_RI_RI7() throws Throwable { DateTime dt1 = new DateTime(2005, 7, 10, 1, 1, 1, 1); DateTime dt2 = new DateTime(2004, 6, 9, 0, 0, 0, 0); try { new MutableInterval(dt1, dt2); fail(); } catch (IllegalArgumentException ex) {} }
1
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; PeriodHardConstraint other = (PeriodHardConstraint) obj; if (constraint != other.constraint) return false; if (e1Id != other.e1Id) return...
6
@SuppressWarnings("unchecked") @Override public <T> T adaptTo(Class<T> type) { if(type.equals(NoteElement.class)) { return (T) this; } return null; }
1
private static String canonicalize(final SortedMap<String, String> sortedParamMap) { if (sortedParamMap == null || sortedParamMap.isEmpty()) { return ""; } final StringBuffer sb = new StringBuffer(100); for (Map.Entry<String, String> pair : sortedParamMap.entrySet()) { final String key = pair.getKey().to...
8
public static void main( String[] argv ) { try { String[] stopMarks = new String[] { "%MARK_0%", "%MARK_A%", "%MARK_B%", "%MARK_C%" }; String data = stopMarks[0] + "This " + stopMarks[3] + " is a " + stopMarks[2] + " very simple " + stopMarks[1] + " test."; List<byte...
6
private void deleteContact() { if (ek != null) { int response = JOptionPane.showConfirmDialog(this, "M\u00F6chten Sie den Kontakt wirklich l\u00F6schen?"); if (response == JOptionPane.YES_OPTION) { ekd.delete(ek); displayFirst(); } } }
2
private int max(Node node){ while (node.rightTree!=null) node=node.rightTree; return node.value; }
1
protected BulkBean buildGetBulkBean(Introspector is, Class<?> clazz, String[] fields, Class[] args) { if (fields.length != args.length) { throw new BeanMappingException("fields and args size is not match!"); } String[] getters = new String[fields.length]; String[] setters = ...
6
@SuppressWarnings("unchecked") String getComponentsChapter(Collection<Class<?>> comps) { StringBuffer db = new StringBuffer(); // Model component db.append("<chapter>"); db.append("<title>" + b.getString("model") + "</title>"); Class mai = comps.iter...
6
public XYSeries getPairwiseDifsDistribution() { ArrayList<Point2D> ser = new ArrayList<Point2D>(); int count = 0; int total = seqs.size()*(seqs.size()-1)/2; int step = total/10+1; int[] hist = new int[seqs.getMaxSeqLength()]; for (int i=0; i<seqs.size(); i++) { for(int j=i+1; j<seqs.size(); j++) { ...
7
public JSONObject postAnswerTag(int USER_ID,int QUESTION_ID,String ANSWER) { try { Class.forName(JDBC_DRIVER); conn=DriverManager.getConnection(DB_URL,USER,PASS); stmt=conn.createStatement(); json=new JSONObject(); //String SQL="insert into ANSWERS(USER_ID,QUESTION_ID,AN...
7
public void alarm () { long now=System.currentTimeMillis(); if (B.maincolor()>0) BlackRun=(int)((now-CurrentTime)/1000); else WhiteRun=(int)((now-CurrentTime)/1000); if (Col>0 && BlackTime-BlackRun<0) { if (BlackMoves<0) { BlackMoves=ExtraMoves; BlackTime=ExtraTime; BlackRun=0; CurrentTime=now; }...
9
protected String getProcessingInstructionValue (Node contNode, String key) throws ParseException { String strValue = null; NodeList nl = contNode.getChildNodes(); for (int i = 0; i < nl.getLength(); i++) { if (nl.item(i).getNodeType() == Node.PROCESSING_INSTRUCTION_NODE) { ...
3
public static String nthPowerString(int base, int power) { String nthPowerString = ""; int originalNumber; int calculatedNumber; int onesDigit; //the ones digit of calculatednumber String carryDigits = ""; //carry digits will be added at the end if (base < 10 && base > 0)...
8
public boolean canChunkExist(int var1, int var2) { byte var3 = 15; return var1 >= this.curChunkX - var3 && var2 >= this.curChunkY - var3 && var1 <= this.curChunkX + var3 && var2 <= this.curChunkY + var3; }
3
public void tick() { }
0
@Override public List Listar() { Session session = null; List<Equipo> equipo = null; try { session = NewHibernateUtil.getSessionFactory().openSession(); Query query = session.createQuery("from Equipo"); equipo = (List<Equipo>) query.list(); ...
2
public StaffListGUI() { //Get size of screen without taskbar screenSize = Toolkit.getDefaultToolkit().getScreenSize(); screenMax = Toolkit.getDefaultToolkit().getScreenInsets(bookDialog.getGraphicsConfiguration()); taskbarSize = screenMax.bottom; screenWidth = (int)screenSize.getWidth(); screenHei...
5
@Override public void draw(Graphics g) { if(visible){ g.drawImage(background, rect.x, rect.y, null); for(GuiComponent c: components){ c.draw(g); } } }
2
public boolean hasNext() { if (matcher == null) { return false; } if (delim != null || match != null) { return true; } if (matcher.find()) { if (returnDelims) { delim = input.subSequence(lastEnd, matcher.start()).toString(); ...
8
public void addComp(JComponent... comp ) { JPanel shell = JComponentFactory.makePanel(JComponentFactory.HORIZONTAL); for(JComponent a : comp) shell.add(a); parts.add(shell); updateParts(); }
1
public boolean checkCollision(Player.Direction direction, int x, int y, int width, int height){ int xIndex = 0; int yIndex = 0; switch(direction){ case Up: xIndex = x / GRID_SIZE; yIndex = (y - height/2) / GRID_SIZE; break; case Down: xIndex = x / GRID_SIZE; yIndex = (y + height/2) / GRID_SI...
5
public static int getMstxInfoCount() { int result = 0; Connection con = null; Statement st = null; ResultSet rs = null; try { con = DBUtil.getConnection(); st = con.createStatement(); rs = st.executeQuery("select count(mid) from mstx_info"); if (rs.next()) { result = rs.getInt(1); } } cat...
2
public ConnectionBundle() { chl = new ArrayList<ConnectionHandler>(); /** * Initially one party has access to the fields. */ accessSemaphore = new Semaphore(1); inputBuffer = new LinkedList<DCPackage>(); inputAvailable = new Semaphore(0); netStatBuffer = new LinkedList<NetStatPackage>(); status...
0
public String getTelephone() { return telephone; }
0
public UDPClientThread(int size){ this.size=size; }
0
@EventHandler public void MagmaCubeFastDigging(EntityDamageByEntityEvent event) { Entity e = event.getEntity(); Entity damager = event.getDamager(); String world = e.getWorld().getName(); boolean dodged = false; Random random = new Random(); double randomChance = plugin.getMagmaCubeConfig().getDouble("Magm...
6
public void run() { try { if (BenchmarkClient.available.tryAcquire()){ Socket clientSocket = new Socket(hostname, portnumber); PrintStream out = new PrintStream(clientSocket.getOutputStream(), true); Scanner in = new Scanner(clientSocket.getInputS...
4
public void showSplashScreen() { Dimension screenSize = tk.getScreenSize(); //setBackground(BORDERCOLOR); int w = imgWidth + (BORDERSIZE * 2); int h = imgHeight + (BORDERSIZE * 2); int x = (screenSize.width - w) / 2; int y = (screenSize.height - h) / 2; setBounds(x, y, w, h); setVisible(true); }
0
public Transition getTransition(int row) { return transitions[row]; }
0
public String[] setListByType() { System.err.println("setListByType()"); if (typeIndex == 0 && Utils.sList != null) { String[] a = new String[Utils.sList.length-1]; for (int i = 1; i < Utils.sList.length; i++) { System.out.println("i=" + i); System.out.println(Utils.sList[i].getValue()); a[i-1] = ...
8
public void mysql2mongo(String src_db,String tar_db){ MySqlConnector mySqlConnector = new MySqlConnector(); mysql_conn = mySqlConnector.getConnection(src_db); PropertiesReader p = PropertiesReader.getInstance(); MongoConnector mongoConnector = new MongoConnector(); Mongo mongo...
2
protected DropAction doAcceptDrop(Point p, DockingWindow window) { DropAction da = acceptChildDrop(p, window); if (da != null) return da; float f = isHorizontal() ? (float) p.y / getHeight() : (float) p.x / getWidth(); if (f <= 0.33f) { Direction splitDir = isHorizontal() ? Direction.UP :...
9
public boolean setZombiePositions() { // TODO Auto-generated method stub for(int i = 0; i < zombieList.size(); i++) { //get posiiton point from zombie Point position = zombieList.get(i).getPosition(); //if the zombie tag didn't have an x and y if(position.x == -1 && position.y == -1) { //get a...
7
public String getTooltipExtraText(Province current) { if (!editor.Main.map.isLand(current.getId())) return ""; final String owner = mapPanel.getModel().getHistString(current.getId(), "owner"); if (owner == null || owner.length() == 0) return ""; return "O...
3
public int countOccurrences(int target) { int answer; int index; answer = 0; for(index = 0; index < manyItems ; index++) { if(target == data[index]) { answer++; } } return answer; }
2
public int getCoefiente() { return coefiente; }
0
@PayloadRoot(localPart = REQUEST_LOCAL_NAME, namespace = NAMESPACE_URI) @ResponsePayload public AddListResponse processSubscription( @RequestPayload AddListRequest genericRequest) { try { logger.debug("Received subscription request"); try { logger.debug("Delegate to service"); logger.debug("Gener...
6
@Override public ArrayList<UsuarioBean> getPage(int intRegsPerPag, int intPage, ArrayList<FilterBean> hmFilter, HashMap<String, String> hmOrder) throws Exception { ArrayList<Integer> arrId; ArrayList<UsuarioBean> arrUsuario = new ArrayList<>(); try { oMysql.conexion(enumTipoConex...
2
public ClothHeadArmor() { this.name = Constants.CLOTH_HEAD_ARMOR; this.defenseScore = 11; this.money = 350; }
0