text
stringlengths
14
410k
label
int32
0
9
public int arrowKeyValue() { switch (key) { case Input.KEY_UP: return Entity.UP; case Input.KEY_DOWN: return Entity.DOWN; case Input.KEY_LEFT: return Entity.LEFT; case Input.KEY_RIGHT: return Entity.R...
4
public CircularArrayQueue(int capacity) { elements = new Object[capacity]; count = 0; head = 0; tail = 0; }
0
public void setTotalNoOfSeats(int totalNoOfSeats) { this.totalNoOfSeats = totalNoOfSeats; }
0
private void startGUI() { SwingUtilities.invokeLater(new Runnable() { @Override public void run() { appFrame = new CustomFrame("Drools fusion lighter"); appFrame.init(); } }); }
0
private static String getStringOutputLine(String titel, String referenz, JSONObject obj) throws JSONException, IOException { if (obj.has(referenz)) { if (obj.get(referenz).toString().length() < 35) { return titel + ": " + obj.get(referenz) + "\n"; } else { JSONObject childobj = fetchObject(referenz +...
2
public static void main(String args[]) { /* Set the Nimbus look and feel */ //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) "> /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. * For details see http://down...
6
public static void main(String[] CHEESE) { int[] ans = new int[]{ 1, -1}; for(int den = 1; den < 1000; den++) { int count = -1; ArrayList<Integer> xs = new ArrayList<Integer>(); ArrayList<Integer> top = new ArrayList<Integer>(); int x = 1; while( x != 0 ) { xs.add(x); top.add(x/den); ...
4
public String getStringId(){ if (id == 0){ return "Bullet"; }else if (id == 1){ return "Artillery"; }else{ return "Laser"; } }
2
public void display(Integer level) { String space = ""; for (int i = 0; i < level; i++) { space += "-"; } System.out.println(space + name); for (Root branch : branchs) { // 递归调用 branch.display(level + 2); } }
2
@Override public boolean canOpenSelection() { if (mOpenableProxy != null && !mSelectedRows.isEmpty()) { return mOpenableProxy.canOpenSelection(); } return false; }
2
public static String simpleReadFile(String filePath){ FileInputStream fis=null; InputStreamReader isr = null; BufferedReader br=null; try{ StringBuilder sb=new StringBuilder(); File file = new File(filePath); fis = new FileInputStream(file); isr= new InputStreamReader(fis); br= new BufferedR...
8
private void clearEntities() { for (int i = 0; i < entities.size(); i++) { Entity e = entities.get(i); if (e.isRemoved()) { entities.remove(i); } } }
2
@Override public Faction getFaction(String factionID) { if(factionID==null) return null; Faction F=factionSet.get(factionID.toUpperCase()); if((F==null)&&(!factionID.toLowerCase().endsWith(".ini"))) { F=getFaction(factionID+".ini"); } if(F!=null) { if(F.isDisabled()) return null; if(!F.a...
9
private static HashMap<String, String> getKeyValue(HashMap<String, String> map, int pos, String allNameValuePairs, String listDelimiter, String nameValueSeparator) { if (pos >= allNameValuePairs.length()) { // dp("end as "+pos+" >= "+allNameValuePairs.length() ); return map; } int equals...
7
public ClassAnalyzer getInnerClassAnalyzer(String name) { /** require name != null; **/ int innerCount = inners.length; for (int i = 0; i < innerCount; i++) { if (inners[i].name.equals(name)) return inners[i]; } return null; }
2
@Test public void testTimeStep_DAILY() throws Exception { printDebug("----------------------------"); printDebug("DAILY: " + this.toString()); printDebug("----------------------------"); CSTable t = DataIO.table(r, "obs"); Assert.assertNotNull(t); // 1 YEAR D...
1
public void processLoginMessage(OMMMsg respMsg) { // *_log<< "Received login response" << endl; myCallback.notifyStatus("Received login response"); if (respMsg.has(OMMMsg.HAS_ATTRIB_INFO)) { OMMAttribInfo attribInfo = respMsg.getAttribInfo(); if (attribInfo.h...
9
public static void computeOperator(Stack<Float> stack, String operator) { //Be careful with the order you pop things off here. //Choose an order and stick with it. float b = stack.pop(); float a = stack.pop(); float result; //If we had more operators, we wouldn't use cas...
5
public void actionPerformed(ActionEvent e){ String option = e.getActionCommand(); if(option.equals("back")){ PhotoDisplay.this.setVisible(false); PhotoDisplay.this.photosScreen.setVisible(true); } else if(option.equals("move photo")){ Hashtable<String,Album> albumsHT = control.l...
9
public static void unbanPlayer( String sender, String player ) throws SQLException { if ( !PlayerManager.playerExists( player ) ) { PlayerManager.sendMessageToPlayer( sender, Messages.PLAYER_DOES_NOT_EXIST ); return; } if ( !isPlayerBanned( player ) ) { Player...
3
public void setOperator(Operator<Boolean> operator) { this.operator = operator; }
0
public boolean matches(final Context context) { if (this.handler.actions.size() == 1) return true; final int generation = this.getGeneration(); if (context.arguments.size() <= generation) return false; if (context.arguments.get(generation).equalsIgnoreCase(this.name)) return true; ...
3
public void tarjanSCC(int u) { dfs_num[u] = dfs_low[u] = dfsNumberCounter++; s.push(u); visited[u] = true; for (int i = 0; i < ady[u].size(); i++) { int v = ady[u].get(i); if (dfs_num[v] == -1) tarjanSCC(v); if (visited[v]) dfs_low[u] = Math.min(dfs_low[u], dfs_low[v]); } if (dfs...
5
public boolean intersects(Rectangle rect) { return !(rect.getLeft() > getRight() || rect.getRight() < getLeft() || rect.getTop() < getBottom() || rect.getBottom() > getTop()); }
3
public void disconnect(Vertex a, Vertex b){ if(isConnected(a,b)){ int edgeWeight = this.weight.get(new Edge(a,b)); if(edgeWeight!=1){ this.withWeight--; } if(edgeWeight<0){ this.withNegativeWeight--; } this.w...
5
public void switch_in(Point p) { if (!outerBorder.remove(p)) { return; } addToInnerBorder(p); for (Point n : n4(p)) { if (tita.getValue(n) == 3) { addToOuterBorder(n); } } }
3
public ResultSet execute(String query) { try { Statement stm = this.con.createStatement(); if(stm.execute(query)){ return stm.getResultSet(); } return null; } catch (SQLException e) { LogHandler.writeStackTrace(log, e, Level.SEVERE); return null; } }
2
private void main_declaration(){ main = true; type_specifier(); // pregunta por el especificador de tipo tokenActual = analizadorLexico.consumirToken(); if(!tokenActual.obtenerLexema().equals("main")){ error(16,tokenActual.obtenerLexema(),tok...
8
@Test(expected = ParkException.class) public void out_a_car_when_all_park_is_empty() { parkBoy.out(new Ticket()); }
0
public Date getDefaultTime() { return defaultTime; }
0
public static void dec0_custom_memory() { GAME=0; //i8751_timer=NULL; if (strcmp(Machine.gamedrv.name,"hbarrelw")==0) hbarrel_custom_memory(); if (strcmp(Machine.gamedrv.name,"hbarrel")==0) hbarrelu_custom_memory(); if (strcmp(Machine.gamedrv.name,"baddudes")==0) GAME=2; if (strcmp(Machine.gamedrv.name,"...
8
public void onRender(GameContainer gc, Graphics g, StateBasedGame game){ float mouseX = gc.getInput().getMouseX(); float mouseY = gc.getInput().getMouseY(); if(mouseX >= x && mouseX <= x + width && mouseY >= y && mouseY <= y+height){ highlightFont.drawString(x, y, text, highlightColor); if(gc.getInput().isM...
5
public int score(String[] cards) { int c = 0; String a; for(int i = 0; i < cards.length; i++) { a = cards[i].substring(0, 1); if(a.equalsIgnoreCase("A")) c += 11; else if(a.equalsIgnoreCase("K") || a.equalsIgnoreCase("Q") || a.equalsIgnoreCase("T")) c += 10; else c += Inte...
5
@Test public void getLeegKnooppunt() { Knooppunt knooppunt = null; for (int i = 0; i < 100; i++) { knooppunt = eenSpeelveld1.getLeegKnooppunt(); assertEquals(eenVeldType1[knooppunt.rij][knooppunt.kol], VeldType.LEEG) ; } }
1
private JSONWriter end(char m, char c) throws JSONException { if (this.mode != m) { throw new JSONException(m == 'o' ? "Misplaced endObject." : "Misplaced endArray."); } this.pop(m); try { this.writer.write(c); } catch (IOException e) { ...
3
private List<String> ParseMIX(String lines[], int end_idx) { StringBuilder record = new StringBuilder(RECORD_INIT_SIZE); List<String> records = new ArrayList<String>(); for (int i = 0; i < end_idx; i++) { boolean match_first = first_line_pattern_.matcher(lines[i]).matches(); boolean match_last =...
9
public Piece getPiece(int index) { if (this.pieces == null) { throw new IllegalStateException("Torrent not initialized yet."); } if (index >= this.pieces.length) { throw new IllegalArgumentException("Invalid piece index!"); } return this.pieces[index]; }
2
static int multiplications(int target) { LinkedList<ArrayList<Integer>> sets = new LinkedList<ArrayList<Integer>>(); ArrayList<Integer> starterSet = new ArrayList<Integer>(); starterSet.add(1); sets.addFirst(starterSet); int currentRound = 1; while (true) { boolean found = false; int numSets = sets...
9
public static String join(Collection<?> c, String deli) { StringBuilder sb = new StringBuilder(); if (c.size() > 0) { boolean first = true; for (Object o : c) { if (!first) { sb.append(deli); } else { first = false; } sb.append(o.toString()); ...
4
public void input() { mouseX = Mouse.getX(); mouseY = Display.getHeight() - Mouse.getY(); mouseLeft = Mouse.isButtonDown(0); mouseRight = Mouse.isButtonDown(1); while(Keyboard.next()){ if(Keyboard.getEventKeyState()){}else{ if (Keyboard.getEventKey() == Keyboard.KEY_S && Keyboard.isKeyDown(Keyboard.KEY...
7
private CarJsonConverter() { }
0
public static void main(String[] args) { JFileChooser chooser = new JFileChooser(); FileNameExtensionFilter filter = new FileNameExtensionFilter( "Midi files", "mid"); chooser.setFileFilter(filter); System.out.println("Enter operation (grt/w/b): "); Scanner scanIn = new Scanner(System.in); ...
6
protected int match(int c, int pos, CodeIterator iterator, int typedesc, ConstPool cp) throws BadBytecode { if (newIndex == 0) { int nt = cp.addNameAndTypeInfo(cp.addUtf8Info(newMethodname), typedesc); int ci = cp.add...
4
protected void interrupted() { end(); }
0
public void processEvent(AWTEvent e) { if (e.getID() == Event.WINDOW_DESTROY) { dispose(); } else { super.processEvent(e); } }
1
public static boolean renderItemIn3d(int i) { return i == 0 ? true : (i == 13 ? true : (i == 10 ? true : (i == 11 ? true : i == 16))); }
4
public void create(String query){ try { this.statement.executeQuery(query); } catch (SQLException ex) { Logger.getLogger(DatabaseConnection.class.getName()).log(Level.SEVERE, null, ex); } }
1
public final void visitTableSwitchInsn(final int min, final int max, final Label dflt, final Label[] labels) { AttributesImpl attrs = new AttributesImpl(); attrs.addAttribute("", "min", "min", "", Integer.toString(min)); attrs.addAttribute("", "max", "max", "", Integer.toString(max)); attrs.addAttribute("", ...
1
@Override public Funcao listById(int id) { Connection conn = null; PreparedStatement pstm = null; ResultSet rs = null; Funcao f = new Funcao(); try { conn = ConnectionFactory.getConnection(); pstm = conn.prepareStatement(LISTBYID); pstm.s...
3
@Override protected void initializeCPointer() { assert this.cPointer != 0; assert tracer != null; assert name != null; final int r = ppaml_phase_init(tracer.cPointer, this.cPointer, name); switch (r) { case 0: break; case -1: throw new ...
3
protected void setInstancesFromDBaseQuery() { try { if (m_InstanceQuery == null) { m_InstanceQuery = new InstanceQuery(); } String dbaseURL = m_InstanceQuery.getDatabaseURL(); String username = m_InstanceQuery.getUsername(); String passwd = m_InstanceQuery.getPassword(); /*dbas...
8
public void releaseRemoteLock(String source){ synchronized (this) { if(lockedBy.equalsIgnoreCase(source)){ isLOcked = false; lockedBy = null; } } }
1
@Override public State transition(TransitionContext context) { if(context.isLetter() || context.value() == '_' || context.isDigit()) { context.pushChar(); return this; } String word = context.accumulated(); context.emit(context.getKeywords().containsKey(word) ? context.getKeywords().get(word) : ...
4
@SuppressWarnings({ "rawtypes", "unchecked" }) public boolean validate(T t) { Class classType = t.getClass(); Class fieldType = isValidField(classType); String accessorMethod = null; Object actualValue = null; Object validatorValue = null; if (fieldType.toString() == Boolean.class.getSimpleName()) { ac...
4
private void displayOneLiner(CommandSender sender, CodCommand meta) { String cmd = getCommand(meta); if (meta.usage().length == 1) { sender.sendMessage(meta.usage()[0].replace("<command>", cmd)); } else { StringBuilder sb = new StringBuilder(); sb.append("§2")...
2
public String receiveMessage() { throw_exception(); if(block_channel==1){ return null; } if(reorder_msg==0){ synchronized(test_network.test_queues[test_index]) { if(lose_msg==1){ while(!test_network.test_queues[test_index].isEmpty()) test_network.test_queues[tes...
9
public void buildClassifier(Instances data) throws Exception { // can classifier handle the data? getCapabilities().testWithFail(data); // remove instances with missing class data = new Instances(data); data.deleteWithMissingClass(); if (!(m_Classifier instanceof weka.classifiers.meta...
7
public void zoomOut(double mouseXCoord, double mouseYCoord) { if (visibleArea.getyLength() + quadTreeToDraw.getQuadTreeLength() / 10 >= quadTreeToDraw.getQuadTreeLength()) { return; } double mouseMapXCoord = convertMouseXToMap(mouseXCoord); double mouseMapYCoord = convertMouseYToMap(mouseYCoord); double...
1
@Override public boolean isEnspelled(Physical F) { for(int a=0;a<F.numEffects();a++) // personal affects { final Ability A=F.fetchEffect(a); if((A!=null)&&(A.canBeUninvoked())&&(!A.isAutoInvoked())&&(!A.isSavable()) &&(((A.classificationCode()&Ability.ALL_ACODES)==Ability.ACODE_SPELL) ||((A.classif...
9
final void load() throws IOException { if (!isLoaded) { HtmlPage page = loadPage(url); resources = fetchResources(page); articleHtml = fetchArticleHtml(page, resources); articleTitle = fetchArticleTitle(page); isLoaded = true; LOG.info(form...
1
public void showPortrait(boolean s) { if (portraitHUD != null) { portraitHUD.setShouldRender(s); } }
1
private void filterButtonActionPerformed(ActionEvent evt) {//GEN-FIRST:event_filterButtonActionPerformed String keyword = searchTextField.getText().toLowerCase(); Date from = (Date) dateFromSpinner.getValue(); Date to = (Date) dateToSpinner.getValue(); if (from.after(to)) { D...
8
public static StompFrame factory(String wholeMessage){ HashMap<String, String> headers= parseHeaders(wholeMessage); if (headers == null) return ErrorFrame.factory(wholeMessage, "cannot read headers"); if (headers.get("accept-version") == null) return ErrorFrame.factory(wholeMessage, "invalid connection: no ...
5
@Override public boolean processObjectClick2(WorldObject object) { int id = object.getId(); if (id == 36579 || id == 36586) { player.getInventory().addItem(new Item(4049, 5)); return false; } else if (id == 36575 || id == 36582) { player.getInventory().addItem(new Item(4053, 5)); return false; } el...
6
public double maf() { double maf = -1; // Do we have it annotated as AF or MAF? if (hasField("AF")) maf = getInfoFloat("AF"); else if (hasField("MAF")) maf = getInfoFloat("MAF"); else { // No annotations, we have to calculate int ac = 0, count = 0; for (VcfGenotype gen : this) { count += 2; ...
5
public boolean register(String userID, String password, String email) { // TODO Auto-generated method stub ClientDB c = new ClientDB(userID, password, email); if(getFact.addUser(c)){ return true; } else return false; }
1
public final void list_iter() throws RecognitionException { try { // Python.g:419:11: ( list_for | list_if ) int alt120=2; int LA120_0 = input.LA(1); if ( (LA120_0==82) ) { alt120=1; } else if ( (LA120_0==85) ) { alt120=2; } else { if (state.backtracking>0) {state.failed=true; ret...
8
public void update() { switch(Keyboard.getEventKey()) { case Keyboard.KEY_W: setUp(Keyboard.getEventKeyState()); break; case Keyboard.KEY_A: setLeft(Keyboard.getEventKeyState()); break; case Keyboard.KEY_S: setDown(Keyboard.getEventKeyState()); break; case Keyboard.KEY_D: setRi...
5
public VariableStack mapStackToLocal(VariableStack stack) { if (type == DOWHILE) { VariableStack afterBody = bodyBlock.mapStackToLocal(stack); if (afterBody != null) mergeContinueStack(afterBody); if (continueStack != null) { VariableStack newStack; int params = cond.getFreeOperandCount(); i...
9
private void collectWordInfo(String path, Searcher wid, String prefix, ArrayList<ArrayList<WordInfo>> ws) throws ParseException, IOException { final ReadLine rl = new ReadLine(path, encoding); try { for(String s=rl.read(); s!=null; s=rl.read()) { final boolean iscomma = s.startsWith("\",\","); final int...
9
public void visitForceChildren(final TreeVisitor visitor) { if (visitor.reverse()) { for (int i = dimensions.length - 1; i >= 0; i--) { dimensions[i].visit(visitor); } } else { for (int i = 0; i < dimensions.length; i++) { dimensions[i].visit(visitor); } } }
3
@Override public void onDisable() { Utils.Info("Version " + this.getDescription().getVersion() + " disabled."); }
0
private void setDecisionQuest(DecisionQuest quest, ArrayList<String> answerList, ArrayList<String> goToList) { quest.setDecisionAnswer(answerList, goToList); }
0
private int LoadMapFromFile(String mapFilename) { StringBuffer s = new StringBuffer(); BufferedReader in = null; try { in = new BufferedReader(new FileReader(mapFilename)); String line; while ((line = in.readLine()) != null) { s.append(line); s.append("\n"); } } catch (Exception e) { retu...
3
public int yCoordToRowNumber(int y) { Insets insets = getInsets(); if (y < insets.top) return -1; double rowHeight = (double)(getHeight()-insets.top-insets.bottom) / rows; int row = (int)( (y-insets.top) / rowHeight); if (row >= rows) return rows; else retu...
2
public static void question11() { /* QUESTION PANEL SETUP */ questionLabel.setText("What kind of music do you listen to?"); questionNumberLabel.setText("11"); /* ANSWERS PANEL SETUP */ //resetting radioButton1.setSelected(false); ra...
0
@Override public void run() { addSystemMessage("请选择备付金报表存放的文件夹"); while (true) { // 如果队列里有消息,显示并移除 if (Main1.list.size() > 0) { CheckResultMessage message = Main1.list.remove(0); addMessage(message); } // 需要sleep try { Thread.sleep(50); } catch (InterruptedException e) { // TODO...
3
public List<DateWithDayCount> calculateFixingDates(List<DateWithDayCount> adjustedDates, ResetDates resetDates, HolidayCalendarContainer allCalendars) { HolidayCalendarContainer resetCalendars = new HolidayCalendarContainer(allCalendars, resetDates.getResetDatesAdjustments().getBusinessCenters()); RelativeDateO...
8
public DefaultComboBoxModel<String> buildSelectCombo() { DefaultComboBoxModel<String> model = new DefaultComboBoxModel<String>(); if(!MapPanel.actors.isEmpty()) { for(int x = 0; x<MapPanel.actors.size(); x++) { model.addElement(MapPanel.actors.get(x).getID()); } } return model; }
2
public void commit() throws IOException { //write all uncommited free records Iterator<Long> rowidIter = freeBlocksInTransactionRowid.iterator(); PageCursor curs = new PageCursor(pageman, Magic.FREELOGIDS_PAGE); //iterate over filled pages while (curs.next() != 0) { long freePage = curs.getCurrent(); ...
9
private void useBank() { if (Util.inBank() && !Players.getLocal().isMoving()) { if (Bank.open()) { if (Bank.depositInventory()) { int time = 0; while (Inventory.isFull() && time <= 4000) { time += 50; Time.sleep(50); } } } } }
6
public void sendZMessages() throws PostServiceNotSetException{ if (this.postservice == null){ throw new PostServiceNotSetException(); } switch (Athena.shuffleMessage){ case 1: Object[] arrayx = this.getVariables().toArray(); arra...
6
@Override public void init(ServletConfig config) throws ServletException { try { // Create a JNDI Initial context to be able to lookup the DataSource InitialContext ctx = new InitialContext(); // Lookup the DataSource. pool = (DataSource)ctx.lookup("java:comp/env/jdbc/mysql...
2
public void setCuenta(String cuenta) { this.cuenta = cuenta; }
0
public StringResource(String value) { this.value = value; }
0
public static void setFrameInfoList(Vector list) { frameInfoList = list; }
0
public String toLowerCase(String input){ return input.toLowerCase(); }
0
public boolean isLambdaTransition(Transition transition) { FSATransition trans = (FSATransition) transition; if (trans.getLabel().equals(LAMBDA)) return true; return false; }
1
public void run() { int frameCount = 0; while(_soundSupported){ // if(bufferReady) { if(oldWay) { soundInputLine.write(soundBuffer, soundBufferOffset, soundBufferChunkSize); notifyBufferUpdates( soundBufferOffset, soundBufferChunkSize); soundBufferOffset += soundBufferChunkSize;...
7
private void startClustersMonitor(){ try{ // Create a new selector Selector selector = Selector.open(); // Create a new non-blocking server socket channel ServerSocketChannel serverChannel = ServerSocketChannel.open(); serverChannel.configureBlocking(false); InetSocketAddress isa = new Ine...
7
protected void processMinMaxRecordTime(final LineTermInfoHandler termInfo) { if (termInfo == null) { return; } if (termInfo.javaDate == null) { return; } final Calendar cal = GregorianCalendar.getInstance(); cal.setTime(termInfo.javaDate); ...
8
public int removeEdge(Integer source, Integer target) { if (!directed) { for (Iterator<AdjacencyListElement> iter = lists[source].iterator(); iter.hasNext();) { AdjacencyListElement e = iter.next(); if (e.target.equals(target)) { iter.remove(); } ...
7
short wrapResponseAPDU(byte[] ssc, APDU aapdu, short plaintextOffset, short plaintextLen, short sw1sw2) { byte[] apdu = aapdu.getBuffer(); short apdu_p = 0; // smallest multiple of 8 strictly larger than plaintextLen short do87DataLen = SmartIDUtil.lengthWithPadding(plaintext...
9
public static void main(String[] args) { int k = 0; try { k = Integer.parseInt(args[0]); } catch (NumberFormatException e) { System.out.println("Expected an argument with the number of elements to print."); System.out.println("USAGE: Subset k - to print k values from the input."); Sy...
6
public void enableAction() {actionEnabled = true; if (hover) showBorder();}
1
public static void saveItemData() { String output ="savedata/"+idString+"_"+area+".itemData"; try { PrintWriter fout=new PrintWriter(new FileWriter(output)); if(VERSION.equals("Peaches")) fout.println("PDAE"+idString); else fout.println("CDAE"+idString); int length=foundItem.length; fou...
3
@SuppressWarnings("resource") public static ZipEntry[] getZipEntriesIn(File zipFile) { final ArrayList<ZipEntry> entries = new ArrayList<ZipEntry>(); if (!zipFile.toString().endsWith(".zip")) throw new IllegalArgumentException("File isn't a Zip! " + zipFile.toString()); try { final ZipFile zip = new ZipF...
4
private void setPolarProjectionOptions() { JTextField field_real = new JTextField(); double temp_xcenter = xCenter - rotation_center[0]; double temp_ycenter = yCenter - rotation_center[1]; double temp3 = temp_xcenter * rotation_vals[0] - temp_ycenter * rotation_vals[1] + rotation_cente...
8
protected Floor decodeFloor(VorbisStream vorbis, BitInputStream source) throws VorbisFormatException, IOException { //System.out.println("decodeFloor"); if(!source.getBit()) { //System.out.println("null"); return null; } Floor1 clone=(Floor1)clone(); clone.yList=new int[x...
5
public static String getYoutubeInfo(String s) throws IOException { String info; String title = null; String likes = null; String dislikes = null; String user = null; String veiws = null; @SuppressWarnings("unused") String publishdate; Document doc ...
9