# Package org.eclipse.rdf4j.model.util

Helper classes for working with RDF models.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  GetStatementOptional | Either supplies a statement matching the given pattern, or `Optional.empty()` otherwise.

- Class Summary
  Class | Description
  --- | ---
  LexicalValueComparator | A lexical RDF Term Comparator, this class does not compare numerically and is therefore a bit faster than a SPARQL compliant comparator.
  Literals | Various utility methods related to `Literal`.
  ModelBuilder | Builder to facilitate easier creation of new RDF `Model` objects via a fluent interface.
  ModelCollector | Collects a stream of Statements into a Model.
  Models | Utility functions for working with `Model`s and other `Statement` collections.
  Namespaces | A utility class to perform operations on `Namespace`s.
  PatternIterator<S extends Statement> | Excludes an Iterator based on a given basic graph pattern.
  RDFCollections | Utilities for working with RDF Collections and converting to/from Java `Collection` classes.
  RDFContainers | Utilities for working with RDF Containers and converting to/from Java `Collection` classes.
  Statements | Utility methods for working with `Statement` objects, including conversion to/from `RDF-star triple objects`.
  URIUtil | Utility functions for working with `URIs`.
  Values | Factory methods to quickly create `Value` objects ( `IRI`, `Literal`, `BNode`, and `Triple`) without having to create a `ValueFactory` first.
  Vocabularies | Utility functions for working with vocabularies.

- Exception Summary
  Exception | Description
  --- | ---
  LiteralUtilException | An exception thrown by `Literals` when specific conditions are not met.
  ModelException | An exception thrown by `Model` and `Models` when specific conditions are not met.

## Package org.eclipse.rdf4j.model.util Description

Helper classes for working with RDF models.

Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.