attribute.java

来自「java反编译」· Java 代码 · 共 69 行

JAVA
69
字号
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   Attribute.java

package com.heaton.bot;


public class Attribute
    implements Cloneable
{

    public Object clone()
    {
        return new Attribute(name, value, delim);
    }

    public Attribute(String name, String value, char delim)
    {
        this.name = name;
        this.value = value;
        this.delim = delim;
    }

    public Attribute()
    {
        this("", "", '\0');
    }

    public Attribute(String name, String value)
    {
        this(name, value, '\0');
    }

    public String getName()
    {
        return name;
    }

    public String getValue()
    {
        return value;
    }

    public char getDelim()
    {
        return delim;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public void setValue(String value)
    {
        this.value = value;
    }

    public void setDelim(char ch)
    {
        delim = ch;
    }

    private String name;
    private String value;
    private char delim;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?