// Decompiled by Jad v1.5.7f. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) braces deadcode fieldsfirst 
// Source File Name:   ROWID.java
// Class Version:      45.3

package oracle.sql;

import java.sql.SQLException;
import oracle.jdbc.util.RepConversion;

// Referenced classes of package oracle.sql:
//            Datum

// flag ACC_SUPER is set
public class ROWID extends Datum
{
    // Constants:          52
    // Interfaces:         0
    // Fields:             0
    // Methods:            6
    // Class Attributes:   1


    // Decompiling method: <init>  Signature: ()V
    // Max stack: 1, #locals: 1, #params: 1
    // Code length: 5 bytes, Code offset: 627
    // Line Number Table found: 1 entries
    // Parameter  0 added: Name this Type Loracle/sql/ROWID; At 0 5 Range 0 4 Init 0 fixed
    // RetValue   1 added: Name <returnValue> Type V At 0 5 Range 0 4 Init 0 fixed
    public ROWID()
    {
        super();
        return;
    }

    // Decompiling method: <init>  Signature: ([B)V
    // Max stack: 2, #locals: 2, #params: 2
    // Code length: 6 bytes, Code offset: 670
    // Line Number Table found: 2 entries
    // Parameter  0 added: Name this Type Loracle/sql/ROWID; At 0 6 Range 0 5 Init 0 fixed
    // Parameter  1 added: Name abyte0 Type [B At 0 6 Range 0 5 Init 0
    // RetValue   2 added: Name <returnValue> Type V At 0 6 Range 0 5 Init 0 fixed
    public ROWID(byte abyte0[])
    {
        super(abyte0);
        return;
    }

    // Decompiling method: isConvertibleTo  Signature: (Ljava/lang/Class;)Z
    // Max stack: 2, #locals: 3, #params: 2
    // Code length: 18 bytes, Code offset: 718
    // Line Number Table found: 4 entries
    // Parameter  0 added: Name this Type Loracle/sql/ROWID; At 0 18 Range 0 17 Init 0 fixed
    // Parameter  1 added: Name class1 Type Ljava/lang/Class; At 0 18 Range 0 17 Init 0
    // RetValue   3 added: Name <returnValue> Type Z At 0 18 Range 0 17 Init 0 fixed
    // LocalVar   2 added: Name s Type Ljava/lang/String; At 4 2 Range 4 5 Init 4
    public boolean isConvertibleTo(Class class1)
    {
        String s = class1.getName();
        return s.compareTo("java.lang.String") == 0;
    }

    // Decompiling method: makeJdbcArray  Signature: (I)Ljava/lang/Object;
    // Max stack: 1, #locals: 2, #params: 2
    // Code length: 6 bytes, Code offset: 786
    // Line Number Table found: 1 entries
    // Parameter  0 added: Name this Type Loracle/sql/ROWID; At 0 6 Range 0 5 Init 0 fixed
    // Parameter  1 added: Name i Type I At 0 6 Range 0 5 Init 0
    // RetValue   2 added: Name <returnValue> Type Ljava/lang/Object; At 0 6 Range 0 5 Init 0 fixed
    public Object makeJdbcArray(int i)
    {
        return new byte[i][];
    }

    // Decompiling method: stringValue  Signature: ()Ljava/lang/String;
    // Max stack: 1, #locals: 1, #params: 1
    // Code length: 8 bytes, Code offset: 830
    // Line Number Table found: 1 entries
    // Parameter  0 added: Name this Type Loracle/sql/ROWID; At 0 8 Range 0 7 Init 0 fixed
    // RetValue   1 added: Name <returnValue> Type Ljava/lang/String; At 0 8 Range 0 7 Init 0 fixed
    public String stringValue()
    {
        return RepConversion.bArray2String(getBytes());
    }

    // Decompiling method: toJdbc  Signature: ()Ljava/lang/Object;
    // Max stack: 1, #locals: 1, #params: 1
    // Code length: 2 bytes, Code offset: 876
    // Line Number Table found: 1 entries
    // Parameter  0 added: Name this Type Loracle/sql/ROWID; At 0 2 Range 0 1 Init 0 fixed
    // RetValue   1 added: Name <returnValue> Type Ljava/lang/Object; At 0 2 Range 0 1 Init 0 fixed
    public Object toJdbc()
        throws SQLException
    {
        return this;
    }
}
