Iterator<RandomTextGenerartor>
, org.refcodes.generator.Generator<RandomTextGenerartor>
, org.refcodes.mixin.CharSetAccessor
, org.refcodes.mixin.CharSetAccessor.CharSetBuilder<RandomTextGenerartor>
, org.refcodes.mixin.CharSetAccessor.CharSetMutator
, org.refcodes.mixin.CharSetAccessor.CharSetProperty
, org.refcodes.mixin.ColumnWidthAccessor
, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<RandomTextGenerartor>
, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthMutator
, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthProperty
, RandomTextGenerartor
public class RandomTextGenerartorImpl extends Object implements RandomTextGenerartor
org.refcodes.mixin.CharSetAccessor.CharSetBuilder<B extends org.refcodes.mixin.CharSetAccessor.CharSetBuilder<B>>, org.refcodes.mixin.CharSetAccessor.CharSetMutator, org.refcodes.mixin.CharSetAccessor.CharSetProperty
org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<B extends org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<B>>, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthMutator, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthProperty
Constructor | Description |
---|---|
RandomTextGenerartorImpl() |
Modifier and Type | Method | 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) |
forEachRemaining, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
withRandomTextMode
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()
hasNext
in interface org.refcodes.generator.Generator<RandomTextGenerartor>
hasNext
in interface Iterator<RandomTextGenerartor>
public String next()
next
in interface org.refcodes.generator.Generator<RandomTextGenerartor>
next
in interface Iterator<RandomTextGenerartor>
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.