org.ahmadsoft.ropes
Class RopeBuilder

java.lang.Object
  extended by org.ahmadsoft.ropes.RopeBuilder

public final class RopeBuilder
extends java.lang.Object

A factory for building ropes.

Author:
Amin Ahmad

Constructor Summary
RopeBuilder()
           
 
Method Summary
 Rope build(java.lang.CharSequence sequence)
          Construct a rope from an underlying character sequence.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RopeBuilder

public RopeBuilder()
Method Detail

build

public Rope build(java.lang.CharSequence sequence)
Construct a rope from an underlying character sequence.

Parameters:
sequence - the underlying character sequence.
Returns:
a rope representing the underlying character sequnce.