Package bibliothek.util

Examples of bibliothek.util.Version.compareTo()


    public void read( DockSituation situation, PropertyTransformer transformer, boolean entry, DataInputStream in ) throws IOException {
       
        Version version = Version.read( in );
        version.checkCurrent();
       
        boolean version7 = version.compareTo( Version.VERSION_1_0_7 ) >= 0;
        boolean version11 = version.compareTo( Version.VERSION_1_1_1 ) >= 0;
       
        super.read( situation, transformer, entry, in );
       
        // old settings will be converted automatically
View Full Code Here


       
        Version version = Version.read( in );
        version.checkCurrent();
       
        boolean version7 = version.compareTo( Version.VERSION_1_0_7 ) >= 0;
        boolean version11 = version.compareTo( Version.VERSION_1_1_1 ) >= 0;
       
        super.read( situation, transformer, entry, in );
       
        // old settings will be converted automatically
        modes.read( in );
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.