text
stringlengths
14
410k
label
int32
0
9
private int centerAndValueOn() { CABot3Net factNet = (CABot3Net)getNet("FactNet"); CABot3Net valueNet = (CABot3Net)getNet("ValueNet"); boolean valueOn=false; boolean centerOn=false; int result = 0; for (int i = 0; i < valueNet.getSize(); i ++) { if (valueNet.neurons[i].getFired()) valueOn...
8
public void setPrpIdElemento(int prpIdElemento) { this.prpIdElemento = prpIdElemento; }
0
public Tracker(java.lang.String name, long delay, long period, java.lang.String filename) { super(name); boolean __b = getAgentType() == tracker.Tracker.class; if (__b) { __init1(); __init2(); } java.lang.System.out.println(name + "\tstarted "); ...
5
private static void consume_Tf(GraphicsState graphicState, Stack stack, Resources resources) { // collectTokenFrequency(PdfOps.Tf_TOKEN); //graphicState.translate(-shift,0); //shift=0; float size = ((Number) stack.pop()).floatValue(); Name name2 = (Name) stack.pop(); // bu...
3
private void create(FileFilter filter, boolean directoryOnly) { this.chooser.setDialogType(JFileChooser.OPEN_DIALOG); this.chooser.setFileHidingEnabled(true); this.chooser.setAcceptAllFileFilterUsed(false); this.basePanel.add(this.chooser, BorderLayout.CENTER); if (filter != nul...
5
private static String toWords(int n) { final String s = String.valueOf(n); final int l = s.length(); if (l == 1) { return numbersToWords.get(n); } else if (l == 2) { if (numbersToWords.containsKey(n)) { return numbersToWords.get(n); } ...
9
public boolean scoped(String scope) { if (this.scope != null) { for (String s : this.scope.split(" ")) if (scope.equals(s)) return true; } return false; }
3
public void duplicateTrack() { int theId = lookForBlankId(); int newMatchesSize = Math.max(theId + 1, highestId() + 1); int[] matches = new int[newMatchesSize]; for (int i = 0; i < matches.length; i++) { if (i == matches.length - 1) matches[i] = 0; else matches[i] = currentTrack().getMatches()[i];...
5
public void stop() { continueLoop = false; if(thread != null) { thread.interrupt(); } }
1
@Override public Object getSupportedAttributeValues(Class<? extends Attribute> category, DocFlavor flavor, AttributeSet attributes) { if (category == Media.class) { return new Media[] { MediaSizeName.NA_LETTER, MediaSizeName.NA_LEGAL, MediaSizeName.ISO_A4 }; } if (category == OrientationRequested.class) { ...
3
protected static String readInputCommadForServer(BufferedReader commandReader) { String commandLine = null; do { try { commandLine = commandReader.readLine(); log.info("receive command: " + commandLine); } catch (IOException e) { // TODO Auto-generated catch block //e.printStackTrace(); co...
2
@Override public void startSetup(Attributes atts) { super.startSetup(atts); addActionListener(this); }
0
public String toString() { StringBuilder sb = new StringBuilder("["); Node node = _head.next; String sep = ""; while (node != null) { sb.append(sep).append("(").append(node.waketime).append(",") .append(node.agent).append(")"); node = node.next; sep = ";"; } sb.append("...
1
private static void permutate(char[] s, int n){ for(int i=n;i<s.length;i++){ for(int j=i+1;j<s.length;j++){ swap(i, j, s); permutations.add(new String(s)); permutate(s, n+1); swap(i, j, s); permutate(s, n+1); } } }
2
public static String camelCaseToUnderline(String name) { final int length = name.length(); boolean inupper = false; StringBuilder stb = new StringBuilder(length); int i = 0; while (i < length) { char c = name.charAt(i); i = i + 1; if(inupper) {...
7
protected void generateCSVFile(File dir, String typeFilter) throws IOException { try { File skillListFile = new File(dir, "skillsList_" + typeFilter + ".csv"); HashSet<String> writtenKeys = new HashSet(skillSets.size()); if (skillListFile.exists()) { skillListFile.delete(); } System.out.print...
9
public static Node insert(Node head, Node insert) { if (head == null && insert != null) { head = insert; return head; } if (head == null) { return head; } Node traverse = head; while (traverse.info < insert.info && traverse.next != null) { traverse = traverse.next; } insert.next = traverse.n...
5
public static void createNgramsFromFolder(File input_folder, File output_folder, int ngram_value) { Stack<File> stack = new Stack<File>(); stack.push(input_folder); while(!stack.isEmpty()) { File child = stack.pop(); if (child.isDirectory()) { for(File f : child.listF...
8
/* */ public boolean isActive() /* */ { /* 35 */ if (this.context == 0) { /* 36 */ this.context = -1; /* */ try { /* 38 */ if (getAppletContext() != null) this.context = 1; /* */ } /* */ catch (Exception localException) /* */ { /* */ } ...
4
public void runOptimisticUnchoke(){ RUBTConstants.main_log.info("*** RUNNING OPTIMISTIC UNCHOKE ***"); if (this.activePeers.size() >= RUBTConstants.MAX_UNCHOKED_PEERS) { RUBTConstants.main_log.info("too little active peers: " + this.activePeers.size()); return; } //Lookup selected peer in active list to...
9
public ArrayList<String> getAllIdentifier() { ArrayList<String> result = new ArrayList<>(); NodeList nl = doc.getDocumentElement().getElementsByTagName("stock"); for (int i = 0; i < nl.getLength(); i++) { Element e = (Element) nl.item(i); result.add(e.getAttribute("identi...
1
public Double getDistance(int distanceType, Entries other, int VERBOSE) { int logFlag = 0b10; // if one of the entries contains nothing, then we cannot // compute the distance if (other.size()==0) return null; if (this.size() ==0) return null; // say, we have two timeSeries 1 and 2 // our assump...
7
public float mean() { float sum = 0; for (float x : data) { sum += x; } return sum / data.size(); }
1
public void resolveAddresses() { for(int i = 0; i < byteCodeFile.size(); i++) { String byteCode = byteCodeFile.get(i).get(0); if(byteCode.equals("FALSEBRANCH") || byteCode.equals("GOTO") || byteCode.equals("RETURN") || byteCode.equals("CALL")) { int address = 0; String byteCodeArg = byteCodeFile.get(i)...
9
static public boolean mapEquals(IPersistentMap m1, Object obj){ if(m1 == obj) return true; if(!(obj instanceof Map)) return false; Map m = (Map) obj; if(m.size() != m1.count() || m.hashCode() != m1.hashCode()) return false; for(ISeq s = m1.seq(); s != null; s = s.next()) { Map.Entry e = (Map.Entry) s.fir...
7
public float palDifUni(int[] a, int[] b) { boolean aTransp = a[3] == 0; boolean bTransp = b[3] == 0; if (aTransp != bTransp) return Float.POSITIVE_INFINITY; float dif = 0; int len = aTransp ? 3 : 4; boolean[] sel = new boolean[len]; for (int i ...
7
void animateBall() { switch(animCoun) { case 0: img=imgAnim01; break; case 20: img=imgAnim02; break; case 40: img=imgAnim03; break; case 60: img=imgAnim04; break; case 80: MetalBreaker.nBalls--; ballAlive=false; } animCoun++; }
5
protected int indexToInsert(GameComponent<?> component) { int lowerIndex = 0; int higherIndex = this.getComponentCount() - 1; int searchedZ = component.getZ(); if(this.getComponents().isEmpty() || searchedZ < this.getZFromComponentAt(lowerIndex)) { return 0; } if(searchedZ >= this.getZFromComponentAt(h...
7
public static boolean uniqueASCII(String s) { int[] counts = new int[256]; char[] chars = s.toCharArray(); for(char c : chars) { counts[c]++; if(counts[c] > 1) { return false; } } return true; }
2
public static void metroStyleTitlebar(JInternalFrame internalFrame) { JComponent title = ((BasicInternalFrameUI)internalFrame.getUI()).getNorthPane(); for (int i = 0; i < title.getComponentCount(); i++) { JComponent component = (JComponent)title.getComponent(i); if(component instanceof JBu...
5
@Override public void run() { DNSPacket dnsMessage = new DNSPacket(true); dnsMessage.setAuthoritativeAnswer(true); List<ServiceInfo> removalList = new LinkedList<ServiceInfo>(); boolean bannouncedLocalInfo = false; if(_LocalInfo.getState().isAnnouncing()) { synchronized(_LocalInfo) { addLocal...
9
public boolean legalMove(Move m) { return ( // the player must exist (m.player.equals("red") || m.player.equals("blue")) && // it must be his turn (m.player.equals(turn)) && // the player must own the piece he wants to move (owner(m.begin) != null) && (owner(m.begin).equals(m.player)) && // the go...
7
public void successAndUpdate(NullParamFn<? extends Boolean> fn) { this.val(this.suc ? fn.fn() : false); }
2
public void removeActivity(Activity a) { if (user.getActivities().contains(a.getId())) { //user will actually be changed user.removeActivity(a.getId()); //we got rid of it, so don't keep it around activities.remove(activityIdNameMap.get(a.getId())); ac...
5
public static void main(String[] args) { final Count2 count = new Count2(); for (int i = 0; i < 5; i++) { new Thread() { public void run() { count.get(); } }.start(); } for (int i = 0; i < 5; i++) { ...
2
public static void main(String[] args) { boolean[] primes = new boolean[2000000]; for (int i = 2; i < primes.length; i++) primes[i] = true; for (int i = 2; i < primes.length; i++) if (primes[i]) for (int j = 2; i*j < primes.length; j++) primes[i*j] = false; ArrayList<Integer> primeList = new Arr...
9
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { boolean handled = false; if (is(label, "ol")) { if ((args.length == 1) && (is(args[0], "reload"))) { handled = true; if (!isPlayer(sender)) { OKC...
5
public boolean lookupEmail(String email) { Connection connection = null; String query = null; PreparedStatement statement = null; try { connection = dataSource.getConnection(); query = "SELECT * FROM users WHERE email = ?;"; statement = (PreparedStatement)connection.prepareStatement(query)...
3
public Object get() { return queueList.removeFirst(); }
0
public String getNick() { return _nick; }
0
public static int calculateNumberOfWaysToGetChange(int num, int type){ int next_type = 0; if(type == QUARTER) next_type = DIME; else if(type == DIME) next_type = NICKEL; else if(type == NICKEL) next_type = PENNY; else if(type == PENNY) return PENNY; int ways = 0; ...
5
public boolean isItemReceived() { if (itemReceivedInt == "1") { return true; } else { return false; } }
1
public static void raggiunto (int num_uno, double grow_uno, int num_due, double grow_due) { int final_uno = 0; int final_due = 0; int years = 1; boolean flag = false; if ( (num_uno > num_due && grow_uno > grow_due) && (num_due > num_uno && grow_due > grow_uno) ) { System.out.println ("Le Popolazio...
6
public void setFesUsuario(String fesUsuario) { this.fesUsuario = fesUsuario; }
0
public void Start(boolean changefilename) throws FileNotFoundException { if (changefilename) { try { ChangeFilePath(filepath); } catch (IOException e) { e.printStackTrace(); } } Running = true; runner = new Log(); runner.start(); }
2
private int checkPasswordField() { int res = 0; lblError.setVisible(false); if (cbAdministrator.isSelected() && roleStateAdministrator == 0) { if (!Validate.tfEmpty(tfPassword) && Validate.notOverSize(tfPassword)) { res = 1; } else { lblErr...
4
public void addParameter(String parameterType) throws SQLException { switch (parameterType) { case "string": try { StringParameter newParameter = new StringParameter(); newParameter.setElementId(element.getId()); newParamete...
6
public void mainMenu() throws IOException { Account aA = new Account(activeAccount); Scanner in = new Scanner(System.in); System.out.println("Logged in as "+aA.getName()); System.out.println("-----------------------"); System.out.println("What do you want to manage?"); System.out.prin...
2
public void setUser(IrcUser user){ this.User = user; }
0
public Class<?> getColumnClass(int column) { switch(column) { case NATION_COLUMN: return Nation.class; case AVAILABILITY_COLUMN: return NationOptions.NationState.class; case ADVANTAGE_COLUMN: return NationType.class; ...
6
public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int row = Integer.parseInt(br.readLine()); int col = Integer.parseInt(br.readLine()); int[][] input = new int[row][col]; int[][] minPath = new int[row][col]; for (int i = 0; ...
7
public void killUser(String userid) { Card card = _view.cards.get(userid); _view.cards.remove(userid); _view.gamePanel.remove(card); }
0
public static Collection<String> getResourceCollection(Class clazz, String path) throws IOException { Collection<String> resourceCollection = new HashSet<>(); URL dirUrl = clazz.getResource(path); if (dirUrl == null) { try ( InputStream in = ResourceUtil.class...
7
private void tulosta() { for (Henkilo h : henkilot) { System.out.println(h); } }
1
private static String round(String num, int length) { // used by realToString if (num.indexOf('.') < 0) return num; if (num.length() <= length) return num; if (num.charAt(length) >= '5' && num.charAt(length) != '.') { char[] temp = new char[length+1]; int ct = leng...
9
private static void Take(){ if (currentLocale.getId() == 0){ mapFound = true; bag[0].setFound(true); newBag.add(bag[0].getName()); System.out.println("You found " + bag[0].getName() + ", it is in your bag."); } else if (currentLocale.getId() == 1){ bag[1].setFound(true); ...
6
private Instances subset(Instances insts, HotTestDetails test) { Instances sub = new Instances(insts, insts.numInstances()); for (int i = 0; i < insts.numInstances(); i++) { Instance temp = insts.instance(i); if (!temp.isMissing(test.m_splitAttIndex)) { if (insts.attribute(test.m_s...
7
public void setKeywordExtractMode(String keywordExtractMode) { if( !keywordExtractMode.equals(AlchemyAPI_KeywordParams.EXTRACT_MODE_STRICT)) { throw new RuntimeException("Invalid setting " + keywordExtractMode + " for parameter keywordExtractMode"); } this.keywordExtractMode = keywordExtractMode; }
1
public static void main(String[] args) throws Exception{ BufferedReader br = new BufferedReader(new FileReader("empty.in")); PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter("empty.out"))); StringTokenizer st = new StringTokenizer(br.readLine()); n = Integer.parseInt(...
8
public static void main(String[] args) { EvolvingGlobalProblemSetInitialisation starter = new EvolvingGlobalProblemSetInitialisation(); starter.initLanguage(new char[] { '0', '1' }, 10, "(1(01*0)*1|0)*"); int solutionFoundCounter = 0; int noSolutionFound = 0; List<Long> cycleCount = new LinkedList<Long>(); ...
8
@Override public final void testFinished(Description description) throws Exception { super.testFinished(description); selectListener(description).testFinished(description); }
0
@Override public String toString() { return String.format("%s='%s'", getType(), getId()); }
0
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 Map<String, String> writeToFile() throws FileNotFoundException, IOException { File file = new File("property.prop"); if (!file.exists()) { FileOutputStream fosTemp = new FileOutputStream("property.prop"); } FileInputStream inputFis = new FileInputStream("property.pro...
4
private void method60(int id) { Interface interfaceInstance = Interface.cachedInterfaces[id]; for (int childId : interfaceInstance.children) { if (childId == -1) { break; } Interface children = Interface.cachedInterfaces[childId]; if (child...
3
private static boolean binarySearch1(Long number, int lo, int hi) { if (lo > hi) return false; int location = (lo + hi) / 2; if (sorted[location]==number) return true; if (sorted[location] < number) return binarySearch1(number, location+1, hi); return binarySearch1(number, lo, loc...
3
void setSelectionBackground () { if (!instance.startup) { tabFolder1.setSelectionBackground(selectionBackgroundColor); } // Set the selection background item's image to match the background color of the selection. Color color = selectionBackgroundColor; if (color == null) color = tabFolder1.getSelectionBac...
3
public static Image createDegrade(boolean isColor, int height, int width, int color1, int color2) { Image degradee = null; if (isColor) { degradee = new RgbImage(width, height); } else { degradee = new RgbImage(width, height); } Color c1 = new Color(color1); Color c2 = new Color(color2); Color cu...
3
@Override public Formula generateOffer (Formula offer, int snum) { Formula responseOffer = getPreferedOffer(offer, snum); if (responseOffer != null) { addHistoryFormula(responseOffer); } if (offer != null && offer.equals(responseOffer) && offer.getPrice() >= responseOffer.getThreshold()) responseOffer...
4
private void handleDisplay() { //prompt user System.out.println("\n--Display Course Sections--"); if (dataModel.isEmpty()) { System.out.println("No courses stored. Nothing to display."); return; } System.out.println("Stored courses:"); ...
4
public static int maxValue(Node root) { if(root == null) return -1; else if(root.left == null && root.right == null) return root.data; else if(root.left == null) return Math.max(root.data, maxValue(root.right)); else if(root.right == null) return Math.max(root.data, maxValue(root.left)); else r...
5
@Override public void inputData(Map<String, Map<String, String>> input) { //name : index[] : answer Iterator<String> nameIterator = input.keySet().iterator(); Map<String, String> indexToAnswers = input.get(nameIterator.next()); String[] data = indexToAnswers.get("0").split(COLON_SEPARATOR); if (data[0]....
8
private void loadPrefab(int spawnX, int spawnY){ String pathTag = "HousePrefab"; String path = ""; path = "data/" + pathTag + String.valueOf(spawnRotation) + ".pfb"; File f = new File(path); if (f.isFile()){ try { prefab.buildPrefab(spawnX, spawnY, path); } catch (IOException e) { e.printS...
2
@Override public void open(String name) throws ChannelException { try { if (port == null) { port = (SerialPort) commPortIdentifier.open(name, 2000); } port.setSerialPortParams( 19200, SerialPort.DATABITS_8, ...
2
public List<ElementInfo> getElementsOnPosition(Position pos) { final List<ElementInfo> elements = new ArrayList<ElementInfo>(); for (Element elem : grid.getElementsOnPosition(pos)) elements.add((ElementInfo) elem); return elements; }
1
public static ImageIcon importState() { if(isImChose) { if(isImPress) return imPre; if(isImHover) return imChoHov; return imCho; } if(isImPress) return imPre; if(isImHover) return imHov; r...
5
public boolean addCouponToDatabase(Coupon coupon) throws SQLException { if (couponExists(coupon)) return false; Connection con = sql.getConnection(); PreparedStatement p = null; if (coupon instanceof ItemCoupon) { ItemCoupon c = (ItemCoupon) coupon; p = con.prepareStatement("INSERT INTO couponcodes (na...
5
public boolean hasCycle(ListNode head) { if (head ==null){ return false; } if(head.next == null) return false; if(head.next.next == null) return false; ListNode p_fast = head.next.next; ListNode p_slow = head.next; while (p_slow...
6
@BeforeClass public static void setUpBeforeClass() { try { new MySQLConnection(); } catch (InstantiationException e) { e.printStackTrace(); } catch (IllegalAccessException e) { e.printStackTrace(); } catch (ClassNotFoundException e) { e.printStackTrace(); } catch (SQLException e) { e...
5
public ProductDao getProductDao() { if (productDao == null) { productDao = new ProductDaoImp(); } return productDao; }
1
public static void main(String argv[]) { try { String filepath = "c:\\file.xml"; DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = docFactory.newDocumentBuilder(); Document doc = docBuilder.parse(filepath); ...
3
public void uploadArray(String vname,float defaultValue) throws UnknownHostException, IOException, WrongArgumentException, InterruptedException { creater = new ArrayCreater(conf, zone, this.shapes.get(this.shapes.size() - 1),vname,this.thread_num,defaultValue); int i ; int []srcShape = new int [chunk.getChunk...
4
public void actionPerformed(ActionEvent ae) { // // Process the action command // // "ok" - Data entry is complete // "cancel" - Cancel the request // "help" - Display help for investment accounts // try { switch (ae.getActionCommand()) { ...
5
private void printParts(String query, PartFactory partFactory, PrintStream psHtml, int maxRows) { TreeSet<Part> parts = new TreeSet<Part>(); for (Part part : partFactory) { if (partMatchesQuery(part, query)) { parts.add(part); if (parts.size() >= maxRows) { ...
8
private boolean getIsIdRightOrientedInEdge(int id, Edge edge){ if(id == edge.getIdA()){ //id is A if(edge.getType() == EdgeType.NORMAL || edge.getType() == EdgeType.INNIE){ return true; }else{ return false; } }else{ //id is B if(edge.getType() == EdgeType.NORMAL || edge.getType() == EdgeTy...
5
private void readRLE(BufferedImage im, LittleEndianInputStream in) throws IOException { in.readInt(); // length int palSize = in.readInt(); if (palSize < 1 || palSize > 256) throw new FileFormatException("Invalid palette size"); int[] pal = new int[palSize]; for (int i = 0; i < palSize; i++) pal[i] =...
9
private void executeBattleCommand(String[] commandString, Player player) throws CommandException { if (AttackCommand.isAttackCommand(commandString[0])) { BattleFeedbackEnum feedback = null; AttackCommand firstCommand = AttackCommand.toCommand(commandString[0]); switch (firstC...
7
public void setMinecraftArguments(String minecraftArguments) { if (minecraftArguments == null) throw new IllegalArgumentException("Process arguments cannot be null or empty"); this.minecraftArguments = minecraftArguments; }
1
private void writeCurrentClassificationResultsForOneInterval( String classificationResultsFilename, int interval) throws IOException { // find maxHop byte maxHop = 0; for (byte hop : this.results.get(interval).getCorrelatedSpikesStats() .keySet()) { if (maxHop < hop) { maxHop = hop; } } ...
7
public void attack() { if(monsterLP <= 0 || lifepoints <= 0) { System.out.print("The winner has been chosen"); } else { if(damage>monsterD) { int gap= monsterD-damage; monsterLP = monsterLP+gap; }...
4
public List<Ability> returnOffensiveAffects(Physical fromMe) { final Vector<Ability> offenders=new Vector<Ability>(); for(final Enumeration<Ability> a=fromMe.effects();a.hasMoreElements();) { final Ability A=a.nextElement(); if((A!=null)&&((A.classificationCode()&Ability.ALL_ACODES)==Ability.ACODE_POISON)...
7
public Set<PointGame> getAdjacentPoints() { Set<PointGame> adjacent = new HashSet<PointGame>(); // Search in 4 directions: We are done each branch if // we run out of boundary or have found a valid point. // ---------------------------------------- // x+ direction: PointGame rightNeighbor = getRightNeighbor...
4
public ArrayList<Account> getAccountNoMatchProject(Project project) { ArrayList<Account> result = new ArrayList<>(); for(Account account : accounts.getBusinessObjects()) { if (!project.getBusinessObjects().contains(account)){ result.add(account); } } return result; }
2
public void run(){ try{ if(lport==-1){ Class c=Class.forName(target); daemon=(ForwardedTCPIPDaemon)c.newInstance(); PipedOutputStream out=new PipedOutputStream(); io.setInputStream(new PassiveInputStream(out , 32*1024 ...
9
public void fireSelectionEvent(final SelectionEvent EVENT) { fireEvent(EVENT); final EventType TYPE = EVENT.getEventType(); final EventHandler<SelectionEvent> HANDLER; if (SelectionEvent.SELECT == TYPE) { HANDLER = getOnSelect(); } else if (SelectionEvent.DESELECT == ...
3
public static String read_block(char[][] block, boolean row) { StringBuilder sb=new StringBuilder(); int r=block.length; int c=block[0].length; if(row) { for(int i=0;i<r;i++) { for(int j=0;j<c;j++) { if(block[i][j]!='\0') { sb.append(block[i][j]); } } } } else ...
7
public boolean isWithinDistance(Location other) { if (z != other.z) { return false; } int deltaX = other.x - x, deltaY = other.y - y; return deltaX <= 14 && deltaX >= -15 && deltaY <= 14 && deltaY >= -15; }
4
public static IdParser createParser(String id) { if (SolexaFastqParser.matchID(id)) return new SolexaFastqParser(id); if (CasavaFastqParser.matchID(id)) return new CasavaFastqParser(id); if(NCBIFastqIdParser.matchID(id)) return new NCBIFastqIdParser(id); return null; }
3
public static void clean(ResultSet result) throws SQLException { if (!activeResults.containsKey(result)) return; WeakReference<PreparedStatement> ref = activeResults.get(result); boolean removeStatement = true; for (Entry<ResultSet, WeakReference<PreparedStatement>> ent : activeResults .entrySet()) { ...
5
public void setText(String text) { if (text.equals("Main Menu")) { int i = 9; } if (!this.isSolidified() && !this.isSolidifying()) { this.initialText = text; return; } this.text = text; if (text.length() > maxChars) { for...
7