All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.solovyev.common.text.GenericIntervalMapper Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
/*
 * Copyright (c) 2009-2011. Created by serso aka se.solovyev.
 * For more information, please, contact [email protected]
 * or visit http://se.solovyev.org
 */

package org.solovyev.common.text;

import org.jetbrains.annotations.NotNull;

/**
 * User: serso
 * Date: 9/26/11
 * Time: 10:45 PM
 */
public abstract class GenericIntervalMapper> extends AbstractIntervalMapper {

	@NotNull
	private final Mapper mapper;

	public GenericIntervalMapper(@NotNull Mapper mapper) {
		this.mapper = mapper;
	}

	@NotNull
	@Override
	protected Formatter getFormatter() {
		return mapper;
	}

	@NotNull
	@Override
	protected Parser getParser() {
		return mapper;
	}

	@NotNull
	public Mapper getMapper() {
		return mapper;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy