|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.coremedia.iso.boxes.CastUtils
public class CastUtils
Created by IntelliJ IDEA. User: sannies Date: 2/9/12 Time: 8:58 PM To change this template use File | Settings | File Templates.
Constructor Summary | |
---|---|
CastUtils()
|
Method Summary | |
---|---|
static int |
l2i(long l)
Casts a long to an int. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CastUtils()
Method Detail |
---|
public static int l2i(long l)
Integer.MAX_VALUE
this cast-method will throw
a RuntimeException if the cast would cause a loss of information.
l
- the long value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |