All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.javagimmicks.collections.event.SortedSetEvent Maven / Gradle / Ivy

package net.sf.javagimmicks.collections.event;


public class SortedSetEvent
{
   public static enum Type {ADDED, READDED, REMOVED};
   
   protected final ObservableEventSortedSet _source;
   
   protected final Type _type;
   protected final E _element;
   
   public SortedSetEvent(ObservableEventSortedSet source, Type type, E element)
   {
      _source = source;
      
      _type = type;
      _element = element;
   }

   public Type getType()
   {
      return _type;
   }
   
   public E getElement()
   {
      return _element;
   }

   public ObservableEventSortedSet getSource()
   {
      return _source;
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy