1 16 package org.apache.commons.collections.functors; 17 18 import java.io.Serializable ; 19 20 import org.apache.commons.collections.Closure; 21 22 30 public class NOPClosure implements Closure, Serializable { 31 32 33 static final long serialVersionUID = 3518477308466486130L; 34 35 36 public static final Closure INSTANCE = new NOPClosure(); 37 38 44 public static Closure getInstance() { 45 return INSTANCE; 46 } 47 48 51 private NOPClosure() { 52 super(); 53 } 54 55 60 public void execute(Object input) { 61 } 63 64 } 65 | Popular Tags |