public class RandomTextGenerartorImpl extends Object implements RandomTextGenerartor
org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<B extends org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<B>>, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthMutator, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthProperty
org.refcodes.mixin.CharSetAccessor.CharSetBuilder<B extends org.refcodes.mixin.CharSetAccessor.CharSetBuilder<B>>, org.refcodes.mixin.CharSetAccessor.CharSetMutator, org.refcodes.mixin.CharSetAccessor.CharSetProperty
Constructor and Description |
---|
RandomTextGenerartorImpl() |
Modifier and Type | Method and Description |
---|---|
char[] |
getCharSet() |
int |
getColumnWidth() |
RandomTextMode |
getRandomTextMode()
Retrieves the random text mode from the random text mode property.
|
boolean |
hasNext() |
String |
next() |
void |
setCharSet(char[] aCharSet) |
void |
setColumnWidth(int aColumnWidth) |
void |
setRandomTextMode(RandomTextMode aRandomTextMode)
Sets the random text mode for the random text mode property.
|
RandomTextGenerartor |
withCharSet(char[] aCharSet) |
RandomTextGenerartor |
withColumnWidth(int aColumnWidth) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
withRandomTextMode
forEachRemaining, remove
public RandomTextGenerartor withColumnWidth(int aColumnWidth)
withColumnWidth
in interface org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<RandomTextGenerartor>
public void setColumnWidth(int aColumnWidth)
setColumnWidth
in interface org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthMutator
public int getColumnWidth()
getColumnWidth
in interface org.refcodes.mixin.ColumnWidthAccessor
public boolean hasNext()
public String next()
public RandomTextMode getRandomTextMode()
getRandomTextMode
in interface RandomTextGenerartor
public void setRandomTextMode(RandomTextMode aRandomTextMode)
setRandomTextMode
in interface RandomTextGenerartor
aRandomTextMode
- The random text mode to be stored by the random
text mode property.public char[] getCharSet()
getCharSet
in interface org.refcodes.mixin.CharSetAccessor
public void setCharSet(char[] aCharSet)
setCharSet
in interface org.refcodes.mixin.CharSetAccessor.CharSetMutator
public RandomTextGenerartor withCharSet(char[] aCharSet)
withCharSet
in interface org.refcodes.mixin.CharSetAccessor.CharSetBuilder<RandomTextGenerartor>
Copyright © 2018. All rights reserved.