Searched defs:start (Results 1 - 9 of 9) sorted by relevance
/ropes-1.1.3/src/org/ahmadsoft/ropes/impl/ |
H A D | ReverseRope.java | 65 public Iterator<Character> iterator(final int start) {
argument 66 if (start < 0 || start > this.length())
67 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
69 int current = start;
97 public Iterator<Character> reverseIterator(final int start) {
argument 98 if (start < 0 || start > this.length())
99 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
101 int current = ReverseRope.this.length() - start;
120 subSequence(final int start, final int end) argument [all...] |
H A D | ConcatenationRope.java | 115 public CharSequence subSequence(final int start, final int end) {
116 return rope.subSequence(start, end);
139 public Iterator<Character> iterator(final int start) {
argument 140 if (start < 0 || start > this.length())
141 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
142 if (start >= this.left.length()) {
143 return this.right.iterator(start - this.left.length());
145 return new ConcatenationRopeIteratorImpl(this, start);
165 public Iterator<Character> reverseIterator(final int start) {
argument 176 subSequence(final int start, final int end) argument [all...] |
H A D | ConcatenationRopeIteratorImpl.java | 51 public ConcatenationRopeIteratorImpl(final Rope rope, final int start) {
argument 57 if (start < 0 || start > rope.length()) {
58 throw new IllegalArgumentException("Rope index out of range: " + start);
60 this.moveForward(start);
|
H A D | ConcatenationRopeReverseIteratorImpl.java | 52 public ConcatenationRopeReverseIteratorImpl(final Rope rope, final int start) {
argument 59 if (start < 0 || start > rope.length()) {
60 throw new IllegalArgumentException("Rope index out of range: " + start);
62 this.moveForward(start);
|
H A D | FlatCharArrayRope.java | 146 public Iterator<Character> iterator(final int start) {
argument 147 if (start < 0 || start > this.length())
148 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
150 int current = start;
179 public Iterator<Character> reverseIterator(final int start) {
argument 180 if (start < 0 || start > this.length())
181 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
183 int current = FlatCharArrayRope.this.length() - start;
202 subSequence(final int start, final int end) argument [all...] |
H A D | FlatCharSequenceRope.java | 60 public Iterator<Character> iterator(final int start) {
argument 61 if (start < 0 || start > this.length())
62 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
64 int current = start;
99 public Iterator<Character> reverseIterator(final int start) {
argument 100 if (start < 0 || start > this.length())
101 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
103 int current = FlatCharSequenceRope.this.length() - start;
122 subSequence(final int start, final int end) argument [all...] |
H A D | SubstringRope.java | 76 public Iterator<Character> iterator(final int start) {
argument 77 if (start < 0 || start > this.length())
78 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
81 final Iterator<Character> u = SubstringRope.this.getRope().iterator(SubstringRope.this.getOffset() + start);
82 int position = start;
114 public Iterator<Character> reverseIterator(final int start) {
argument 115 if (start < 0 || start > this.length())
116 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
140 subSequence(final int start, final int end) argument [all...] |
H A D | AbstractRope.java | 54 public Rope append(final CharSequence csq, final int start, final int end) {
argument 55 return RopeUtilities.INSTANCE.concatenate(this, Rope.BUILDER.build(csq).subSequence(start, end));
72 public Rope delete(final int start, final int end) {
argument 73 if (start == end)
75 return this.subSequence(0, start).append(this.subSequence(end, this.length()));
|
/ropes-1.1.3/src/org/ahmadsoft/ropes/ |
H A D | Rope.java | 90 * @param start the start index, inclusive.
94 Rope append(CharSequence csq, int start, int end);
argument 98 * The substring begins at the specified <code>start</code> and extends to
101 * <code>start</code> is equal to <code>end</code>, no changes are made.
103 * @param start The beginning index, inclusive.
106 * @throws StringIndexOutOfBoundsException if <code>start</code>
110 Rope delete(int start, int end);
argument 143 * @param fromIndex the index to start searching from.
172 * @param fromIndex the index to start searchin 200 iterator(int start) argument 276 reverseIterator(int start) argument 286 subSequence(int start, int end) argument [all...] |
Completed in 9 milliseconds