Searched refs:RopeUtilities (Results 1 - 6 of 6) sorted by relevance

/ropes-1.2.5/src/org/ahmadsoft/ropes/impl/
H A DRopeUtilities.java2 * RopeUtilities.java
35 class RopeUtilities { class
41 public static RopeUtilities INSTANCE = new RopeUtilities();
51 if (r instanceof AbstractRope && ((AbstractRope) r).depth() > RopeUtilities.MAX_ROPE_DEPTH) {
112 if (depth >= RopeUtilities.FIBONACCI.length - 2)
114 return (RopeUtilities.FIBONACCI[depth + 2] <= r.length()); // TODO: not necessarily valid w/e.g. padding char sequences.
160 out.print(RopeUtilities.SPACES.substring(0,depth*2));
165 out.print(RopeUtilities.SPACES.substring(0,depth*2));
170 out.print(RopeUtilities
[all...]
H A DConcatenationRope.java50 this.depth = (byte) (Math.max(RopeUtilities.INSTANCE.depth(left), RopeUtilities.INSTANCE.depth(right)) + 1);
153 return RopeUtilities.INSTANCE.rebalance(this);
158 return RopeUtilities.INSTANCE.concatenate(this.getRight().reverse(), this.getLeft().reverse());
183 return RopeUtilities.INSTANCE.concatenate(
H A DAbstractRope.java45 return RopeUtilities.INSTANCE.concatenate(this, Rope.BUILDER.build(String.valueOf(c)));
50 return RopeUtilities.INSTANCE.concatenate(this, Rope.BUILDER.build(suffix));
55 return RopeUtilities.INSTANCE.concatenate(this, Rope.BUILDER.build(csq).subSequence(start, end));
334 return RopeUtilities.INSTANCE.concatenate(
349 return RopeUtilities.INSTANCE.concatenate(
H A DReverseRope.java59 return RopeUtilities.INSTANCE.depth(this.rope);
H A DSubstringRope.java61 return RopeUtilities.INSTANCE.depth(getRope());
/ropes-1.2.5/
H A Dropes.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ahmadsoft/ org/ahmadsoft/ropes/ org/ahmadsoft/ropes/impl/ ...

Completed in 74 milliseconds