com.jeffpalm.basic.bytecode.base
Class u4

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.u4
All Implemented Interfaces:
ConstantFlags, Iu, Iu4

public class u4
extends u
implements Iu4


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
u4(byte b0, byte b1, byte b2, byte b3)
           
 
Method Summary
 byte b0()
           
 byte b1()
           
 byte b2()
           
 byte b3()
           
 boolean equals(java.lang.Object o)
           
protected  java.lang.String hex()
           
 long longValue()
           
static u4 newInstance(byte b0, byte b1, byte b2, byte b3)
           
static u4 newInstance(int bytes)
           
 int 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

u4

public u4(byte b0,
          byte b1,
          byte b2,
          byte b3)
Method Detail

newInstance

public static u4 newInstance(int bytes)

newInstance

public static u4 newInstance(byte b0,
                             byte b1,
                             byte b2,
                             byte b3)

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

value

public int value()
Specified by:
value in interface Iu4

b0

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

b1

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

b2

public byte b2()
Specified by:
b2 in interface Iu4

b3

public byte b3()
Specified by:
b3 in interface Iu4

equals

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