Top Description Fields Constructors Methods
org.jruby.ir.targets

public Class SiteTracker

extends Object
Class Inheritance
Imports
org.jruby.util.collections.IntHashMap

Created by headius on 7/8/16.

Field Summary

Modifier and TypeField and Description
private volatile int
private final IntHashMap<?>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public synchronized void
addType(int typeCode)

public int
public synchronized void
public synchronized boolean
hasSeenType(int typeCode)

public synchronized int
public synchronized String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

clearCountback to summary
private volatile int clearCount
seenTypesback to summary
private final IntHashMap<?> seenTypes

Constructor Detail

SiteTrackerback to summary
public SiteTracker()

Method Detail

addTypeback to summary
public synchronized void addType(int typeCode)
clearCountback to summary
public int clearCount()
clearTypesback to summary
public synchronized void clearTypes()
hasSeenTypeback to summary
public synchronized boolean hasSeenType(int typeCode)
seenTypesCountback to summary
public synchronized int seenTypesCount()
toStringback to summary
public synchronized String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override