Class CompositePartitioner
- java.lang.Object
-
- org.eclipse.epsilon.egl.merge.partition.CompositePartitioner
-
- All Implemented Interfaces:
Partitioner
public class CompositePartitioner extends java.lang.Object implements Partitioner
-
-
Constructor Summary
Constructors Constructor Description CompositePartitioner(CommentBlockPartitioner... partitioners)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPartitioner(CommentBlockPartitioner partitioner)
boolean
equals(java.lang.Object o)
CommentBlockPartitioner
getDefaultPartitioner()
java.util.Set<CommentBlockPartitioner>
getPartitioners()
int
hashCode()
Output
partition(java.lang.String text)
Output
partition(java.lang.String text, int offset)
java.lang.String
toString()
-
-
-
Constructor Detail
-
CompositePartitioner
public CompositePartitioner(CommentBlockPartitioner... partitioners)
-
-
Method Detail
-
addPartitioner
public void addPartitioner(CommentBlockPartitioner partitioner)
-
getPartitioners
public java.util.Set<CommentBlockPartitioner> getPartitioners()
-
partition
public Output partition(java.lang.String text)
- Specified by:
partition
in interfacePartitioner
-
partition
public Output partition(java.lang.String text, int offset)
- Specified by:
partition
in interfacePartitioner
-
getDefaultPartitioner
public CommentBlockPartitioner getDefaultPartitioner()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-