// Path: cacheio-core/src/main/java/com/mobilejazz/cacheio/mappers/KeyMapper.java
// public interface KeyMapper<T> {
// 
//   String toString(T model);
// 
//   T fromString(String str);
// }
// 
// Path: cacheio-core/src/main/java/com/mobilejazz/cacheio/helper/Preconditions.java
// public static <T> T checkArgument(T object, String message) {
//   if (object == null) {
//     throw new IllegalArgumentException(message);
//   }
// 
//   return object;
// }


import com.mobilejazz.cacheio.mappers.KeyMapper;
import static com.mobilejazz.cacheio.helper.Preconditions.checkArgument;
package com.mobilejazz.cacheio.mappers.key;



public class StringKeyMapper implements KeyMapper<String> {

  @Override public String toString(String model) {
// Path: cacheio-core/src/main/java/com/mobilejazz/cacheio/mappers/KeyMapper.java
// public interface KeyMapper<T> {
// 
//   String toString(T model);
// 
//   T fromString(String str);
// }
// 
// Path: cacheio-core/src/main/java/com/mobilejazz/cacheio/helper/Preconditions.java
// public static <T> T checkArgument(T object, String message) {
//   if (object == null) {
//     throw new IllegalArgumentException(message);
//   }
// 
//   return object;
// }


// Path: cacheio-core/src/main/java/com/mobilejazz/cacheio/mappers/key/StringKeyMapper.java
import com.mobilejazz.cacheio.mappers.KeyMapper;
import static com.mobilejazz.cacheio.helper.Preconditions.checkArgument;

package com.mobilejazz.cacheio.mappers.key;



public class StringKeyMapper implements KeyMapper<String> {

  @Override public String toString(String model) {
    checkArgument(model, "key cannot be null");