Enum Class ComposedTypeEnum

java.lang.Object
java.lang.Enum<ComposedTypeEnum>
nl.tudelft.simulation.introspection.ComposedTypeEnum
All Implemented Interfaces:
Serializable, Comparable<ComposedTypeEnum>, java.lang.constant.Constable

public enum ComposedTypeEnum extends Enum<ComposedTypeEnum>
ComposedTypeEnum contains the type of a composed Property.

Copyright (c) 2002-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://simulation.tudelft.nl. The DSOL project is distributed under a three-clause BSD-style license, which can be found at https://https://simulation.tudelft.nl/dsol/docs/latest/license.html.

Author:
Alexander Verbraeck
  • Enum Constant Details

  • Method Details

    • values

      public static ComposedTypeEnum[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ComposedTypeEnum valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isComposed

      public boolean isComposed()
      Returns:
      whether the enum is a collection or not
    • isArray

      public boolean isArray()
      Returns:
      whether the enum is a Java array
    • isCollection

      public boolean isCollection()
      Returns:
      whether the enum is a Java Collection
    • isMap

      public boolean isMap()
      Returns:
      whether the enum is a Java Map
    • isImmutableCollection

      public boolean isImmutableCollection()
      Returns:
      whether the enum is an ImmutableCollection
    • isImmutableMap

      public boolean isImmutableMap()
      Returns:
      whether the enum is an ImmutableMap