Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 16th, 2011  |  syntax: Java  |  size: 0.40 KB  |  views: 59  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. package org.hypergraphdb.util;
  2.  
  3. /**
  4.  * <p>
  5.  * Expose the <code>clone</code> method publicly so that it can be invoked
  6.  * at an interface/abstract class level.
  7.  * </p>
  8.  *
  9.  * @author Borislav Iordanov
  10.  *
  11.  */
  12. public interface CloneMe extends Cloneable
  13. {
  14.         <T> T clone();    
  15. //Name clash: The method clone() of type CloneMe has the same erasure as clone() of type Object //but does not override it
  16. }
clone this paste RAW Paste Data