Class Particle.ParticleData

  • Enclosing class:
    Particle

    public static class Particle.ParticleData
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ParticleData​(Type type, java.lang.Object value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T get()  
      Type getType()  
      java.lang.Object getValue()  
      void setType​(Type type)  
      void setValue​(java.lang.Object value)  
      • Methods inherited from class java.lang.Object

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

      • ParticleData

        public ParticleData​(Type type,
                            java.lang.Object value)
    • Method Detail

      • getType

        public Type getType()
      • setType

        public void setType​(Type type)
      • getValue

        public java.lang.Object getValue()
      • get

        public <T> T get()
      • setValue

        public void setValue​(java.lang.Object value)