Searched defs:fromIndex (Results 1 - 25 of 87) sorted by relevance

1234

/external/guava/guava/src/com/google/common/collect/
H A DImmutableSortedAsList.java81 ImmutableList<E> subListUnchecked(int fromIndex, int toIndex) { argument
83 super.subListUnchecked(fromIndex, toIndex), comparator())
H A DRegularImmutableList.java96 ImmutableList<E> subListUnchecked(int fromIndex, int toIndex) { argument
98 array, offset + fromIndex, toIndex - fromIndex);
H A DRegularImmutableSortedMap.java100 private ImmutableSortedMap<K, V> getSubMap(int fromIndex, int toIndex) { argument
101 if (fromIndex == 0 && toIndex == size()) {
103 } else if (fromIndex == toIndex) {
107 keySet.getSubSet(fromIndex, toIndex),
108 valueList.subList(fromIndex, toIndex));
H A DSingletonImmutableList.java66 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { argument
67 Preconditions.checkPositionIndexes(fromIndex, toIndex, 1);
68 return (fromIndex == toIndex) ? ImmutableList.<E>of() : this;
H A DConstraints.java225 @Override public List<E> subList(int fromIndex, int toIndex) { argument
227 delegate.subList(fromIndex, toIndex), constraint);
H A DForwardingList.java110 public List<E> subList(int fromIndex, int toIndex) { argument
111 return delegate().subList(fromIndex, toIndex);
214 @Beta protected List<E> standardSubList(int fromIndex, int toIndex) { argument
215 return Lists.subListImpl(this, fromIndex, toIndex);
/external/proguard/src/proguard/
H A DDataEntryWriterFactory.java40 * @param fromIndex the start index in the class path.
45 int fromIndex,
51 for (int index = toIndex - 1; index >= fromIndex; index--)
44 createDataEntryWriter(ClassPath classPath, int fromIndex, int toIndex) argument
H A DInputReader.java149 int fromIndex,
153 for (int index = fromIndex; index < toIndex; index++)
147 readInput(String messagePrefix, ClassPath classPath, int fromIndex, int toIndex, DataEntryReader reader) argument
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DListExtensions.cs206 public static IList subList( this IList list, int fromIndex, int toIndex ) argument
208 return new SubList( list, fromIndex, toIndex );
212 // .Skip( fromIndex )
213 // .Take( toIndex - fromIndex + 1 )
217 public static IList<T> subList<T>( this IList<T> list, int fromIndex, int toIndex ) argument
219 return new SubList<T>( list, fromIndex, toIndex );
222 // .Skip( fromIndex )
223 // .Take( toIndex - fromIndex + 1 )
227 public static IList<T> subList<T>( this List<T> list, int fromIndex, int toIndex ) argument
229 return new SubList<T>( list, fromIndex, toInde
[all...]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DForwardingImmutableList.java49 public ImmutableList<E> subList(int fromIndex, int toIndex) { argument
50 return unsafeDelegateList(delegateList().subList(fromIndex, toIndex));
H A DImmutableList.java236 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { argument
237 return unsafeDelegateList(Lists.subListImpl(this, fromIndex, toIndex));
/external/mockito/src/test/java/org/mockitousage/stubbing/
H A DStubbingWithDelegateTest.java42 public ArrayList<T> subList(int fromIndex, int toIndex) { argument
52 public Collection<T> subList(int fromIndex, int toIndex) { argument
/external/okhttp/okio/okio/src/main/java/okio/
H A DBufferedSource.java211 * fromIndex}. This expands the buffer as necessary until {@code b} is found.
215 long indexOf(byte b, long fromIndex) throws IOException; argument
226 * fromIndex}. This expands the buffer as necessary until {@code bytes} is found. This reads an
230 long indexOf(ByteString bytes, long fromIndex) throws IOException; argument
242 * at or after {@code fromIndex}. This expands the buffer as necessary until
247 long indexOfElement(ByteString targetBytes, long fromIndex) throws IOException; argument
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DXMLString.java352 * no smaller than <code>fromIndex</code>, then the index of the first
356 * (this.charAt(<i>k</i>) == ch) && (<i>k</i> >= fromIndex)
359 * position <code>fromIndex</code>, then <code>-1</code> is returned.
361 * There is no restriction on the value of <code>fromIndex</code>. If it
368 * @param fromIndex the index to start the search from.
371 * than or equal to <code>fromIndex</code>, or <code>-1</code>
374 public abstract int indexOf(int ch, int fromIndex); argument
399 * this.charAt(k) == ch) && (k <= fromIndex)
404 * @param fromIndex the index to start the search from. There is no
405 * restriction on the value of <code>fromIndex</cod
416 lastIndexOf(int ch, int fromIndex) argument
482 indexOf(String str, int fromIndex) argument
524 lastIndexOf(String str, int fromIndex) argument
[all...]
H A DXMLStringDefault.java418 * no smaller than <code>fromIndex</code>, then the index of the first
422 * (this.charAt(<i>k</i>) == ch) && (<i>k</i> >= fromIndex)
425 * position <code>fromIndex</code>, then <code>-1</code> is returned.
427 * There is no restriction on the value of <code>fromIndex</code>. If it
434 * @param fromIndex the index to start the search from.
437 * than or equal to <code>fromIndex</code>, or <code>-1</code>
440 public int indexOf(int ch, int fromIndex) argument
442 return m_str.indexOf(ch, fromIndex);
471 * this.charAt(k) == ch) && (k <= fromIndex)
476 * @param fromIndex th
488 lastIndexOf(int ch, int fromIndex) argument
563 indexOf(String str, int fromIndex) argument
611 lastIndexOf(String str, int fromIndex) argument
[all...]
/external/apache-xml/src/main/java/org/apache/xpath/objects/
H A DXString.java658 * no smaller than <code>fromIndex</code>, then the index of the first
662 * (this.charAt(<i>k</i>) == ch) && (<i>k</i> >= fromIndex)
665 * position <code>fromIndex</code>, then <code>-1</code> is returned.
667 * There is no restriction on the value of <code>fromIndex</code>. If it
674 * @param fromIndex the index to start the search from.
677 * than or equal to <code>fromIndex</code>, or <code>-1</code>
680 public int indexOf(int ch, int fromIndex) argument
682 return str().indexOf(ch, fromIndex);
711 * this.charAt(k) == ch) && (k <= fromIndex)
716 * @param fromIndex th
728 lastIndexOf(int ch, int fromIndex) argument
803 indexOf(String str, int fromIndex) argument
851 lastIndexOf(String str, int fromIndex) argument
[all...]
H A DXStringForFSB.java685 * no smaller than <code>fromIndex</code>, then the index of the first
689 * (this.charAt(<i>k</i>) == ch) && (<i>k</i> >= fromIndex)
692 * position <code>fromIndex</code>, then <code>-1</code> is returned.
694 * There is no restriction on the value of <code>fromIndex</code>. If it
701 * @param fromIndex the index to start the search from.
704 * than or equal to <code>fromIndex</code>, or <code>-1</code>
707 public int indexOf(int ch, int fromIndex) argument
713 if (fromIndex < 0)
715 fromIndex = 0;
717 else if (fromIndex >
[all...]
/external/guava/guava/src/com/google/common/primitives/
H A DBooleans.java419 @Override public List<Boolean> subList(int fromIndex, int toIndex) { argument
421 checkPositionIndexes(fromIndex, toIndex, size);
422 if (fromIndex == toIndex) {
425 return new BooleanArrayAsList(array, start + fromIndex, start + toIndex);
H A DBytes.java333 @Override public List<Byte> subList(int fromIndex, int toIndex) { argument
335 checkPositionIndexes(fromIndex, toIndex, size);
336 if (fromIndex == toIndex) {
339 return new ByteArrayAsList(array, start + fromIndex, start + toIndex);
H A DChars.java537 @Override public List<Character> subList(int fromIndex, int toIndex) { argument
539 checkPositionIndexes(fromIndex, toIndex, size);
540 if (fromIndex == toIndex) {
543 return new CharArrayAsList(array, start + fromIndex, start + toIndex);
H A DDoubles.java524 @Override public List<Double> subList(int fromIndex, int toIndex) { argument
526 checkPositionIndexes(fromIndex, toIndex, size);
527 if (fromIndex == toIndex) {
530 return new DoubleArrayAsList(array, start + fromIndex, start + toIndex);
H A DFloats.java520 @Override public List<Float> subList(int fromIndex, int toIndex) { argument
522 checkPositionIndexes(fromIndex, toIndex, size);
523 if (fromIndex == toIndex) {
526 return new FloatArrayAsList(array, start + fromIndex, start + toIndex);
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
H A DChars.java486 @Override public List<Character> subList(int fromIndex, int toIndex) { argument
488 checkPositionIndexes(fromIndex, toIndex, size);
489 if (fromIndex == toIndex) {
492 return new CharArrayAsList(array, start + fromIndex, start + toIndex);
H A DDoubles.java519 @Override public List<Double> subList(int fromIndex, int toIndex) { argument
521 checkPositionIndexes(fromIndex, toIndex, size);
522 if (fromIndex == toIndex) {
525 return new DoubleArrayAsList(array, start + fromIndex, start + toIndex);
H A DFloats.java516 @Override public List<Float> subList(int fromIndex, int toIndex) { argument
518 checkPositionIndexes(fromIndex, toIndex, size);
519 if (fromIndex == toIndex) {
522 return new FloatArrayAsList(array, start + fromIndex, start + toIndex);

Completed in 995 milliseconds

1234