org.reflext.core
Class ArrayTypeInfoImpl<T,M>

java.lang.Object
  extended by org.reflext.core.ArrayTypeInfoImpl<T,M>
All Implemented Interfaces:
ArrayTypeInfo, TypeInfo

public class ArrayTypeInfoImpl<T,M>
extends Object
implements ArrayTypeInfo

Version:
$Revision$
Author:
Julien Viet

Field Summary
protected  TypeDomain<T,M> domain
          .
 
Constructor Summary
ArrayTypeInfoImpl(TypeDomain<T,M> domain, T type)
           
 
Method Summary
 void accept(Visitor visitor)
           
 boolean equals(Object obj)
           
 TypeInfo getComponentType()
           
 Object getType()
           
 int hashCode()
           
 boolean isCovariantWith(TypeInfo ti)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.reflext.api.TypeInfo
accept, isCovariantWith
 

Field Detail

domain

protected final TypeDomain<T,M> domain
.

Constructor Detail

ArrayTypeInfoImpl

public ArrayTypeInfoImpl(TypeDomain<T,M> domain,
                         T type)
Method Detail

getType

public Object getType()
Specified by:
getType in interface TypeInfo

getComponentType

public TypeInfo getComponentType()
Specified by:
getComponentType in interface ArrayTypeInfo

hashCode

public int hashCode()

equals

public boolean equals(Object obj)

accept

public void accept(Visitor visitor)
Specified by:
accept in interface TypeInfo

isCovariantWith

public boolean isCovariantWith(TypeInfo ti)
Specified by:
isCovariantWith in interface TypeInfo


Copyright © 2009 eXo Platform SAS. All Rights Reserved.