com.jeffpalm.basic.bytecode.base
Class u2

java.lang.Object
  extended by com.jeffpalm.basic.bytecode.base.Info
      extended by com.jeffpalm.basic.bytecode.base.u
          extended by com.jeffpalm.basic.bytecode.base.u2
All Implemented Interfaces:
ConstantFlags, Iu, Iu2

public class u2
extends u
implements Iu2


Field Summary
 
Fields inherited from interface com.jeffpalm.basic.bytecode.base.ConstantFlags
CONSTANT_Class, CONSTANT_Double, CONSTANT_Fieldref, CONSTANT_Float, CONSTANT_Integer, CONSTANT_InterfaceMethodref, CONSTANT_Long, CONSTANT_Methodref, CONSTANT_NameAndType, CONSTANT_String, CONSTANT_Utf8
 
Constructor Summary
u2(byte b0, byte b1)
           
 
Method Summary
 byte b0()
           
 byte b1()
           
 boolean equals(java.lang.Object o)
           
protected  java.lang.String hex()
           
 long longValue()
           
static u2 newInstance(byte b0, byte b1)
           
static u2 newInstance(int bytes)
           
 short value()
           
 
Methods inherited from class com.jeffpalm.basic.bytecode.base.u
charValue, hexString, intValue, toHex, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.jeffpalm.basic.bytecode.Iu
intValue
 

Constructor Detail

u2

public u2(byte b0,
          byte b1)
Method Detail

newInstance

public static u2 newInstance(int bytes)

newInstance

public static u2 newInstance(byte b0,
                             byte b1)

hex

protected java.lang.String hex()
Specified by:
hex in class u

longValue

public long longValue()
Specified by:
longValue in interface Iu
Specified by:
longValue in class u

b0

public byte b0()
Specified by:
b0 in interface Iu2

b1

public byte b1()
Specified by:
b1 in interface Iu2

value

public short value()
Specified by:
value in interface Iu2

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object