org.apache.poi.hssf.util.HSSFColor.createColorsByIndexMap()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(3.4k)|赞(0)|评价(0)|浏览(154)

本文整理了Java中org.apache.poi.hssf.util.HSSFColor.createColorsByIndexMap()方法的一些代码示例,展示了HSSFColor.createColorsByIndexMap()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。HSSFColor.createColorsByIndexMap()方法的具体详情如下:
包路径:org.apache.poi.hssf.util.HSSFColor
类名称:HSSFColor
方法名:createColorsByIndexMap

HSSFColor.createColorsByIndexMap介绍

暂无

代码示例

代码示例来源:origin: org.apache.poi/poi

  1. /**
  2. * This function returns all the Colours, stored in a Map that
  3. * can be edited. No caching is performed. If you don't need to edit
  4. * the table, then call {@link #getIndexHash()} which returns a
  5. * statically cached immutable map of colours.
  6. */
  7. public static Map<Integer,HSSFColor> getMutableIndexHash() {
  8. return createColorsByIndexMap();
  9. }

代码示例来源:origin: org.apache.poi/poi

  1. /**
  2. * This function returns all the colours in an unmodifiable Map.
  3. * The map is cached on first use.
  4. *
  5. * @return a Map containing all colours keyed by <tt>Integer</tt> excel-style palette indexes
  6. */
  7. public static synchronized Map<Integer,HSSFColor> getIndexHash() {
  8. if(indexHash == null) {
  9. indexHash = Collections.unmodifiableMap( createColorsByIndexMap() );
  10. }
  11. return indexHash;
  12. }
  13. /**

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi

  1. /**
  2. * This function returns all the Colours, stored in a Map that
  3. * can be edited. No caching is performed. If you don't need to edit
  4. * the table, then call {@link #getIndexHash()} which returns a
  5. * statically cached immutable map of colours.
  6. */
  7. public static Map<Integer,HSSFColor> getMutableIndexHash() {
  8. return createColorsByIndexMap();
  9. }

代码示例来源:origin: org.openl.rules/org.openl.lib.poi.dev

  1. /**
  2. * This function returns all the Colours, stored in a Hashtable that
  3. * can be edited. No caching is performed. If you don't need to edit
  4. * the table, then call {@link #getIndexHash()} which returns a
  5. * statically cached imuatable map of colours.
  6. */
  7. public final static Hashtable<Integer,HSSFColor> getMutableIndexHash() {
  8. return createColorsByIndexMap();
  9. }

代码示例来源:origin: com.haulmont.thirdparty/poi

  1. /**
  2. * This function returns all the Colours, stored in a Hashtable that
  3. * can be edited. No caching is performed. If you don't need to edit
  4. * the table, then call {@link #getIndexHash()} which returns a
  5. * statically cached imuatable map of colours.
  6. */
  7. public final static Hashtable<Integer,HSSFColor> getMutableIndexHash() {
  8. return createColorsByIndexMap();
  9. }

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi

  1. /**
  2. * This function returns all the colours in an unmodifiable Map.
  3. * The map is cached on first use.
  4. *
  5. * @return a Map containing all colours keyed by <tt>Integer</tt> excel-style palette indexes
  6. */
  7. public static synchronized Map<Integer,HSSFColor> getIndexHash() {
  8. if(indexHash == null) {
  9. indexHash = Collections.unmodifiableMap( createColorsByIndexMap() );
  10. }
  11. return indexHash;
  12. }
  13. /**

代码示例来源:origin: com.haulmont.thirdparty/poi

  1. /**
  2. * This function returns all the colours in an unmodifiable Map.
  3. * The map is cached on first use.
  4. *
  5. * @return a Map containing all colours keyed by <tt>Integer</tt> excel-style palette indexes
  6. */
  7. public final static Map<Integer,HSSFColor> getIndexHash() {
  8. if(indexHash == null) {
  9. indexHash = Collections.unmodifiableMap( createColorsByIndexMap() );
  10. }
  11. return indexHash;
  12. }
  13. /**

代码示例来源:origin: org.openl.rules/org.openl.lib.poi.dev

  1. /**
  2. * This function returns all the colours in an unmodifiable Map.
  3. * The map is cached on first use.
  4. *
  5. * @return a Map containing all colours keyed by <tt>Integer</tt> excel-style palette indexes
  6. */
  7. public final static Map<Integer,HSSFColor> getIndexHash() {
  8. if(indexHash == null) {
  9. indexHash = Collections.unmodifiableMap( createColorsByIndexMap() );
  10. }
  11. return indexHash;
  12. }
  13. /**

相关文章