Java 类org.lwjgl.opencl.FastLongMap.Entry 实例源码

项目:PhET    文件:APIUtil.java   
private static <T extends CLObjectChild> void releaseObjects(final CLObjectRegistry<T> registry, final ObjectDestructor<T> destructor) {
    if ( registry.isEmpty() )
        return;

    for ( Entry<T> entry : registry.getAll() ) {
        final T object = entry.value;
        while ( object.isValid() )
            destructor.release(object);
    }
}
项目:Wolf_game    文件:APIUtil.java   
private static <T extends CLObjectChild> void releaseObjects(final CLObjectRegistry<T> registry, final ObjectDestructor<T> destructor) {
    if ( registry.isEmpty() )
        return;

    for ( Entry<T> entry : registry.getAll() ) {
        final T object = entry.value;
        while ( object.isValid() )
            destructor.release(object);
    }
}
项目:GPVM    文件:APIUtil.java   
private static <T extends CLObjectChild> void releaseObjects(final CLObjectRegistry<T> registry, final ObjectDestructor<T> destructor) {
    if ( registry.isEmpty() )
        return;

    for ( Entry<T> entry : registry.getAll() ) {
        final T object = entry.value;
        while ( object.isValid() )
            destructor.release(object);
    }
}
项目:GPVM    文件:APIUtil.java   
private static <T extends CLObjectChild> void releaseObjects(final CLObjectRegistry<T> registry, final ObjectDestructor<T> destructor) {
    if ( registry.isEmpty() )
        return;

    for ( Entry<T> entry : registry.getAll() ) {
        final T object = entry.value;
        while ( object.isValid() )
            destructor.release(object);
    }
}
项目:SpaceStationAlpha    文件:APIUtil.java   
private static <T extends CLObjectChild> void releaseObjects(final CLObjectRegistry<T> registry, final ObjectDestructor<T> destructor) {
    if ( registry.isEmpty() )
        return;

    for ( Entry<T> entry : registry.getAll() ) {
        final T object = entry.value;
        while ( object.isValid() )
            destructor.release(object);
    }
}
项目:TeacherSmash    文件:APIUtil.java   
private static <T extends CLObjectChild> void releaseObjects(final CLObjectRegistry<T> registry, final ObjectDestructor<T> destructor) {
    if ( registry.isEmpty() )
        return;

    for ( Entry<T> entry : registry.getAll() ) {
        final T object = entry.value;
        while ( object.isValid() )
            destructor.release(object);
    }
}
项目:3d-Demo    文件:APIUtil.java   
private static <T extends CLObjectChild> void releaseObjects(final CLObjectRegistry<T> registry, final ObjectDestructor<T> destructor) {
    if ( registry.isEmpty() )
        return;

    for ( Entry<T> entry : registry.getAll() ) {
        final T object = entry.value;
        while ( object.isValid() )
            destructor.release(object);
    }
}