Top Inners Constructors Methods
com.jogamp.gluegen.cgram.types

public Class TypeComparator

extends Object
Class Inheritance
Imports
java.util.List

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
public static interface
TypeComparator.SemanticEqualityOp

Supports semantic equality and hash functions for types.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv static <C> boolean
listsEqual(final List<C> a, final List<C> b)

Helper routine for list equality comparison

pack-priv static <C extends TypeComparator.SemanticEqualityOp> boolean
listsEqualSemantics(final List<C> a, final List<C> b)

Helper routine for list semantic equality comparison

pack-priv static <C extends TypeComparator.SemanticEqualityOp> int
listsHashCode(final List<C> a)

Helper routine for list hashCode

pack-priv static <C extends TypeComparator.SemanticEqualityOp> int
listsHashCodeSemantics(final List<C> a)

Helper routine for list hashCode

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

TypeComparatorback to summary
public TypeComparator()

Method Detail

listsEqualback to summary
pack-priv static <C> boolean listsEqual(final List<C> a, final List<C> b)

Helper routine for list equality comparison

listsEqualSemanticsback to summary
pack-priv static <C extends TypeComparator.SemanticEqualityOp> boolean listsEqualSemantics(final List<C> a, final List<C> b)

Helper routine for list semantic equality comparison

listsHashCodeback to summary
pack-priv static <C extends TypeComparator.SemanticEqualityOp> int listsHashCode(final List<C> a)

Helper routine for list hashCode

listsHashCodeSemanticsback to summary
pack-priv static <C extends TypeComparator.SemanticEqualityOp> int listsHashCodeSemantics(final List<C> a)

Helper routine for list hashCode

com.jogamp.gluegen.cgram.types back to summary

public Interface TypeComparator.AliasedSemanticSymbol

extends AliasedSymbol, SemanticEqualityOp
Known Direct Implementers
com.jogamp.gluegen.ConstantDefinition, com.jogamp.gluegen.cgram.types.FunctionSymbol

Supports common interface for SemanticEqualityOp and AliasedSymbol.

Method Summary

Inherited from com.jogamp.gluegen.cgram.types.AliasedSymbol:
addAliasedNamegetAliasedNamesgetAliasedStringgetNamegetOrigNamehasAliasesrename
Inherited from com.jogamp.gluegen.cgram.types.TypeComparator.SemanticEqualityOp:
equalSemanticshashCodeSemantics
com.jogamp.gluegen.cgram.types back to summary

public Interface TypeComparator.SemanticEqualityOp

Known Direct Subinterfaces
com.jogamp.gluegen.cgram.types.TypeComparator.AliasedSemanticSymbol
Known Direct Implementers
com.jogamp.gluegen.cgram.types.EnumType.Enumerator, com.jogamp.gluegen.cgram.types.Field, com.jogamp.gluegen.cgram.types.SizeThunk, com.jogamp.gluegen.cgram.types.Type

Supports semantic equality and hash functions for types.

Method Summary

Modifier and TypeMethod and Description
public boolean
equalSemantics(final TypeComparator.SemanticEqualityOp arg)

Semantic equality test for Types exclusive its given name.

public int
hashCodeSemantics()

Semantic hashcode for Types exclusive its given name.

Method Detail

equalSemanticsback to summary
public boolean equalSemantics(final TypeComparator.SemanticEqualityOp arg)

Semantic equality test for Types exclusive its given name.

See Also
hashCodeSemantics()
hashCodeSemanticsback to summary
public int hashCodeSemantics()

Semantic hashcode for Types exclusive its given name.

See Also
equalSemantics(SemanticEqualityOp)