Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jacomma.icm.io
Class EncObjectType  view EncObjectType download EncObjectType.java

java.lang.Object
  extended byjacomma.icm.io.EncObjectType

public class EncObjectType
extends java.lang.Object

TBA


Field Summary
static EncObjectType Any
           
private  byte bc_
           
static EncObjectType Code
           
private  boolean comp_
           
static EncObjectType Handle
           
static EncObjectType Int
           
static EncObjectType List
           
static EncObjectType NegFloat
           
static EncObjectType Opaque
           
static EncObjectType PosFloat
           
static EncObjectType Ref
           
static EncObjectType Short
           
static EncObjectType Signed
           
static EncObjectType String
           
private  java.lang.String string_
           
static EncObjectType Symbol
           
static EncObjectType Tag
           
static EncObjectType Tuple
           
 
Constructor Summary
private EncObjectType(byte bc, java.lang.String string, boolean comp)
           
 
Method Summary
 byte getByteCode()
           
 boolean isComposite()
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
static EncObjectType typeOf(byte b)
           
static EncObjectType typeOf(int b)
           
static EncObjectType typeOf(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bc_

private final byte bc_

string_

private final java.lang.String string_

comp_

private final boolean comp_

Any

public static final EncObjectType Any

Int

public static final EncObjectType Int

PosFloat

public static final EncObjectType PosFloat

NegFloat

public static final EncObjectType NegFloat

Symbol

public static final EncObjectType Symbol

Handle

public static final EncObjectType Handle

String

public static final EncObjectType String

Code

public static final EncObjectType Code

List

public static final EncObjectType List

Tuple

public static final EncObjectType Tuple

Tag

public static final EncObjectType Tag

Ref

public static final EncObjectType Ref

Short

public static final EncObjectType Short

Signed

public static final EncObjectType Signed

Opaque

public static final EncObjectType Opaque
Constructor Detail

EncObjectType

private EncObjectType(byte bc,
                      java.lang.String string,
                      boolean comp)
Method Detail

getByteCode

public final byte getByteCode()

toString

public final java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).


isComposite

public final boolean isComposite()

typeOf

public static final EncObjectType typeOf(int b)

typeOf

public static final EncObjectType typeOf(byte b)

typeOf

public static final EncObjectType typeOf(java.lang.String s)