Examples of OptionalLong


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
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.