1 16 package org.apache.commons.attributes; 17 18 import java.util.Collections ; 19 import java.util.Set ; 20 import java.util.Map ; 21 22 25 class EmptyAttributeRepositoryClass implements AttributeRepositoryClass { 26 27 public static final AttributeRepositoryClass INSTANCE = new EmptyAttributeRepositoryClass(); 28 29 public Set getClassAttributes () { 30 return Collections.EMPTY_SET; 31 } 32 33 public Map getFieldAttributes () { 34 return Collections.EMPTY_MAP; 35 } 36 37 public Map getMethodAttributes () { 38 return Collections.EMPTY_MAP; 39 } 40 41 public Map getConstructorAttributes () { 42 return Collections.EMPTY_MAP; 43 } 44 } | Popular Tags |