com.speedment.jpastreamer.field.comparator.DoubleFieldComparator Maven / Gradle / Ivy
/*
* JPAstreamer - Express JPA queries with Java Streams
* Copyright (c) 2020-2020, Speedment, Inc. All Rights Reserved.
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
*/
package com.speedment.jpastreamer.field.comparator;
import com.speedment.jpastreamer.field.trait.HasDoubleValue;
import com.speedment.jpastreamer.field.DoubleField;
/**
* A {@link FieldComparator} that compares values of a {@link DoubleField}.
*
* @param entity type
*
* @author Emil Forslund
* @since 3.0.0
*/
public interface DoubleFieldComparator extends FieldComparator {
/**
* Gets the field that is being compared.
*
* @return the compared field
*/
@Override
HasDoubleValue getField();
@Override
DoubleFieldComparator reversed();
}