亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? section.java

?? java 報表 to office文檔: 本包由java語言開發(fā)
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
                return 0;            else                return 1;        }    }    /**     * <p>Returns the value of the property with the specified ID. If     * the property is not available, <code>null</code> is returned     * and a subsequent call to {@link #wasNull} will return     * <code>true</code>.</p>     *     * @param id The property's ID     *     * @return The property's value     */    public Object getProperty(final long id)    {        wasNull = false;        for (int i = 0; i < properties.length; i++)            if (id == properties[i].getID())                return properties[i].getValue();        wasNull = true;        return null;    }    /**     * <p>Returns the value of the numeric property with the specified     * ID. If the property is not available, 0 is returned. A     * subsequent call to {@link #wasNull} will return     * <code>true</code> to let the caller distinguish that case from     * a real property value of 0.</p>     *     * @param id The property's ID     *     * @return The property's value     */    protected int getPropertyIntValue(final long id)    {        final Long i;        final Object o = getProperty(id);        if (o == null)            return 0;        if (!(o instanceof Long))            throw new HPSFRuntimeException                ("This property is not an integer type, but " +                 o.getClass().getName() + ".");        i = (Long) o;        return i.intValue();    }    /**     * <p>Returns the value of the boolean property with the specified     * ID. If the property is not available, <code>false</code> is     * returned. A subsequent call to {@link #wasNull} will return     * <code>true</code> to let the caller distinguish that case from     * a real property value of <code>false</code>.</p>     *     * @param id The property's ID     *     * @return The property's value     */    protected boolean getPropertyBooleanValue(final int id)    {        final Boolean b = (Boolean) getProperty(id);        if (b != null)            return b.booleanValue();        else            return false;        }    /**     * <p>This member is <code>true</code> if the last call to {@link     * #getPropertyIntValue} or {@link #getProperty} tried to access a     * property that was not available, else <code>false</code>.</p>     */    private boolean wasNull;    /**     * <p>Checks whether the property which the last call to {@link     * #getPropertyIntValue} or {@link #getProperty} tried to access     * was available or not. This information might be important for     * callers of {@link #getPropertyIntValue} since the latter     * returns 0 if the property does not exist. Using {@link     * #wasNull} the caller can distiguish this case from a property's     * real value of 0.</p>     *     * @return <code>true</code> if the last call to {@link     * #getPropertyIntValue} or {@link #getProperty} tried to access a     * property that was not available, else <code>false</code>.     */    public boolean wasNull()    {        return wasNull;    }    /**     * <p>Returns the PID string associated with a property ID. The ID     * is first looked up in the {@link Section}'s private     * dictionary. If it is not found there, the method calls {@link     * SectionIDMap#getPIDString}.</p>     *     * @param pid The property ID     *     * @return The property ID's string value     */    public String getPIDString(final long pid)    {        String s = null;        if (dictionary != null)            s = (String) dictionary.get(new Long(pid));        if (s == null)            s = SectionIDMap.getPIDString(getFormatID().getBytes(), pid);        if (s == null)            s = SectionIDMap.UNDEFINED;        return s;    }    /**     * <p>Checks whether this section is equal to another object. The result is     * <code>false</code> if one of the the following conditions holds:</p>     *      * <ul>     *      * <li><p>The other object is not a {@link Section}.</p></li>     *      * <li><p>The format IDs of the two sections are not equal.</p></li>     *        * <li><p>The sections have a different number of properties. However,     * properties with ID 1 (codepage) are not counted.</p></li>     *      * <li><p>The other object is not a {@link Section}.</p></li>     *      * <li><p>The properties have different values. The order of the properties     * is irrelevant.</p></li>     *      * </ul>     *      * @param o The object to compare this section with     * @return <code>true</code> if the objects are equal, <code>false</code> if     * not     */    public boolean equals(final Object o)    {        if (o == null || !(o instanceof Section))            return false;        final Section s = (Section) o;        if (!s.getFormatID().equals(getFormatID()))            return false;        /* Compare all properties except 0 and 1 as they must be handled          * specially. */        Property[] pa1 = new Property[getProperties().length];        Property[] pa2 = new Property[s.getProperties().length];        System.arraycopy(getProperties(), 0, pa1, 0, pa1.length);        System.arraycopy(s.getProperties(), 0, pa2, 0, pa2.length);        /* Extract properties 0 and 1 and remove them from the copy of the         * arrays. */        Property p10 = null;        Property p20 = null;        for (int i = 0; i < pa1.length; i++)        {            final long id = pa1[i].getID();            if (id == 0)            {                p10 = pa1[i];                pa1 = remove(pa1, i);                i--;            }            if (id == 1)            {                // p11 = pa1[i];                pa1 = remove(pa1, i);                i--;            }        }        for (int i = 0; i < pa2.length; i++)        {            final long id = pa2[i].getID();            if (id == 0)            {                p20 = pa2[i];                pa2 = remove(pa2, i);                i--;            }            if (id == 1)            {                // p21 = pa2[i];                pa2 = remove(pa2, i);                i--;            }        }        /* If the number of properties (not counting property 1) is unequal the         * sections are unequal. */        if (pa1.length != pa2.length)            return false;        /* If the dictionaries are unequal the sections are unequal. */        boolean dictionaryEqual = true;        if (p10 != null && p20 != null)            dictionaryEqual = p10.getValue().equals(p20.getValue());        else if (p10 != null || p20 != null)            dictionaryEqual = false;        if (!dictionaryEqual)            return false;        else            return Util.equals(pa1, pa2);    }    /**     * <p>Removes a field from a property array. The resulting array is     * compactified and returned.</p>     */    private Property[] remove(final Property[] pa, final int i)    {        final Property[] h = new Property[pa.length - 1];        if (i > 0)            System.arraycopy(pa, 0, h, 0, i);        System.arraycopy(pa, i + 1, h, i, h.length - i);        return h;    }    /**     * @see Object#hashCode()     */    public int hashCode()    {        long hashCode = 0;        hashCode += getFormatID().hashCode();        final Property[] pa = getProperties();        for (int i = 0; i < pa.length; i++)            hashCode += pa[i].hashCode();        final int returnHashCode = (int) (hashCode & 0x0ffffffffL);        return returnHashCode;    }    /**     * @see Object#toString()     */    public String toString()    {        final StringBuffer b = new StringBuffer();        final Property[] pa = getProperties();        b.append(getClass().getName());        b.append('[');        b.append("formatID: ");        b.append(getFormatID());        b.append(", offset: ");        b.append(getOffset());        b.append(", propertyCount: ");        b.append(getPropertyCount());        b.append(", size: ");        b.append(getSize());        b.append(", properties: [\n");        for (int i = 0; i < pa.length; i++)        {            b.append(pa[i].toString());            b.append(",\n");        }        b.append(']');        b.append(']');        return b.toString();    }    /**     * <p>Gets the section's dictionary. A dictionary allows an application to     * use human-readable property names instead of numeric property IDs. It     * contains mappings from property IDs to their associated string     * values. The dictionary is stored as the property with ID 0. The codepage     * for the strings in the dictionary is defined by property with ID 1.</p>     *     * @return the dictionary or <code>null</code> if the section does not have     * a dictionary.     */    public Map getDictionary()    {        return dictionary;    }    /**     * <p>Gets the section's codepage, if any.</p>     *     * @return The section's codepage if one is defined, else -1.     */    public int getCodepage()    {        final Integer codepage =            (Integer) getProperty(PropertyIDMap.PID_CODEPAGE);        return codepage != null ? codepage.intValue() : -1;    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区加勒比av| 高清在线观看日韩| 国产成人精品网址| 91国产免费观看| 2021国产精品久久精品| 亚洲小说春色综合另类电影| 国产综合色在线视频区| 欧美中文字幕久久| 精品伦理精品一区| 久久综合九色综合97婷婷女人 | 中文字幕一区视频| 国产精品久久久久久久浪潮网站| 性久久久久久久久久久久| 成人性生交大合| 日韩一区国产二区欧美三区| 日韩毛片高清在线播放| 国产激情视频一区二区三区欧美 | 国产精品一区二区男女羞羞无遮挡| 91影视在线播放| 国产欧美一区二区三区在线看蜜臀| 丝袜a∨在线一区二区三区不卡| 色偷偷久久人人79超碰人人澡| 久久精品亚洲乱码伦伦中文| 蜜桃视频在线观看一区二区| 欧美三级视频在线播放| 亚洲欧美成aⅴ人在线观看| 国产成人免费网站| 久久久久久久网| 国产乱子轮精品视频| 91精品国产综合久久福利| 亚洲一区二区三区视频在线播放| 97精品视频在线观看自产线路二| 1024亚洲合集| 成人性生交大片免费看中文网站 | 制服丝袜亚洲网站| 亚洲国产精品一区二区www在线 | 欧美一级国产精品| 亚洲成人av一区二区| 欧美三级电影精品| 性感美女极品91精品| 久久一留热品黄| 激情文学综合丁香| 国产女人18毛片水真多成人如厕| 国产麻豆精品95视频| 国产精品久久久久久久久免费丝袜 | 中文字幕av在线一区二区三区| 激情图片小说一区| 久久精品水蜜桃av综合天堂| 国产精品一区二区三区四区| 国产精品剧情在线亚洲| 99精品视频在线播放观看| 一区二区不卡在线视频 午夜欧美不卡在| 91欧美激情一区二区三区成人| 自拍视频在线观看一区二区| 欧美三级一区二区| 国产综合久久久久久久久久久久| 久久久国产午夜精品| 99久久99久久综合| 午夜视频在线观看一区二区三区| 91麻豆精品国产91久久久更新时间| 极品美女销魂一区二区三区| 日本一区二区三区电影| 在线中文字幕不卡| 久久国产麻豆精品| 日韩理论片一区二区| 欧美日韩大陆在线| 国产精品2024| 亚洲影院免费观看| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 久久精品国产网站| 中文字幕一区三区| 日韩免费电影网站| 91网站视频在线观看| 亚洲成人7777| 国产精品天美传媒沈樵| 欧美日韩一区不卡| 福利一区福利二区| 日日摸夜夜添夜夜添亚洲女人| 久久久久久**毛片大全| 欧美午夜免费电影| 成人国产免费视频| 日韩**一区毛片| 亚洲女人****多毛耸耸8| 欧美不卡在线视频| 欧美午夜理伦三级在线观看| 国产一区二区三区四区五区美女 | 国产一区二区在线看| 一区二区三区中文字幕精品精品 | 国产成人一区二区精品非洲| 国产91在线观看丝袜| 午夜精品一区二区三区免费视频| 国产亚洲精品超碰| 日韩欧美高清在线| 欧美在线视频不卡| 99久久99精品久久久久久| 久久精品国产亚洲5555| 天天综合网 天天综合色| 一区二区三区影院| 国产午夜亚洲精品羞羞网站| 555www色欧美视频| 欧美性一级生活| 在线亚洲高清视频| 91蝌蚪国产九色| 国产mv日韩mv欧美| 国产老肥熟一区二区三区| 日本人妖一区二区| 人禽交欧美网站| 天天色天天爱天天射综合| 综合久久综合久久| 综合激情成人伊人| 国产精品女主播在线观看| 精品国产欧美一区二区| 日韩无一区二区| 91精品国产免费| 欧美一三区三区四区免费在线看| 欧美日韩情趣电影| 欧美羞羞免费网站| 欧美四级电影在线观看| 日本黄色一区二区| 在线欧美小视频| 欧美吞精做爰啪啪高潮| 在线播放欧美女士性生活| 欧美综合一区二区三区| 在线观看视频一区二区| 91久久线看在观草草青青| 色欲综合视频天天天| 日本精品一区二区三区高清| 欧美丝袜丝交足nylons图片| 色婷婷国产精品久久包臀| 91麻豆国产香蕉久久精品| 欧美亚洲免费在线一区| 在线一区二区三区做爰视频网站| 欧美伊人久久久久久午夜久久久久| 91久久精品一区二区二区| 欧美日韩在线三级| 日韩免费成人网| 欧美国产1区2区| 亚洲久草在线视频| 成人av电影在线网| 91色九色蝌蚪| 欧美一区二区视频在线观看2020 | 免费成人在线网站| 国产成人福利片| 欧美影视一区在线| 日韩一级片在线播放| 久久久久久97三级| 一区二区三区四区在线播放| 日本欧美一区二区在线观看| 国产精品一级黄| 一本色道久久综合精品竹菊| 欧美肥妇毛茸茸| 26uuu国产日韩综合| 日韩毛片在线免费观看| 日韩一区精品字幕| 成人在线视频首页| 欧美日韩午夜在线视频| 精品毛片乱码1区2区3区| 亚洲男人天堂一区| 精品一区二区影视| 欧美在线三级电影| 久久久国际精品| 日韩精品五月天| 成人av先锋影音| 欧美一区二区三区思思人| 国产精品免费视频网站| 日韩中文字幕区一区有砖一区 | 国产精品久久久久桃色tv| 亚洲电影激情视频网站| 国产精品996| 欧美一区二区三区男人的天堂| 欧美国产欧美综合| 免费在线观看不卡| 欧洲精品在线观看| 国产日韩精品一区| 看片的网站亚洲| 欧美午夜片在线看| 中文字幕中文字幕在线一区| 久久电影网电视剧免费观看| 色婷婷综合久久久久中文一区二区 | 国产一区在线观看视频| 欧美日韩一区视频| 一区二区成人在线视频| av成人免费在线| 久久嫩草精品久久久精品一| 午夜精品福利一区二区蜜股av| 91丨porny丨最新| 国产午夜精品理论片a级大结局| 日韩专区一卡二卡| 欧美日韩国产一区| 亚洲综合一区二区三区| 成人激情动漫在线观看| 久久久www免费人成精品| 麻豆成人久久精品二区三区小说| 欧美日韩精品系列| 亚洲成av人片在线观看| 欧美色视频在线| 亚洲成人777| 制服丝袜中文字幕一区| 日本亚洲三级在线| 日韩美一区二区三区|