text
stringlengths
14
410k
label
int32
0
9
public boolean isChange() { return myChange; }
0
public double getSimilarity(String a, String b) { LinkedList<String> pairs1 = wordLetterPairs(a.toUpperCase()); LinkedList<String> pairs2 = wordLetterPairs(b.toUpperCase()); int intersection = 0; int union = pairs1.size() + pairs2.size(); for (int i = 0; i < pairs1.size(); i++) { Object pair1 = pairs1...
3
private void calculateBestTime(double recordBest, double newTime){ int secondsBehind; int secondsAhead; if(((recordBest <= 0)&&(newTime <= 0))||(newTime <= 0)) System.out.println("Invalid Time. \n"); else if (recordBest == 0) { System.out.println(+newTime + ...
7
public String join(String separator) throws JSONException { int len = length(); StringBuffer sb = new StringBuffer(); for (int i = 0; i < len; i += 1) { if (i > 0) { sb.append(separator); } sb.append(JSONObject.valueToString(this.myArrayList.g...
2
@Override public void write(int b) throws IOException { // Debugger.println(2, "[DummyConnection] writing " + (char)b); if(dataSemaphore.availablePermits() > QUEUE_BUFFER_LIMIT) { throw new IOException("Buffer size limit reached!"); } else { synchronized(dataQueue) { dataQueue.add(b); dataS...
1
public static double svm_predict_probability(svm_model model, svm_node[] x, double[] prob_estimates) { if ((model.param.svm_type == svm_parameter.C_SVC || model.param.svm_type == svm_parameter.NU_SVC) && model.probA!=null && model.probB!=null) { int i; int nr_class = model.nr_class; double[] dec_val...
8
public String getLibelle() { return libelle; }
0
public RequestsArray(int numberOfElements, float sDev) { this.meanBuyPrice = 1.0f; this.meanSellPrice = 1.0f; this.sDev = sDev; this.numberOfElements = numberOfElements; for(int i = 0; i<numberOfElements; i++){ float targetPrice; int sORb = rng.nextInt(2);...
9
public Movie registerMovie(Movie movie) { int index = movies.indexOf(movie); if (index == -1) { addMovie(movie); return movie; } else return movies.get(index); }
1
public static void main(String[] args) throws IOException { // TODO Auto-generated method stub System.out.println("Program Started"); //get config elements main_image_compressor m =new main_image_compressor(); //validate config elements if(!config_reader.validate_config(prop)) return ;//incorrect config ...
9
public T Abrir(Long id) { try { T obj = (T) manager.find(tipo, id); return obj; //abrir } catch (Exception ex) { return null; } }
1
public void appendPath(String p_addToPath) throws MalformedURIException { if (p_addToPath == null || p_addToPath.trim().length() == 0) { return; } if (!isURIString(p_addToPath)) { throw new MalformedURIException(Utils.messages.createMessage(MsgKey.ER_PATH_INVALID_CHAR, new Object[]{p...
9
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; MapKey other = (MapKey) obj; if (documentId != other.documentId) return false; if (term == null) { if (other.term != null) return fal...
7
public static boolean isReservedOpenParen(String candidate) { int START_STATE = 0; int TERMINAL_STATE = 1; char next; if (candidate.length()!=1){ return false; } int state = START_STATE; for (int i = 0; i < candidate.length(); i++...
5
@Override public int attack(double agility, double luck) { if(random.nextInt(100) < luck) { System.out.println("I just breathed darkness!"); return random.nextInt((int) agility) * 2; } return 0; }
1
public Kill04(String data){ if(!data.trim().equalsIgnoreCase("")){ String[] info = data.split(";"); String killer = info[0]; String victem = info[1]; int points = new Integer(info[2]); if(killer.equals(Main.playername)){ //Du hast jem...
7
private String readFile(File eventFile) throws IOException { BufferedReader reader = new BufferedReader(new FileReader(eventFile)); StringBuilder sBuilder = new StringBuilder(); try { String line = reader.readLine(); while (line != null) { sBuilder.append(...
1
public static boolean isPrime( long x) { long max = (long)Math.sqrt(x); if( x ==2) { return true; } if( x % 2 ==0) { return false; } if( x <= 1) { return false; } for( int i = 2; i <= max; i++) { if( x % i ==0) { return false; } } return true; }
5
public boolean requiresVote(){ if(Plugin.getJobsConf().getBoolean(name + ".requires-vote")){ return true; }else{ return false; } }
1
public ArrayList getImages(String name) { ArrayList imsList = (ArrayList) imagesMap.get(name); if (imsList == null) { //EIError.debugMsg("No image(s) stored under " + name, EIError.ErrorLevel.Warning); return null; } EIError.debugMsg("Returning all images stored ...
1
public int HandleCollisionWithBullet(Bullet b) { ChainEnemyTailPiece iterator = mFirstTailPiece; while (iterator != null) { Vector2 intersection = iterator.GetBulletCollision(b); if (intersection != null) { int returnPoints = 0; if (b.IsAlive() && iterator.IsAlive() && iterator.GetNe...
6
public static void main(String[] args) throws Throwable { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); for (String line; (line = in.readLine())!= null; ) { int casos = Integer.parseInt(line); if(casos==0)break; courses = new String[caso...
8
public void calculateDayOfWeek(Calendar cal, Date currentTime) { Integer nextOccurence = null; for(int d : repeatDays) { cal.set(Calendar.DAY_OF_WEEK, d); if(cal.getTime().after(currentTime)) { nextOccurence = d; break; } } ...
5
private void stop() { if (isMovingRight() == false && isMovingLeft() == false) { speedX = 0; } if (isMovingRight() == false && isMovingLeft() == true) { moveLeft(); } if (isMovingRight() == true && isMovingLeft() == false) { moveRight(); } }
6
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 fe...
6
public void draw(Graphics g) { boolean selected = (needsHighlight() || sim.getPlotYElm() == this); Font f = new Font("SansSerif", selected ? Font.BOLD : 0, 14); g.setFont(f); g.setColor(selected ? selectColor : whiteColor); String s = (flags & FLAG_VALUE) != 0 ? getVoltageText(vo...
7
* @param leftTransposed the left transpose MUM possibly null * @param rightTransposed the right transpose MUM possibly null * @return null or the best MUM */ private MUM getBest( MUM direct, MUM leftTransposed, MUM rightTransposed ) { MUM best = null; // decide which transpose MUM to use MUM transposed...
8
public static SphericalCoordinate jauAtoiq(String type, double ob1, double ob2, Astrom astrom ) { char c; double c1, c2, sphi, cphi, ce, xaeo, yaeo, zaeo, v[] = new double[3], xmhdo, ymhdo, zmhdo, az, sz, zdo, refa, refb, tz, dref, zdt, xaet, yaet, zaet, xmhda...
8
public TreeNode buildTreeRec(int[] inorder, int[] postorder, int s1, int e1, int s2, int e2) { if(e1 == s1 && s2 == e2) return new TreeNode(inorder[s1]); if(postorder[e2] == inorder[s1]){ TreeNode root = new TreeNode(postorder[e2]); TreeNode right = buildTreeRec(inorder, postord...
6
public void searchTitle(int docId,RandomAccessFile raf,long start,long end,boolean wikiflag, boolean titleflag) { //System.out.println(docId); long mid; String res; try { while(start<=end) { mid=(start+end)/2; raf.seek(mid); ...
8
public boolean update() { x += dx; y += dy; if (x < -r || x > GamePanel.WIDTH + r || y < -r || y > GamePanel.HEIGHT + r) { return true; } return false; }
4
public int popFront() throws InvalidAccessException { if (this.head != null) { if (head.getVal() == Integer.MIN_VALUE) { int value = head.getList().popFront(); if (head.getList().peekFront() == Integer.MIN_VALUE) { DLNode temp = head; head = head.getNext(); temp.setNext(null); if (head...
5
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
@RequestMapping("/create") public String create(User user, Model model) { user = userRepository.save(user); model.addAttribute("user", user); return "users/form"; }
0
public Object getChild(Object parent, int index) { if (parent instanceof Page) { Page p = (Page)parent; if (index >= p.children.size()) { int j = index - p.children.size(); return p.names.get(j); } else { return p.children.get(i...
2
public ArrayList<ArrayList<Integer>> fourSum(int[] num, int target) { // Start typing your Java solution below // DO NOT write main() function int n = num.length; Arrays.sort(num); Set<String> set = new HashSet<String>(); for (int i = 0; i < n - 3; i++) { for (int j = i + 1; j < n - 2; j++) { int exp...
7
private void collectData(int team, String date) { try { // Name abfragen String qTeamname = "SELECT name FROM team WHERE id = " + team + ";"; String teamname = this.dbService.execScrollableQuery(qTeamname); //System.out.println(teamname); arffWriter.ad...
9
public void replaySources() { Set<String> keys = sourceMap.keySet(); Iterator<String> iter = keys.iterator(); String sourcename; Source source; // loop through and cleanup all the sources: while (iter.hasNext()) { sourcename = iter.next(); source = sourceMap.get(sourcename); if (source != null) { ...
4
public void hand(Point point){ if(selectedShape != null && (selectedShape.contains(point) || isResizing)){ isResizing = true; if(selectedTool == Tool.MOVE) moveShape(point); else resizeShape(point); } else { boolean found = false; for(int i = shapesList.size()-1; i >= 0 && !found; i--){ ...
8
public void setColcheteE(TColcheteE node) { if(this._colcheteE_ != null) { this._colcheteE_.parent(null); } if(node != null) { if(node.parent() != null) { node.parent().removeChild(node); } node.par...
3
private void runTest(Directory dir) throws Exception { // Run for ~1 seconds final long stopTime = System.currentTimeMillis() + 1000; SnapshotDeletionPolicy dp = new SnapshotDeletionPolicy(new KeepOnlyLastCommitDeletionPolicy()); final IndexWriter writer = new IndexWriter(dir, new StandardAnalyzer(org....
8
public ArrayList<String> parseTemplate(ArrayList<ArrayList<String>> data){ int position; ArrayList<String> newTemplate = new ArrayList<String>(); for(String line : template){ for(ArrayList<String> container : data){ position = line.indexOf(container.get(0)); if(position != -1){ line = line.substri...
3
public void addRow(Object[] array) { //data[rowIndex][columnIndex] = (String) aValue; try{ // add row to database EntityTransaction userTransaction = manager.getTransaction(); userTransaction.begin(); Audience newViewer = audienceService.createviewer((String) array[0], (String) array[1], (String) arr...
2
public void run() { // get line and buffer from ThreadLocals SourceDataLine line = (SourceDataLine)localLine.get(); byte[] buffer = (byte[])localBuffer.get(); if (line == null || buffer == null) { // the line is unavailable return; ...
7
public TestDriver(String[] args) { processProgramParameters(args); System.out.print("Reading Test Driver data..."); System.out.flush(); if (doSQL) parameterPool = new SQLParameterPool(new File(resourceDir), seed); else { if (updateFile == null) parameterPool = new LocalSPARQLParameterPool(new File( ...
8
public Integer getId() { return this.id; }
0
public static List<Interlocuteur> selectInterlocuteurByIdCommercial(int id) throws SQLException { String query = null; List<Interlocuteur> interlocuteur1 = new ArrayList<Interlocuteur>(); ResultSet resultat; query = "SELECT * from INTERLOCUTEUR where ID_COMMERCIAL = ? order b...
1
public void onEnable(){ this.saveDefaultConfig(); log = this.getLogger(); Lang = this.getConfig().getString("language"); if (Lang.equals("en")){ chatname = "Game Server"; }else if(Lang.equals("ja")){ chatname = "ゲームサーバー"; }else{ log.info("[WARNING]" + Lang + " is not supported."); log.info("[WA...
8
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 boolean send(Msg msg_, int flags_) { // Drop the message if required. If we are at the end of the message // switch back to non-dropping mode. if (dropping) { more = msg_.has_more(); dropping = more; msg_.close (); return true; }...
7
private char[] hashPassword(char[] password) throws CharacterCodingException { byte[] bytes = null; char[] result = null; String charSet = getProperty(PARAM_CHARSET); bytes = Utility.convertCharArrayToByteArray(password, charSet); if (md != null) { synchr...
3
public void commonTest() throws IOException { //Map<String, String> keys = new HashMap(); String requestBody; HttpResponse execute; ResponseHandler<String> handler; String response; post.setHeader("address", "192.168.50.174"); post.setHeader("port", "8100"); ...
4
private static CommandLine getCommandLine(String args[]) { HelpFormatter formatter = new HelpFormatter(); Options options = getOptions(args); CommandLineParser parser = new PosixParser(); CommandLine cmd = null; try { cmd = parser.parse(options, args); } catch (ParseException e) { System.err.pr...
2
public static ParticipantList getInstance() { return participantList; }
0
@Override public boolean equals(Object obj) { if(obj instanceof Pair) { Pair<?, ?> pair = (Pair<?, ?>) obj; return key.equals(pair.key) && value.equals(pair.value); } return super.equals(obj); }
6
public void render(float delta, SpriteBatch batch) { LevelGenerator.getInstance().generateLevel(this); for(Class cls : renderOrder){ if(cls == Rocket.class) { for (Entity rocket : levelEntities.get(cls)) { if (!isBulletInViewPort(rocket)) { ...
7
public void setAvalie(PExp node) { if(this._avalie_ != null) { this._avalie_.parent(null); } if(node != null) { if(node.parent() != null) { node.parent().removeChild(node); } node.parent(this); ...
3
private PageSpinner createSpinner() { PageSpinner s = new PageSpinner(); s.setPage(page); if (uid != null) { s.setUid(uid); uid = null; } connect(s); s.setMinimum(minimum); s.setMaximum(maximum); if (stepsize != 0) { s.setStepSize(stepsize); stepsize = 0; } s.setValue(value...
7
private File getNodeJsExecutableFile() { String nodePath = ""; // Loading the properties for the Runnable objects // Or trying to create them String nodeExecutablePath = properties.getProperty("nodePath"); File nodeExecutable = null; if (nodeExecutablePath != null) {...
7
private void updateFilm(FilmBean film) { try { java.sql.Date date = new java.sql.Date(film.getReturnDate().getTime()); String queryString = "update filme set borowerID = ?, returnDate = '?', " + "renewal = ? where id = ? ;";; PreparedStatement statement =...
1
public static boolean extractFromEmulator(CHREditorModel newModelRef, NES nes){ try { MemoryInterface mem = nes._memoryManager; // copy the nametable int len = newModelRef.getCHRModel().nameTableIndexes[0].length; byte nt[] = new byte[len]; for(int i=0;i<le...
9
@Override protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String tarefa = request.getParameter("tarefa"); if(tarefa == null) throw new IllegalArgumentException("Você esqueceu de passar a tarefa"); try{ String nomeDaClasse = "br.com.alu...
3
public String translate(Object o) { if (o == null) { return "null"; } Class objectClass = o.getClass(); if (objectClass.isArray() || o instanceof Object[]) { return translators.get(Object[].class).translate(o); } else { Translator lowestTrans...
5
private String processInput(String xmlString) { String requestType; //parse XML into DOM tree //getting parsers is longwinded but straightforward try { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocu...
3
protected void hudAreaText(HUDArea ha, String t) { if (ha.isInside(registry.getMousePosition()) && !t.isEmpty()) { registry.setStatusText(t); } }
2
@Override public String toString() { return "Fossils found!" + super.toString() + " Fossil=" + this.fossil + " SeenFossil=" + this.seenFossil; }
0
public static double calcArctg(double argument, double accuracy) { if (isNaN(argument) || isNaN(accuracy) || isInfinite(accuracy)) { return NaN; } if (isInfinite(argument)) { return (argument < 0) ? -PI / 2 : PI / 2; } if (abs(argument) >= 1) { return NaN; } final double sqrArg = pow(argument, 2)...
8
public static void main(final 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:...
6
public void draw(Graphics g){ int x = getX(); int y = getY(); int w = getW(); int h = getH(); if(w < 0){ x +=w; w *= -1; } if(h < 0){ y +=h; h *= -1; } Graphics2D g2 = (Graphics2D) g; if(getLinePattern()) g2.setStroke(new MyDashStroke(getLineWidth())); else g2.setStroke(new B...
4
* @param winner The <code>Unit</code> that looting. * @param loserId The id of the <code>Unit</code> that is looted. * @param loot The <code>Goods</code> to loot. * @return An <code>Element</code> encapsulating this action. */ public Element lootCargo(ServerPlayer serverPlayer, Unit winner, ...
6
public boolean getFocused() { return focused; }
0
public synchronized boolean remover(int i) { try { new PesquisadorDAO().remover(list.get(i)); list = new PesquisadorDAO().listar(""); preencherTabela(); } catch (Exception e) { return false; } return true; }
1
static double[][] minor(double[][] A, int i, int j){ double[][] minor = new double[A.length-1][A.length-1]; int n = 0, m = 0; for(int k = 0; k < A.length; k++){ if(k == i) continue; for(int l = 0; l < A.length; l++){ if(l == j) continue; minor[n][m] = A[k][l]; m++; } n++; m = ...
4
public Level(){ for(int x=0;x<SIZE;x++){ for(int y=0;y<SIZE;y++){ world[x][y] = TileType.STONE; } } System.out.println("Generating World..."); for(int i=0;i<rand.nextInt(SIZE/2);i++){ generateMineshaft(rand.nextInt(SIZE),rand.nextInt(SI...
5
@Override public void actionPerformed(ActionEvent e) { (Outliner.findReplace).show(); }
0
public CommandCwreload(CreeperWarningMain plugin) { this.plugin = plugin; }
0
private Node moveRedRight(Node h) { assert (h != null); assert isRed(h) && !isRed(h.right) && !isRed(h.right.left); flipColors(h); if (isRed(h.left.left)) { h = rotateRight(h); // flipColors(h); } return h; }
3
public Invoker(Object target) { invokeTarget = target; targetClass = (invokeTarget instanceof Class) ? (Class) invokeTarget : invokeTarget.getClass(); }
1
@Override public List<Ability> domainAbilities(final MOB M, final int domain) { final Vector<Ability> V=new Vector<Ability>(1); if(M!=null) { if(domain>Ability.ALL_ACODES) { for(final Enumeration<Ability> a=M.allAbilities();a.hasMoreElements();) { final Ability A=a.nextElement(); if((A!=...
8
public void RecibirArchivos() throws IOException{ int FILE_SIZE = 6022386; int bytesRead; int current = 0; FileOutputStream fos = null; BufferedOutputStream bos = null; Socket sock = null; try { sock = new Socket("localhost", 13267); System.out.pri...
5
private Status.StoredFieldStatus testStoredFields(SegmentInfo info, SegmentReader reader, NumberFormat format) { final Status.StoredFieldStatus status = new Status.StoredFieldStatus(); try { if (infoStream != null) { infoStream.print(" test: stored fields......."); } // Scan store...
6
public static int rowMaxElem(double[][] a, int k) { int max = k; for (int i = k + 1; i < a.length; i++) { if (Math.abs(a[i][k]) > Math.abs(a[max][k])) max = i; } if (a[max][k] == 0) return -1; return max; }
3
private void btnSelecionaBancoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSelecionaBancoActionPerformed JFileChooser flc = new JFileChooser(); flc.setMultiSelectionEnabled(false); flc.setFileFilter(new FileNameExtensionFilter("Banco de Dados \".gdb\" e \".fdb\"", new St...
4
public int[] getPoints(){ return points; }
0
@Override public boolean onCommand(CommandSender cs, Command cmd, String string, String[] args) { if (string.equalsIgnoreCase("SetLeapStick")) { if (cs.isOp() || cs.hasPermission("explosionman.SetLeapStick")) { if (args.length == 0) { cs.sendMessage(ChatColor.RED + "The proper usage is " + Chat...
7
@Override public Object call() throws Exception { Thread.sleep(5000); totalMoney = new Integer(new Random().nextInt(10000)); System.out.println("您当前有" + totalMoney + "在您的私有账户中"); return totalMoney; }
0
private ActionListener research (final int i) { return new ActionListener() { public void actionPerformed (ActionEvent e) { if (researchupgrading.length() != 0) { JOptionPane.showMessageDialog(null, "You can only research one research at a time", "ERROR", JOptionPane.ERROR_MESSAGE); return; } ...
9
@Override public void documentAdded(DocumentRepositoryEvent e) {}
0
public static String getURL(Object object) { String url = (String) HELP_MAP.get(object); if (url != null) return url; Class c = object instanceof Class ? (Class) object : object.getClass(); while (c != null) { url = (String) HELP_MAP.get(c); if (url != null) return url; url = "/DOCS/" + c.getNam...
5
public void pokazPracownikow() { try { ResultSet lista = zapytanie.executeQuery("SELECT * FROM pracownicy"); while (lista.next()) { System.out.println(LINIA); System.out.println("Id : " + lista.getInt("id_pracownika")); System...
6
public boolean equals(Object p_other) { boolean l_bRetVal = false; if ( p_other == null ) { l_bRetVal = false; } else if ( this == p_other ) { l_bRetVal = true; } else { ExecutionFilter l_theOther = (ExecutionFilter)p_other; l_bR...
8
public static void filledRectangle(double x, double y, double halfWidth, double halfHeight) { if (halfWidth < 0) throw new RuntimeException("half width can't be negative"); if (halfHeight < 0) throw new RuntimeException("half height can't be negative"); double xs = scaleX(x); double ys ...
4
public String getCommand(int x) { String y; if (x == 1) { y = "attack"; } else if (x == 2) { y = "defend"; } else if (x == 3) { y = "cure"; } else if (x == 4) { y = "protect"; } else if (x == 5) { y = "reflect"; } else if (x == 6) { y = "rise"; } else if (x == 7) { y = "...
7
public static void main(String[] args) throws Exception { if (args.length == 0) { System.out.println("Please provide a Bronto API token."); System.exit(0); } String token = args[0]; BrontoApiAsync client = new BrontoClientAsync(token, Executors.newCachedThreadPoo...
9
public String getLowOrHighDate(String dateone, String datetwo, boolean highestDate) { try { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); Date date1 = sdf.parse(dateone); Date date2 = sdf.parse(datetwo); if (date1.compareTo(date2) > 0) { if (!highestDate) { return datetwo; } el...
6
public int sumNumbers(TreeNode root) { int sum = 0; if (root == null) return sum; Stack<TreeNode> sta = new Stack<TreeNode>(); // sta.push(root); TreeNode p = root; while (p != null || !sta.empty()) { while (p != null) { sta.push(p); p = p.left; } if (!sta.empty()) { p = sta.pop(); ...
7
public void actionPerformed(ActionEvent e) { if(e.getSource()==start) { stopflag=false; t=new Thread(this); t.start(); } else if(e.getSource()==stop) { stopflag=true; t=null; } }
2
public Bee(String name, Block[] rects, float x, float y) { this.beename = name; this.x = x; this.y = y; map = rects; try { bsprite = new SpriteSheet("src/Assets/beesheet.png", 128, 128); } catch (SlickException e) { e.printStackTrace(); } try { bsprite2 = new SpriteSheet("src/Assets/beeshee...
2
private Formatter initializeFormatter() { Formatter formatter; String format = this.configuration.getMessageFormat(); String separator = this.configuration.getMessageSeparator(); if (separator != null) { formatter = new SimpleFormatter(format, DISTANCE_CALLER_GIVE_FORMAT, separator); } else { formatter ...
1
public void clear( final long fromIndex, final long toIndex ) { if ( fromIndex >= toIndex ) return; final long fromPos = getSetIndex( fromIndex ); final long toPos = getSetIndex( toIndex ); //remove all maps in the middle for ( long i = fromPos + 1; i < toPos; ++i ) ...
6