gov.sandia.cognition.math.AbstractField Maven / Gradle / Ivy
/*
* File: AbstractField.java
* Authors: Justin Basilico
* Project: Cognitive Foundry Common Core
*
* Copyright 2013, Cognitive Foundry. All rights reserved.
*/
package gov.sandia.cognition.math;
/**
* An abstract implementation of the {@link Field} interface. It implements
* some of the basic functionality.
*
* @param
* The type of field.
* @author Justin Basilico
* @version 3.3.3
*/
public abstract class AbstractField>
extends AbstractEuclideanRing
implements Field
{
/**
* Creates a new {@link AbstractField}.
*/
public AbstractField()
{
super();
}
@Override
public FieldType inverse()
{
final FieldType result = this.clone();
result.inverseEquals();
return result;
}
}