Package uk.ac.manchester.cs.owl.owlapi

Examples of uk.ac.manchester.cs.owl.owlapi.OWLLiteralImplFloat


                OWL2Datatype.XSD_FLOAT.getIRI());
        OWLLiteral litNoComp = new OWLLiteralImplNoCompression("3.0", null,
                datatype);
        OWLLiteral litNoComp2 = new OWLLiteralImplNoCompression("3.0", null,
                datatype);
        OWLLiteral litIntImpl = new OWLLiteralImplFloat(3.0F, datatype);
        assertEquals(litNoComp.getLiteral(), litIntImpl.getLiteral());
        Set<OWLLiteral> lncset = new HashSet<>();
        lncset.add(litNoComp);
        assertTrue(lncset.contains(litNoComp2));
        assertTrue(lncset.contains(litIntImpl));
    }
View Full Code Here

TOP

Related Classes of uk.ac.manchester.cs.owl.owlapi.OWLLiteralImplFloat

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.