Class CrossSection.Long

java.lang.Object
microsim.statistics.CrossSection
microsim.statistics.CrossSection.Long
All Implemented Interfaces:
EventListener, ILongArraySource, ISourceObjectArray, IUpdatableSource
Enclosing class:
CrossSection

public static class CrossSection.Long extends CrossSection implements ILongArraySource
  • Field Details

    • valueList

      protected long[] valueList
    • invoker

      protected LongInvoker invoker
    • target

      protected Collection<?> target
    • valueID

      protected Enum<?> valueID
  • Constructor Details

    • Long

      public Long(Collection<?> source, Enum<?> valueID)
      Create a statistic probe on a collection of ILongSource objects.
      Parameters:
      source - The collection containing ILongSource object.
      valueID - The value identifier defined by source object.
    • Long

      public Long(Collection<?> source)
      Create a statistic probe on a collection of ILongSource objects. It uses the ILongSource.DEFAULT variable id.
      Parameters:
      source - The collection containing ILongSource object.
    • Long

      public Long(Collection<?> source, Class<?> objectClass, String valueName, boolean getFromMethod)
      Create a basic statistic probe on a collection of objects.
      Parameters:
      source - A collection of generic objects.
      objectClass - The class of the objects contained by collection source.
      valueName - The name of the field or the method returning the variable to be probed.
      getFromMethod - Specifies if valueName is a method or a property value.
  • Method Details