Package net.bytebuddy

Class TypeCache.SimpleKey

  • Enclosing class:
    TypeCache<T>

    public static class TypeCache.SimpleKey
    extends java.lang.Object
    A simple key based on a collection of types where no type is strongly referenced.
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleKey​(java.lang.Class<?> type, java.lang.Class<?>... additionalType)
      Creates a simple cache key..
      SimpleKey​(java.lang.Class<?> type, java.util.Collection<? extends java.lang.Class<?>> additionalTypes)
      Creates a simple cache key..
      SimpleKey​(java.util.Collection<? extends java.lang.Class<?>> types)
      Creates a simple cache key..
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleKey

        public SimpleKey​(java.lang.Class<?> type,
                         java.lang.Class<?>... additionalType)
        Creates a simple cache key..
        Parameters:
        type - The first type to be represented by this key.
        additionalType - Any additional types to be represented by this key.
      • SimpleKey

        public SimpleKey​(java.lang.Class<?> type,
                         java.util.Collection<? extends java.lang.Class<?>> additionalTypes)
        Creates a simple cache key..
        Parameters:
        type - The first type to be represented by this key.
        additionalTypes - Any additional types to be represented by this key.
      • SimpleKey

        public SimpleKey​(java.util.Collection<? extends java.lang.Class<?>> types)
        Creates a simple cache key..
        Parameters:
        types - Any types to be represented by this key.