/libcore/luni/src/main/java/java/util/ |
H A D | Iterator.java | 24 * methods {@code next} and {@code hasNext()} may throw a {@code ConcurrentModificationException}. 38 * @see #next 43 * Returns the next object and advances the iterator. 45 * @return the next object. 50 public E next(); method in interface:Iterator 53 * Removes the last object returned by {@code next} from the collection. 54 * This method can only be called once between each call to {@code next}. 60 * if {@code next} has not been called, or {@code remove} has 61 * already been called after the last call to {@code next}.
|
H A D | ListIterator.java | 28 * Inserts the specified object into the list between {@code next} and 46 * @see #next 60 * Returns the next object in the iteration. 62 * @return the next object. 67 public E next(); method in interface:ListIterator 70 * Returns the index of the next object in the iteration. 72 * @return the index of the next object, or the size of the list if the 76 * @see #next 102 * Removes the last object returned by {@code next} or {@code previous} from 108 * if {@code next} o [all...] |
H A D | Random.java | 96 protected synchronized int next(int bits) { method in class:Random 105 return next(1) != 0; 130 return ((((long) next(26) << 27) + next(27)) / (double) (1L << 53)); 138 return (next(24) / 16777216f); 173 return next(32); 185 return (int) ((n * (long) next(31)) >> 31); 189 bits = next(31); 199 return ((long) next(32) << 32) + next(3 [all...] |
H A D | ServiceLoader.java | 36 * next newline. 66 * Note also that the candidate classes are instantiated lazily as you call {@code next} on the 98 * Note that {@code hasNext} and {@code next} may throw if the configuration is invalid. 208 public S next() { method in class:ServiceLoader.ServiceIterator
|
H A D | HugeEnumSet.java | 57 * The index into HugeEnumSet.bits of the next value to return. 62 * The single bit of the next value to return. 76 * Assigns mask and index to the next available value, cycling currentBits as necessary. 96 public E next() { method in class:HugeEnumSet.HugeEnumSetIterator
|
H A D | MiniEnumSet.java | 54 * The single bit of the next value to return. 67 public E next() { method in class:MiniEnumSet.MiniEnumSetIterator
|
/libcore/luni/src/main/java/java/text/ |
H A D | CharacterIterator.java | 90 * @return the character at the next index, or {@code DONE} if the next 93 public char next(); method in interface:CharacterIterator
|
H A D | CollationElementIterator.java | 25 * ordering priority of the next character or sequence of characters in the 47 * <p>Note that calls to {@code next} and {@code previous} can not be mixed. 56 * {@code next()} and {@code previous()} when the end or the 75 * call to either the {@link #next()} or {@link #previous()} 84 * next collation element. This value could be any of: 87 * the value of the next collation element. This means that if 106 * Returns the next collation element in the source string or {@code NULLORDER} if 109 public int next() { method in class:CollationElementIterator 110 return this.icuIterator.next(); 134 * string. The next cal [all...] |
H A D | BreakIterator.java | 58 * {@code first()}, {@code last()}, {@code next()}, and {@code previous()} that 70 * text and the user calls {@code next()}, or when the current position is the 125 * for (int end = boundary.next(); end != BreakIterator.DONE; start = end, end = boundary.next()) { 154 * int end = boundary.next(); 187 * Find the next word: 195 * int current = wb.next(); 202 * current = wb.next(); 214 * next. With the word-break iterator, the characters between two boundaries 217 * the beginning of a word: If the characters between this boundary and the next 430 public abstract int next(); method in class:BreakIterator 441 public abstract int next(int n); method in class:BreakIterator [all...] |
H A D | RuleBasedBreakIterator.java | 66 @Override public int next() { method in class:RuleBasedBreakIterator 67 return wrapped.next(); 70 @Override public int next(int n) { method in class:RuleBasedBreakIterator 71 return wrapped.next(n);
|
H A D | StringCharacterIterator.java | 211 * @return the character at the next index, or {@code DONE} if the next 214 public char next() { method in class:StringCharacterIterator
|
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldAndroidPipedStreamTest.java | 65 assertEquals(readByte, (byte) fib.next()); 79 int toWrite = fib.next(); 143 assertEquals("Error at " + countRead, fib.next(), readInt); 159 int toWrite = fib.next(); 230 int toWrite = fib.next(); 267 assertEquals("Error at " + i, readInt, fib.next()); 275 public int next() { method in class:OldAndroidPipedStreamTest.Fibonacci
|
/libcore/luni/src/main/java/java/lang/ref/ |
H A D | FinalizerReference.java | 35 private FinalizerReference<?> next; field in class:FinalizerReference 57 reference.next = head; 67 FinalizerReference<?> next = reference.next; 69 reference.next = null; 72 prev.next = next; 74 head = next; 76 if (next != null) { 77 next [all...] |
/libcore/luni/src/main/java/java/security/ |
H A D | SecureRandom.java | 284 protected final int next(int numBits) { method in class:SecureRandom 293 byte[] next = new byte[bytes]; 296 nextBytes(next); 298 ret = (next[i] & 0xFF) | (ret << 8);
|
/libcore/luni/src/main/java/java/sql/ |
H A D | SQLException.java | 35 * <li>The next exception in the chain.</li> 48 private SQLException next = null; field in class:SQLException 196 return next; 220 if (next != null) { 221 next.setNextException(ex); 223 next = ex; 247 public Throwable next() { method in class:SQLException.InternalIterator 252 current = current.next;
|
/libcore/luni/src/main/java/libcore/icu/ |
H A D | CollationElementIteratorICU.java | 23 * data string depending on whether next() is called or previous(). 29 * ce = iterator.next(); 50 * Get the ordering priority of the next collation element in the text. 52 * @return next collation elements ordering, or NULLORDER if the end of the 56 public int next() { method in class:CollationElementIteratorICU 57 return NativeCollation.next(address); 74 * @param order collation order returned by previous or next.
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
H A D | DerInputStream.java | 51 public int next() throws IOException { method in class:DerInputStream 52 int tag = super.next();
|
/libcore/luni/src/main/native/ |
H A D | java_io_File.cpp | 89 // Returns the next filename, or NULL. 90 const char* next() { function in class:ScopedReaddir 131 while ((filename = dir.next()) != NULL) {
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | OldListIteratorTest.java | 39 l.next(); 46 assertTrue(objArray[i].equals(l.next())); 50 l.next(); 72 public Object next() { method in class:OldListIteratorTest.Mock_ListIterator 107 l.next(); 131 l.next(); 144 l.next(); 162 l.next(); 169 l.next(); 182 l.next(); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
H A D | AttributedStringTest.java | 39 while ((ch = it.next()) != CharacterIterator.DONE) 105 public char next() { method in class:AttributedStringTest.testAttributedCharacterIterator
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | AbstractSequentialListTest.java | 83 public Object next() { method in class:AbstractSequentialListTest.Mock_unsupportedListIterator 122 public E next() { method in class:AbstractSequentialListTest.Mock_ListIterator 325 public Object next() { 440 public Object next() { 513 public Object next() {
|
H A D | RandomTest.java | 259 protected int next(int bits) { method in class:RandomTest.Mock_Random 261 return super.next(bits);
|
/libcore/json/src/main/java/org/json/ |
H A D | JSONTokener.java | 68 * The index of the next character to be returned by {@link #next}. When 87 * Returns the next value from the input. 170 * Advances the position until after the next newline character. If the line 321 /* ...next try to parse as a floating point... */ 477 * Returns the next available character, or the null character '\0' if all 481 public char next() { method in class:JSONTokener 486 * Returns the next available character if it equals {@code c}. Otherwise an 489 public char next(char c) throws JSONException { method in class:JSONTokener 490 char result = next(); 519 public String next(int length) throws JSONException { method in class:JSONTokener [all...] |
/libcore/luni/src/main/java/java/lang/ |
H A D | ThreadLocal.java | 174 /** Points to the next cell to clean up. */ 270 index = next(index)) { 274 continue; // on to next entry 290 // Point cursor to next index. 366 for (int index = key.hash & mask;; index = next(index)) { 387 for (int index = key.hash & mask;; index = next(index)) { 452 for (index = next(index);; index = next(index)) { 507 for (int index = key.hash & mask;; index = next(index)) { 527 * Gets the next inde 530 private int next(int index) { method in class:ThreadLocal.Values [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | DelayQueue.java | 52 * the leader, it waits only for the next delay to elapse, but 264 * this method returns the element that will expire next, 471 if (o == it.next()) { 504 int cursor; // index of next element to return 517 public E next() { method in class:DelayQueue.Itr
|