Package java.util

Examples of java.util.OptionalLong


        assert optional.getAsLong() == 10L;
    }

    @Test
    public void equals() throws Exception {
        OptionalLong optional1 = OptionalLong.of(21);
        OptionalLong optional2 = OptionalLong.of(21);

        assert optional1.equals(optional2);
    }
View Full Code Here

TOP

Related Classes of java.util.OptionalLong

Copyright © 2018 www.massapicom. 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.