cdc.mf.model.MfDecoratedElement Maven / Gradle / Ivy
The newest version!
package cdc.mf.model;
import java.util.Comparator;
public class MfDecoratedElement {
public static final Comparator> ID_COMPARATOR =
Comparator.comparing(MfDecoratedElement::getElement, MfElement.ID_COMPARATOR);
public static final Comparator> QNAME_COMPARATOR =
Comparator.comparing(MfDecoratedElement::getElement, MfQNameItem.QNAME_COMPARATOR);
private final E element;
private final boolean direct;
public MfDecoratedElement(E element,
boolean direct) {
this.element = element;
this.direct = direct;
}
public E getElement() {
return element;
}
public boolean isDirect() {
return direct;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy