Class AnnotationElementDiscrete

  • All Implemented Interfaces:
    AnnotationElement<java.lang.Long>

    public class AnnotationElementDiscrete
    extends java.lang.Object
    implements AnnotationElement<java.lang.Long>
    Discrete values can be repeated, so we also store the cardinality. In the worst case, we use double the space of a list of longs
    Author:
    abolt
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addValue​(java.lang.Long newElement)  
      java.util.List<java.lang.Long> getDistinctValues()  
      java.lang.String getName()  
      java.util.List<java.lang.Long> getValues()  
      • Methods inherited from class java.lang.Object

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

      • AnnotationElementDiscrete

        public AnnotationElementDiscrete​(java.lang.String name)