Package org.eclipse.rdf4j.model.util

## Class LexicalValueComparator

- java.lang.Object
- - org.eclipse.rdf4j.model.util.LexicalValueComparator

- All Implemented Interfaces:
    `Serializable`, `Comparator<Value>`

      public class LexicalValueComparator
      extends Object
      implements Serializable, Comparator<Value>

  A lexical RDF Term Comparator, this class does not compare numerically and is therefore a bit faster than a SPARQL compliant comparator.
  Author:
    james, Arjohn Kampman
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `LexicalValueComparator()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `compare​(Value o1, Value o2)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.util.Comparator

      `equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- - ### Constructor Detail

    - #### LexicalValueComparator

          public LexicalValueComparator()

  - ### Method Detail

    - #### compare

          public int compare​(Value o1,
                             Value o2)

      Specified by:
        `compare` in interface `Comparator<Value>`