📄 matchoffsetpair.java
字号:
/*
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the license, or (at your option) any later version.
*/
package org.gjt.jclasslib.bytecode;
/**
Holds a single match-offset pair.
@author <a href="mailto:jclasslib@ej-technologies.com">Ingo Kegel</a>
@version $Revision: 1.1 $ $Date: 2005/11/01 13:18:23 $
*/
public class MatchOffsetPair {
private int match;
private int offset;
/**
* Constructor.
* @param match the match value.
* @param offset the branch offset.
*/
public MatchOffsetPair(int match, int offset) {
this.match = match;
this.offset = offset;
}
/**
Get the match value of this match-offset pair.
@return the value
*/
public int getMatch() {
return match;
}
/**
Set the match value of this match-offset pair.
@param match the value
*/
public void setMatch(int match) {
this.match = match;
}
/**
Get the offset of the branch for this match-offset pair.
@return the offset
*/
public int getOffset() {
return offset;
}
/**
Set the offset of the branch for this match-offset pair.
@param offset the offset
*/
public void setOffset(int offset) {
this.offset = offset;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -