TFilter.java :  » REST » alc-rest » jaxlib » closure » Java Open Source

Java Open Source » REST » alc rest 
alc rest » jaxlib » closure » TFilter.java
/*
 * TFilter.java
 *
 * Created on 21. Oktober 2002, 02:53
 *
 * Copyright (c) Jrg Wamer
 * This library is free software. You can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License version 2 or above
 * as published by the Free Software Foundation.
 * For more information please visit <http://jaxlib.sourceforge.net>.
 */

package jaxlib.closure;

import jaxlib.closure.tdouble.DoubleFilter;
import jaxlib.closure.tfloat.FloatFilter;

/**
 * A filter which supports all primitive types as input.
 *
 * @author  <a href="mailto:joerg.wassmer@web.de">Jrg Wamer</a>
 * @since   JaXLib 1.0
 * @version $Id: TFilter.java,v 1.1.1.1 2004/08/02 20:55:57 joerg_wassmer Exp $
 */
public interface TFilter extends IntegerFilter, DoubleFilter, FloatFilter
{
  

  
  public boolean accept(double e);
  
  /**
   * Returns the same result as <tt>accept((double) e)</tt>.
   */
  public boolean accept(float e);
  
  /**
   * Returns the same result as <tt>accept((double) e)</tt>.
   */
  public boolean accept(int e);
  
  /**
   * Returns the same result as <tt>accept((double) e)</tt>.
   */
  public boolean accept(long e);
  
  
  
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.