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

org.leibnizcenter.rechtspraak.tokens.numbering.interfaces.FullNumber Maven / Gradle / Ivy

There is a newer version: 2.0.4
Show newest version
package org.leibnizcenter.rechtspraak.tokens.numbering.interfaces;

/**
 * Created by maarten on 27-3-16.
 */
public interface FullNumber extends SingleTokenNumbering {
    static boolean isFirstNumberInSequence(FullNumber checkFor) {
        return NumberingNumber.isFirstNumberInSequence(checkFor.mainNum());
    }
    default boolean couldBeFirstInSequence() {
        return isFirstNumbering();
    }

    /**
     * @return The most important numbering as integer. For example, in '2.3.1' it's '2', in 'IX' it's '9'.
     */
    int mainNum();

    String canonicalRepresentation();

    FullNumber succ();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy