You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

GenericService.java 657B

1234567891011121314151617
  1. /*******************************************************************************
  2. * Copyright (c) 2009 Contributors
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available under the terms of the Eclipse Public License v1.0
  5. * which accompanies this distribution, and is available at
  6. * http://www.eclipse.org/legal/epl-v10.html
  7. *
  8. * Contributors:
  9. * Andy Clement - initial API and implementation
  10. *******************************************************************************/
  11. import java.io.Serializable;
  12. public interface GenericService<T extends Serializable> {
  13. Object get1(T t);
  14. Object get2(Serializable s);
  15. }