org.jboss.errai.otec.client.mutation
Class CharacterMutation
java.lang.Object
org.jboss.errai.otec.client.mutation.CharacterMutation
- All Implemented Interfaces:
- Mutation<StringState,Character>
public class CharacterMutation
- extends Object
- implements Mutation<StringState,Character>
- Author:
- Christian Sadilek , Mike Brock
noop
public static CharacterMutation noop(int position)
of
public static CharacterMutation of(MutationType type,
int position,
char data)
getType
public MutationType getType()
- Specified by:
getType
in interface Mutation<StringState,Character>
getPosition
public int getPosition()
- Specified by:
getPosition
in interface Mutation<StringState,Character>
getData
public Character getData()
- Specified by:
getData
in interface Mutation<StringState,Character>
length
public int length()
- Specified by:
length
in interface Mutation<StringState,Character>
apply
public void apply(StringState state)
- Specified by:
apply
in interface Mutation<StringState,Character>
combineWith
public Mutation<StringState,Character> combineWith(Mutation<StringState,Character> combine)
- Specified by:
combineWith
in interface Mutation<StringState,Character>
newBasedOn
public Mutation<StringState,Character> newBasedOn(int index)
- Specified by:
newBasedOn
in interface Mutation<StringState,Character>
newBasedOn
public Mutation<StringState,Character> newBasedOn(int index,
int truncate)
- Specified by:
newBasedOn
in interface Mutation<StringState,Character>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.