|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.red5.io.object.BaseOutput
public class BaseOutput
BaseOutput represents a way to map input to a HashMap. This class is meant to be extended.
Field Summary | |
---|---|
protected short |
refId
Reference id |
protected Map<org.red5.io.object.BaseOutput.IdentityWrapper,Short> |
refMap
References map |
Constructor Summary | |
---|---|
protected |
BaseOutput()
BaseOutput Constructor |
Method Summary | |
---|---|
void |
clearReferences()
Clears the map |
protected short |
getReferenceId(Object obj)
Returns the reference id based on the parameter obj |
protected boolean |
hasReference(Object obj)
Returns a boolean stating whether the map contains an object with that key |
protected void |
storeReference(Object obj)
Store an object into a map |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Map<org.red5.io.object.BaseOutput.IdentityWrapper,Short> refMap
protected short refId
Constructor Detail |
---|
protected BaseOutput()
Method Detail |
---|
protected void storeReference(Object obj)
obj
- Object to storeprotected boolean hasReference(Object obj)
obj
- Object
true
if it does contain it, false
otherwisepublic void clearReferences()
protected short getReferenceId(Object obj)
obj
- Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |