/** * This function returns all the Colours, stored in a Map that * can be edited. No caching is performed. If you don't need to edit * the table, then call {@link #getIndexHash()} which returns a * statically cached immutable map of colours. */ public static Map<Integer,HSSFColor> getMutableIndexHash() { return createColorsByIndexMap(); }
/** * This function returns all the colours in an unmodifiable Map. * The map is cached on first use. * * @return a Map containing all colours keyed by <tt>Integer</tt> excel-style palette indexes */ public static synchronized Map<Integer,HSSFColor> getIndexHash() { if(indexHash == null) { indexHash = Collections.unmodifiableMap( createColorsByIndexMap() ); } return indexHash; } /**
/** * This function returns all the Colours, stored in a Map that * can be edited. No caching is performed. If you don't need to edit * the table, then call {@link #getIndexHash()} which returns a * statically cached immutable map of colours. */ public static Map<Integer,HSSFColor> getMutableIndexHash() { return createColorsByIndexMap(); }
/** * This function returns all the Colours, stored in a Hashtable that * can be edited. No caching is performed. If you don't need to edit * the table, then call {@link #getIndexHash()} which returns a * statically cached imuatable map of colours. */ public final static Hashtable<Integer,HSSFColor> getMutableIndexHash() { return createColorsByIndexMap(); }
/** * This function returns all the Colours, stored in a Hashtable that * can be edited. No caching is performed. If you don't need to edit * the table, then call {@link #getIndexHash()} which returns a * statically cached imuatable map of colours. */ public final static Hashtable<Integer,HSSFColor> getMutableIndexHash() { return createColorsByIndexMap(); }
/** * This function returns all the colours in an unmodifiable Map. * The map is cached on first use. * * @return a Map containing all colours keyed by <tt>Integer</tt> excel-style palette indexes */ public static synchronized Map<Integer,HSSFColor> getIndexHash() { if(indexHash == null) { indexHash = Collections.unmodifiableMap( createColorsByIndexMap() ); } return indexHash; } /**
/** * This function returns all the colours in an unmodifiable Map. * The map is cached on first use. * * @return a Map containing all colours keyed by <tt>Integer</tt> excel-style palette indexes */ public final static Map<Integer,HSSFColor> getIndexHash() { if(indexHash == null) { indexHash = Collections.unmodifiableMap( createColorsByIndexMap() ); } return indexHash; } /**
/** * This function returns all the colours in an unmodifiable Map. * The map is cached on first use. * * @return a Map containing all colours keyed by <tt>Integer</tt> excel-style palette indexes */ public final static Map<Integer,HSSFColor> getIndexHash() { if(indexHash == null) { indexHash = Collections.unmodifiableMap( createColorsByIndexMap() ); } return indexHash; } /**