public interface TwoWayStringBridge extends StringBridge
StringBridge
allowing a translation from the string representation back to the Object
.
objectToString( stringToObject( string ) )
and stringToObject( objectToString( object ) )
should be "idempotent". More precisely:
objectToString( stringToObject( string ) ).equals(string)
, for non null
string.stringToObject( objectToString( object ) ).equals(object)
, for non null
object.Modifier and Type | Method and Description |
---|---|
Object |
stringToObject(String stringValue)
Convert the index string representation to an object.
|
objectToString
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved