public class

PrimitiveCharacterArrayTypeDescriptor

extends AbstractTypeDescriptor<T>
java.lang.Object
   ↳ org.hibernate.type.descriptor.java.AbstractTypeDescriptor<T>
     ↳ org.hibernate.type.descriptor.java.PrimitiveCharacterArrayTypeDescriptor

Class Overview

TODO : javadoc

Summary

Fields
public static final PrimitiveCharacterArrayTypeDescriptor INSTANCE
Protected Constructors
PrimitiveCharacterArrayTypeDescriptor()
Public Methods
boolean areEqual(char[] one, char[] another)
Determine if two instances are equal
int extractHashCode(char[] chars)
Extract a proper hash code for this value.
char[] fromString(String string)
String toString(char[] value)
<X> X unwrap(char[] value, Class<X> type, WrapperOptions options)
<X> char[] wrap(X value, WrapperOptions options)
[Expand]
Inherited Methods
From class org.hibernate.type.descriptor.java.AbstractTypeDescriptor
From class java.lang.Object
From interface org.hibernate.type.descriptor.java.JavaTypeDescriptor

Fields

public static final PrimitiveCharacterArrayTypeDescriptor INSTANCE

Protected Constructors

protected PrimitiveCharacterArrayTypeDescriptor ()

Public Methods

public boolean areEqual (char[] one, char[] another)

Determine if two instances are equal

Parameters
one One instance
another The other instance
Returns
  • True if the two are considered equal; false otherwise.

public int extractHashCode (char[] chars)

Extract a proper hash code for this value.

Parameters
chars The value for which to extract a hash code.
Returns
  • The extracted hash code.

public char[] fromString (String string)

public String toString (char[] value)

public X unwrap (char[] value, Class<X> type, WrapperOptions options)

public char[] wrap (X value, WrapperOptions options)