text
stringlengths
14
410k
label
int32
0
9
public static void listManagersWith2Projects(EntityManager entityManager) { TypedQuery<Employee> query = entityManager.createQuery( "select m from Manager m where m.projects.size > 1", Employee.class); List<Employee> resultList = query.getResultList(); entityManager.close(); for (Employee employee...
1
private void colorNeighboringO(int row, int column) { ArrayList<int[]> list = new ArrayList<int[]>(); int[] start = {row, column}; list.add(start); // int[] tmp = {0, 0}; int[] cPosition = {-1 , -1}; int cRow, cColumn; while (list.size() > 0) { cPosition = l...
9
private String GetWordsTwentyAndAbove(int number) { if (number % 10 == 0 && number < 100) return GetDoubleDigitWord(number); if (number < 100) return GetDoubleDigitWord(number - (number % 10)) + GetWordOneThroughTwenty(number % 10); if (number < 1000) { String...
7
public Color getColor() { if(color != null) return color; return defaultColor; }
1
public static void insertLigneCommandeFournisseur( int idcommandefournisseur, int idarticle, int quantite, Float prixht, Float prixttc, Float remise) throws SQLException { String query = ""; try { query = "INSERT INTO LIGNE_COMMANDE_FOURNISSEUR (ID_CMDFOUR,ID_ARTICLE,LGCOMFOUQTE,LGCOMFOUPXH...
1
@Test public void isEmptyRetunsTrueWhenEmptyTest() { BinaryHeap b = new BinaryHeap(); assertTrue(b.isEmpty()); }
0
void readMotif() { if (verbose) Timer.showStdErr("Loading Motifs and PWMs"); //--- // Sanity checks //--- String pwmsFileName = config.getDirDataVersion() + "/pwms.bin"; if (!Gpr.exists(pwmsFileName)) fatalError("Warning: Cannot open PWMs file " + pwmsFileName); String motifBinFileName = config.getBaseF...
9
public void setStatus(Status status) { this.status = status; }
0
public int maxSubArray2(int[] A) {// O(1) space if (A == null) return 0; int last = A[0]; int max = last; for (int i = 1; i < A.length; i++) { last = Math.max(A[i], last + A[i]); max = Math.max(last, max); // keep track of the largest sum } return max; }
2
public final BooleanProperty selectedProperty() { if (null == selected) { selected = new BooleanPropertyBase() { @Override protected void invalidated() { if (null != getToggleGroup()) { if (get()) { getToggleGrou...
5
@Test public void testSetPostition() throws IOException { System.out.println("setPostition"); int[] newPos = new int[2]; newPos[0] = 1; newPos[1] = 1; AntBrain ab = new AntBrain("cleverbrain1.brain"); Ant instance = new Ant(ab,true,0); instance.setPos...
0
@Override protected ArrayList<PossibleTile> getLazyTiles(Board b) { ArrayList<PossibleTile> possibleTiles = new ArrayList<PossibleTile>(); int i = 1; boolean canSearch = true; while (canSearch) { PossibleTile pt = new PossibleTile(this.getX() - i, this.getY() - i, this); canSearch = decideToAddTile(b, po...
8
private Element generateLiteral(Document document, Literal literal, Tag xmlRootTag) { Element literalEle = document.createElement(xmlRootTag.getXmlTag()); Element atomEle = document.createElement(Tag.ATOM.getXmlTag()); atomEle.appendChild(document.createTextNode(literal.getName())); if (literal.isNegation()) ...
5
private static boolean multithread(final Option option) throws InterruptedException { Log.info("Using several threads: " + option.getNbThreads()); final ExecutorService executor = Executors.newFixedThreadPool(option.getNbThreads()); final AtomicBoolean errors = new AtomicBoolean(false); for (String s : option.g...
7
private static <T> Optional<T> loadOpt( Map<String, Object> map, String mapKey, String envVar, String javaProp, Function<String, T> fromString) { if (System.getenv(envVar) != null) { return Optional.fromNullable(fromString.apply(System.getenv(envVar))); } if (System.getPr...
4
public void openTray(DialogTray tray) throws IllegalStateException, UnsupportedOperationException { if (tray == null) { throw new NullPointerException("Tray was null"); //$NON-NLS-1$ } if (getTray() != null) { throw new IllegalStateException("Tray was already open"); //$NON-NLS-1$ } if (!isCompatibleLay...
8
public static int GetLargestKeyInHashMap(HashMap<Integer, Boolean> map) { int num = 0; for(int i = 1; i <= map.keySet().size() + 1; i++) { System.out.println(i); if(map.containsKey(i)) { if(i > num) { num = i; } System.out.println(num); } } return num; }
3
public void setSaveOperand(final Block block, final boolean flag) { final int blockIndex = cfg.preOrderIndex(block); saveOperand[blockIndex] = flag; if (SSAPRE.DEBUG) { System.out.println(this); } }
1
public int getCost() { return cost; }
0
private void flipColors(Node h) { // h must have opposite color of its two children assert (h != null) && (h.left != null) && (h.right != null); assert (!isRed(h) && isRed(h.left) && isRed(h.right)) || (isRed(h) && !isRed(h.left) && !isRed(h.right)); h.color = !h.color; ...
7
public String value() { return value; }
0
@Override public void init() { /* 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://download.o...
8
public void update(Avatar player,Map map,long gameTime) { for (MovingSquare movingSquare : movingSquares) { movingSquare.update(player,map,gameTime); } }
1
public FileSystemReplaceFileContentsHandler( String query, String replacement, FindReplaceResultsModel results, boolean isRegexp, boolean ignoreCase, boolean makeBackups, String lineEnding ) { super(lineEnding, false, FileContentsHandler.MODE_ARRAYS, Preferences.getPreferenceString(Preferences.OPE...
2
public static void writeFile(Preferences pref, File f, String content, boolean isBackup) { String fName = f.getAbsolutePath(); if (f.exists()) { if (!isBackup) { writeLog("File '" + f + "' already exists - not overwriting due to config option"); return; } File backup = new File(fNam...
9
private void colorHighTemp(int i, int j, long temp) { if (temp == MAX_TEMP) { drawing.setRGB(i, j, maxPoint); return; } if (temp == HIGH_TEMP) { drawing.setRGB(i, j, highPoint); return; } for (int k = 0; k < tempRangesHigh.length; k...
4
private void buy(String type, int id) throws DataBaseConnectorException { if(type != null){ int cost = -1; if(type.equals("$tank$")){ cost = dataBaseConnector.getTankCost(id); } else if(type.equals("$armor$")){ cost = dataBase...
8
private static String escapeJSON(String text) { StringBuilder builder = new StringBuilder(); builder.append('"'); for (int index = 0; index < text.length(); index++) { char chr = text.charAt(index); switch (chr) { case '"': case '\\': ...
8
public boolean clientCom(String IP, String portNumber){ Integer port = Integer.parseInt(portNumber); if(!IP.isEmpty()){ try { InetAddress IPAddress = InetAddress.getByName(IP); clientTCPSocket = new Socket(IPAddress, port); System.out.println("...
3
static ArrayList<Pair> surround(Pair start) { // System.out.printf("start is (%d, %d)", start.x, start.y); ArrayList<Pair> prlist = new ArrayList<Pair>(); for (int i=0; i<4; i++) { Pair tmp0 = new Pair(start); Pair tmp; if (i==0) { //if (start.x>0) { tmp = new Pair(tmp0.x-1...
5
public ParseException generateParseException() { jj_expentries.clear(); boolean[] la1tokens = new boolean[34]; if (jj_kind >= 0) { la1tokens[jj_kind] = true; jj_kind = -1; } for (int i = 0; i < 0; i++) { if (jj_la1[i] == jj_gen) { for (int j = 0; j < 32; j++) { if...
9
private boolean r_Step_1c() { int v_1; int v_2; // (, line 93 // [, line 94 ket = cursor; // or, line 94 lab0: do { v_1 = limit - cursor; lab1: do {...
7
@FXML private void handleButtonAction(ActionEvent event) { System.out.println("Attack clicked"); handleAttack(); }
0
private boolean isDestinationNode(int node, Network network) { boolean returned_value = false; Path fFilePath = network.getPath(); //Search for arterial links coming to this node File file_network = new File(fFilePath + "\\network.dat"); try (Scanner scanner_net = new Scanne...
9
private boolean check() { if (!isBST()) StdOut.println("Not in symmetric order"); if (!isSizeConsistent()) StdOut.println("Subtree counts not consistent"); if (!isRankConsistent()) StdOut.println("Ranks not consistent"); if (!is23()) StdOut.println("Not a 2-3 tree"...
9
public static PeerReference serializeHost(Host host) { if (host == null) { throw new NullPointerException("Cannot transform a null value to a CORBA object"); } return new PeerReference( host.getAddress().getHostAddress(), host.getPort(), ...
1
public static void DrawOddsRatioImage() { System.out.println("face vs non-face odds ratio image:"); for(int i = 0; i < FACE_HEIGHT; i++) { for(int j = 0; j < FACE_WIDTH; j++) { double odds = Math.log(isFaceProbilities[i][j]/nonFaceProbilities[i][j]); String denote = "#"; if(odds >= -0.05 && odd...
6
public boolean initEncrypt(String password) { if (password == null || password.length() < 1) { Application.getController().displayError(Application.getResourceBundle().getString("password_not_null_title"), Application.getResourceBundle().getString("password_not_null_message")); ...
7
public Consultar() { initComponents(); }
0
public boolean canHaveAsCreditLimit(BigInteger creditLimit) { return (creditLimit != null) && (creditLimit.compareTo(BigInteger.ZERO) <= 0); }
1
public void setEngine( CoreEngine engine ) { if ( this.engine != engine ) { this.engine = engine; for ( GameComponent component : components ) component.addToEngine( engine ); for ( GameObject child : children ) child.setEngine( engine ); } }
3
public boolean matches(String id, String aclExpr) { String parts[] = aclExpr.split("/", 2); byte aclAddr[] = addr2Bytes(parts[0]); if (aclAddr == null) { return false; } int bits = aclAddr.length * 8; if (parts.length == 2) { try { ...
8
public boolean isEnabled() { return comp.isEnabled() && comp.getSelectedText()!=null; }
2
public int getPersonid() { return personid; }
0
public void parse(String line) { init(); // Check record type if( !line.startsWith("@" + recordTypeCode) ) throw new RuntimeException("Header line is not type '" + recordTypeCode + "': " + line); // Split fields String fields[] = line.split("\t"); recordTypeCode = fields[0].substring(1); // Parse each ...
2
private ItemStack[] importInventory(CompoundTag tag) { ItemStack[] inv = new ItemStack[36]; for (Tag t : ((ListTag) tag.getValue().get("Inventory")).getValue()) { int slot = ((ByteTag) ((CompoundTag) t).getValue().get("Slot")).getValue(); if (slot < 36) { inv[slot] = CraftItemStack.asBukkitCopy(n...
2
public void loadData(){ try { Files.lines(path).forEachOrdered(new Consumer<String>() { boolean headerDone = false; @Override public void accept(String t) { if(!headerDone && t.startsWith("----")){ headerDone = true; } else if(t.startsWith("date: ")){ try { date = dateSaveF...
9
public boolean allOffersHaveStatus(String status) { List<String> services = this.getUserServiceList(); for (String service : services) { if (!hasStatus(service, status)) return false; } return true; }
2
public static void main(String[] args) throws Exception { URL url = new URL("http://www.infoq.com"); // URLConnection conn = url.openConnection(); // // InputStream is = conn.getInputStream(); InputStream is = url.openStream(); OutputStream os = new FileOutputStream("info.txt"); byte[] buffer =...
1
@AfterClass //Onde estava o erro @AfterClass e estava @After public static void tearDownAfterClass() throws Exception { //Prints.msg("AfterClass <--> Passei pelo tearDownAfterClass - Depois da Classe"); }
0
@Override public void mousePressed(MouseEvent e) { textArea = (OutlinerCellRendererImpl) e.getComponent(); // Shorthand Node currentNode = textArea.node; JoeTree tree = currentNode.getTree(); OutlineLayoutManager layout = tree.getDocument().panel.layout; // This is detection for Solaris, I thi...
9
public static void compile(String fileName, boolean opt) throws IOException { Program program = null; FileReader file = new FileReader(fileName); SFECompiler compiler = new SFECompiler(file); try { program = compiler.compileProgram(); } catch (ParseException pe) { System.er...
4
public String result(String string) { if (list.contains(string)) { return ""; } if (string.length() <= 2) return ""; if ((matcher = Pattern.compile(reg2).matcher(string)).find()) return ""; if ((matcher = Pattern.compile(reg1).matcher(string)).find()) return ""; /*if(string.equals("-lrb-")||stri...
4
private ArrayList<Layer> createNodes(int numberOfInputs, int[] numberOfHiddenNodes, int numberOfOutputs){ ArrayList<Layer> layers = new ArrayList<Layer>(); Layer inputLayer = new Layer(); for(int i = 0; i<numberOfInputs;i++){ inputLayer.addNode(new Node()); } layers.a...
4
public IDataLayer getDataLayer() { SettingsManager sm = SettingsManager.getInstance(); if (sm.getPersistenceType().equalsIgnoreCase("sqlite")) { System.out.println("Initialize Sqlite Datalayer..."); DataLayerSqlite dls = new DataLayerSqlite(); dataLayer = dls; } else if (sm.getPersistenceType().equalsIgn...
2
public static void addLastItem(JComponent component, Container container) { GridBagLayout gridbag = (GridBagLayout) container.getLayout(); component.setMaximumSize(component.getPreferredSize()); c.weighty = 1; c.fill = GridBagConstraints.NONE; c.anchor = GridBagConstraints.NORTH; c.gridwidth = GridBag...
0
public Pawn getSquareContent(final int x, final int y) { for (Pawn p : pawns) { if ((p.getX() == x) &&(p.getY() == y)) { return p; } } return null; }
3
@Override protected boolean parseCliValue() { if (("true".equals(cliValue)) || ("enable".equals(cliValue)) || ("1".equals(cliValue)) || ("yes".equals(cliValue))) { value = true; return true; } if (("false".equals(cliValue)) || ("disable".equals(cliV...
8
public static void main(String[] args) { for(char c : "Java SE".toCharArray() ) System.out.print(c + " "); }
1
public boolean update(Administrador admin){ PreparedStatement ps; try { ps = mycon.prepareStatement( "UPDATE Administradores "+ "SET passwd=?, dni=? "+ "WHERE userName=?" ); ps.setString(1, admin.getPassword()); ...
1
private void doreport(Report r) throws IOException { if(!status.goterror(r.t)) return; URLConnection c = errordest.openConnection(); status.connecting(); c.setDoOutput(true); c.addRequestProperty("Content-Type", "application/x-java-error"); c.connect(); ObjectOutputStream o = new Ob...
2
public static void openConnection() { try { DB_URL = loader.getDbConnection(); USER = loader.getDbUser(); PASSWORD = loader.getDbPass(); } catch (Exception e) { e.printStackTrace(); } try { Class.forName( DRIVER_PATH ).newInstance(); conn = DriverManager.getConnection( DB_URL, USER,...
5
public int[] getNearestNeighboursElementIds(long[] key, int beamRadius) { ReferenceBlock containingBlock = getBlockFor(key); ReferenceBlock lowerBlock = null; ReferenceBlock higherBlock = null; IntList neighbours = new IntArrayList(3 * blockSize); if (containingBlock == null) { highe...
5
public boolean matchFirst(char a, char b){ return (b == '.' || a == b); }
1
public void write(String chaine) throws IOException { for (int i = 0; i<chaine.length(); i++) { this.writeBit(Character.getNumericValue(chaine.charAt(i))); } if (this.bits != 0) { this.ecrire.write(this.bits); } this.ecrire...
2
private boolean saveInternal(File file, boolean isInternal) { if (!isInternal && readOnly) { // unexpected situation, yet it's better // to back it up System.err.println("Attempt to save read-only map."); return false; } try { // Generating output ...
7
FetchData fetchData(FetchRequest request) throws IOException { long arcStep = getArcStep(); long fetchStart = Util.normalize(request.getFetchStart(), arcStep); long fetchEnd = Util.normalize(request.getFetchEnd(), arcStep); if (fetchEnd < request.getFetchEnd()) { fetchEnd += ...
8
private String extractHead(String idref) throws IDrefNotInSentenceException { String headIDref = sentence.getNode(idref).getHeadIDref(); if (headIDref != null) return sentence.getNode(headIDref).getAttributes().get("lemma"); return "NOHEAD"; }
1
public void onBlockRemoval(World par1World, int par2, int par3, int par4) { byte var5 = 4; int var6 = var5 + 1; if (par1World.checkChunksExist(par2 - var6, par3 - var6, par4 - var6, par2 + var6, par3 + var6, par4 + var6)) { for (int var7 = -var5; var7 <= var5; ++var7) ...
6
public void setLabels(String value) { int i; String label; boolean quoted; boolean add; m_Labels.clear(); label = ""; quoted = false; add = false; for (i = 0; i < value.length(); i++) { // quotes? if (value.charAt(i) == '"') { quoted = !quoted; if (!...
8
private void MergeSort(int low, int high) { if (low < high) { int mid = low + (high - low) / 2; // Sorting lower end of array MergeSort(low, mid); // Upper lower end of array MergeSort(mid + 1, high); // Merging both ends of the ar...
1
private void renderFocusNagger() { String msg = "Click to focus!"; int xx = (WIDTH - msg.length() * 8) / 2; int yy = (HEIGHT - 8) / 2; int w = msg.length(); int h = 1; //screen.render(xx - 8, yy - 8, 0 + 13 * 32, Color.get(-1, 1, 5, 445), 0); //screen.render(xx + w * 8, yy - 8, 0 + 13 * 32, Color.get(-1,...
3
static void updateaudiostream() { bytesCopiedToStream = 0; short[] data = stream_cache_data; int stereo = stream_cache_stereo; int len = stream_cache_len; int buflen; int start, end; if (stream_playing == 0) { return; /* error */ } bu...
8
public static void main(String[] args) { // Validate that one argument is passed if (args.length == 0) { System.out.println("Please provide a search string to search."); System.exit(0); } else if (args.length > 1) { System.out.println("Only one argument should be passed."); System.exit(0); } ...
7
public String toStandard(){ return String.format("%d:%02d:%02d %s", ((hour == 0 || hour == 12 ?12 : hour%12)), minute, second,(hour < 12 ? "AM": "PM")); }
3
private void initComponents() { setLayout(new BorderLayout()); final List<Image> icons = new ArrayList<Image>(); icons.add(new ImageIcon(TallyDialog.class.getResource("/icons/calc16.png")).getImage()); setIconImages(icons); setModalityType(ModalityType.MODELESS); setP...
9
private boolean addFaultyFrame() { String name; boolean ret = false; Faculty faculty = new Faculty(); // Цыкл необходим для того, что бы было несколько попыток у пользователя do { name = SMS.input(this, "Введите название факультета:"); if (name != null) { ...
6
public boolean accept(File pathname) { if (pathname.isDirectory()) return recurse; String name = pathname.getName(); if (! name.endsWith(extension)) return false; int lastNumberIndex = getLastNumberIndex(name); if (lastNumberIndex == -1) return false; int numEndLoc = lastNumber...
5
public void onTick() { resultant = getResultant(); acceleration = Vector.multiply(resultant,1D/mass); try { velocity = Vector.add(velocity,Vector.multiply(acceleration, 0.05)); position = Vector.add(position, Vector.add(Vector.multiply(velocity, 0.05), Vector.multiply(acceleration, -0.5*Math.pow(0.05, 2))))...
1
private void processFileAction() { try { log.info("Processing from: " + reportFolder.getText()); sourceProcessing.processExcelFiles(reportFolder.getText()); } catch (Exception e) { log.log(Level.SEVERE,e.getMessage(),e); Run.showErrorDialog(this.getSelfRef(), "An error occurred processing the mus...
1
public BST getTermIndex() { return termIndex; }
0
@Override public SkillsMain[] getSkillNames() { return Constants.priestSkillSkills; }
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 ListNode mergeTwoLists(ListNode l1, ListNode l2) { ListNode head = new ListNode(0); ListNode p = head; while(l1 != null && l2 != null) { if(l1.val < l2.val) { p.next = l1; l1 = l1.next; } else { p.next = l2; ...
6
private void itmMnuGerenteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_itmMnuGerenteActionPerformed // Menu - Cadastro > ItemMenu - Gerente DepartamentoBO depBO = new DepartamentoBO(); Departamento DEPexistente = null; try { DEPexistente = depBO.SelectDepart...
3
public String getStrategy() { if (strategy == null) { throw new RuntimeException("Missing strategy."); } if (!strategy.equals(SimConst.MEAN) && !strategy.equals(SimConst.INDIVIDUAL) && !strategy.equals(SimConst.BINARY)) { throw new RuntimeException("Strategy " + strategy ...
4
public String toString() { StringBuilder sb = new StringBuilder(HawkContext.SCHEME); char delim = BLANK; if (id != null) { sb.append(delim).append("id=\"").append(id).append(ESCDQUOTE); delim = COMMA; } if (mac != null) { sb.append(delim).append("mac=\"").append(mac).append(ESCDQUOTE); delim = COM...
8
@Override public JSONObject getValueForOutput() { try { return this.user.toJson(); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); return new JSONObject(); } }
1
public boolean canMove(int direction) { Grid<GridActor> gr = getGrid(); if (gr == null) return false; Location loc = getLocation(); Location next = loc.getAdjacentLocation(direction); if (!gr.isValid(next)) return false; GridActor neighbor = gr...
4
public ReceptDTO getRecept(int receptId) throws DALException { ResultSet rs = Connector.doQuery("SELECT * FROM recept WHERE recept_id = " + receptId); try { if (!rs.first()) throw new DALException("Recepten " + receptId + " findes ikke"); return new ReceptDTO (rs.getInt(1), rs.getString(2)); } catch (SQLE...
2
private static Map<String,String> initializeSTR2CODE() { int num = 0; int asciibase = 'A'; Map<String, String> retval = new HashMap<String, String>(); for (int xi = 0; xi < codechars.length; xi++) { retval.put(codechars[xi], Character.toString((char) (num + asciibase))); num+...
8
@Override public void saveSettings(HashMap<String, String> settingsToSave) { Set<String> keys = settingsToSave.keySet(); Iterator<String> keysIterator = keys.iterator(); String key; while(keysIterator.hasNext()) { key = keysIterator.next(); if(key.equals("minimizeToTray")) { System.out.println("mini...
6
private boolean hasMatchedWord(String phoneNum) { return dictionary.hasMatchedWord(phoneNum); }
0
public ReadResponse(InternalResponse resp) { super(resp); try{ JSONObject rootJsonObj = new JSONObject(resp.getContent()); Response.withMeta(this, rootJsonObj); JSONObject respJson = rootJsonObj.getJSONObject(Constants.RESPONSE); Object dataObj = respJson.get(Constants.QUERY_DATA); ...
3
protected void sendConnectionHeaderIfNotAlreadyPresent(PrintWriter pw, Map<String, String> header) { if (!headerAlreadySent(header, "connection")) { pw.print("Connection: keep-alive\r\n"); } }
1
public LawnMowersController(final String fileName) throws IOException,FileFormatException, NoMowerFoundException { lawnMowerControllers = new ArrayList<LawnMowerController>(); String lawnConfiguration = null; BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream(fileName))); S...
5
public Decoder() { for (int i = 0; i < 4; i++) m_PosSlotDecoder[i] = new BitTreeDecoder(6); }
1
public void doBackup(File directory) throws Exception { if (!directory.exists()) { directory.mkdir(); } RequestContext rc = RequestContext.getRequestContext(); if (this.authStore != null) { Auth auth = this.authStore.retrieve(this.nsid); if (auth == ...
9
private int aslW(int dest, int n) { clearFlags(SR_N, SR_Z, SR_V, SR_C); boolean hibitSet = msbSetW(dest); boolean hasOverflow = false; int result = dest; boolean msbSet; for (int i = 0; i < n; i++) { msbSet = msbSetW(result); if (msbSet) setFlags(SR_X, SR_C); else clearFlags(SR...
9
public RandomArgument(Program p, ArgumentType type, String labelName, Condition condition) { super(p, type, labelName, condition); switch (type) { case REGISTER: value_register = p.getRandomRegister(false); break; case VREGISTER: va...
6