////////////////// CLASSES //////////////////
175244
function Animation(width, height, depth, prefabCount, prefabSize) {
  // create a prefab
  var prefab = new THREE.TetrahedronGeometry(prefabSize);

  // create a geometry where the prefab is repeated 'prefabCount' times
  var geometry = new SpeedParticleGeometry(prefab, prefabCount);

  // add a time offset for each prefab, spreading them out along the Z axis
  geometry.createAttribute('aOffset', 1, function(data, i, count) {
    data[0] = i / count;
  });

  // create a start position for each prefab
  var aStartPosition = geometry.createAttribute('aStartPosition', 3);
  // create an end position for each prefab
  var aEndPosition = geometry.createAttribute('aEndPosition', 3);
  var x, y, data = [];

  // for each prefab
  for (var i = 0; i < prefabCount; i++) {
    // get a random x coordinate between -width/2 and width/2
    x = THREE.Math.randFloatSpread(width);
    // get a random y coordinate between 0 and height
    y = THREE.Math.randFloat(0, height);

    // store the coordinates in the buffer attribute
    // x and y are the same for start and end position, causing each prefab to move in a straight line
    data[0] = x;
    data[1] = y;
    // all prefabs start at depth * -0.5
    data[2] = depth  * -0.5;
    geometry.setPrefabData(aStartPosition, i, data);
    
    data[0] = x;
    data[1] = y;
    // all prefabs end at depth * 0.5
    data[2] = depth * 0.5;
    geometry.setPrefabData(aEndPosition, i, data);
  }

  var material = new BAS.BasicAnimationMaterial({
    side: THREE.DoubleSide,
    uniforms: {
      uTime: {value: 0.0},
      uDuration: {value: 1.0},
      uScale: {value: 1.0}
    },
    uniformValues: {
      diffuse: new THREE.Color(0xf1f1f1)
    },
    vertexParameters: [
      'uniform float uTime;',
      'uniform float uDuration;',
      'uniform float uScale;',
  
      'attribute float aOffset;',
      'attribute vec3 aStartPosition;',
      'attribute vec3 aEndPosition;'
    ],
    vertexPosition: [
      // calculate a time based on the uniform time and the offset of each prefab
      'float tProgress = mod((uTime + aOffset), uDuration) / uDuration;',
      // scale the z axis based on the uniform speed scale
      'transformed.z *= uScale;',
      // translate between start and end position based on progress
      'transformed += mix(aStartPosition, aEndPosition, tProgress);'
    ]
  });

  THREE.Mesh.call(this, geometry, material);
  this.frustumCulled = false;
}
1223470
public static Class<?>[] readClasses(ObjectInput in)
            throws java.io.IOException, ClassNotFoundException {
        int i, len;
        Class<?>[] result;

        len = in.readByte();
        result = new Class[len];
        for (i = 0; i < len; i++) {
            result[i] = read(in);
        }
        return result;
    }
115915
public void throwIn(@SuppressWarnings("unchecked") Class<? extends Throwable>... classes) {
                for (Class<? extends Throwable> cls : classes) {
                        if (cls.isInstance(super.getCause())) {
                                throw this;
                        }
                }
        }
850138
private Class<?>[] getClassList(List<Object> objects) {
        Class<?>[] classes = new Class<?>[objects.size()];
        for (int i = 0; i < objects.size(); i++) {
            classes[i] = objects.get(i).getClass();
        }
        return classes;
    }
274545
@Override
	public Class<?> getColumnClass(int columnIndex) {
		switch (this.columns[columnIndex]) {
		case HREF_ID:		return Integer.class;
		case TYPE_FLAG:		return ImageIcon.class;
		case METHOD:		return String.class;
		case URL:			return String.class;
		case CODE:			return Integer.class;
		case REASON:		return String.class;
		case RTT:			return Integer.class;
		case SIZE:			return Integer.class;
		case SESSION_ID:	return Long.class;
		case ALERT_FLAG:	return ImageIcon.class;
		case TAGS:			return String.class;
		default:			return null;
		}
	}
844135
function CharacterClass(class_id, class_name, is_always_invoke, is_grouping, max_length) {
    this.class_id = class_id;
    this.class_name = class_name;
    this.is_always_invoke = is_always_invoke;
    this.is_grouping = is_grouping;
    this.max_length = max_length;
}
281687
private static CtClass[] toCtClass(Class<?>... classes) throws Exception{
		ClassPool cp = ClassPool.getDefault();
		
		if(isEmpty(classes) || isNull(classes[0])) 
			return null;
		
		CtClass[] parameters = new CtClass[classes.length];
		for(int i=0;i<classes.length;i++)
			parameters[i]=cp.get(classes[i].getName());
		
		return parameters;
	}
819567
@Override
    protected void classLoaderChanged()
    {
        Vector toRemove = new Vector(); // safely remove
        for ( Enumeration e = listeners.elements(); e.hasMoreElements(); )
        {
            WeakReference wr = (WeakReference)e.nextElement();
            Listener l = (Listener)wr.get();
            if ( l == null )  // garbage collected
              toRemove.add( wr );
            else
              l.classLoaderChanged();
        }
        for( Enumeration e = toRemove.elements(); e.hasMoreElements(); )
            listeners.removeElement( e.nextElement() );
    }
1148690
function setClasses( classes ) {
    var className = docElement.className;
    var classPrefix = Modernizr._config.classPrefix || '';

    // Change `no-js` to `js` (we do this independently of the `enableClasses`
    // option)
    // Handle classPrefix on this too
    if(Modernizr._config.enableJSClass) {
      var reJS = new RegExp('(^|\\s)'+classPrefix+'no-js(\\s|$)');
      className = className.replace(reJS, '$1'+classPrefix+'js$2');
    }

    if(Modernizr._config.enableClasses) {
      // Add the new classes
      className += ' ' + classPrefix + classes.join(' ' + classPrefix);
      docElement.className = className;
    }

  }
1194017
<T> Class<T> loadClass(String name) throws ClassNotFoundException {
        ClassLoader cl = Thread.currentThread().getContextClassLoader();
        if (null == cl) {
            cl = ToHelper.class.getClassLoader();
        }
        return (Class<T>) cl.loadClass(name);
    }
1171197
function addClass(className) {
  if (typeof className === 'undefined') {
    return this;
  }
  const classes = className.split(' ');
  for (let i = 0; i < classes.length; i += 1) {
    for (let j = 0; j < this.length; j += 1) {
      if (typeof this[j] !== 'undefined' && typeof this[j].classList !== 'undefined') this[j].classList.add(classes[i]);
    }
  }
  return this;
}
643970
public boolean hasClass(String className) {
        for (Element element : this) {
            if (element.hasClass(className))
                return true;
        }
        return false;
    }
704912
@Override
    public void visitInnerClasses(InnerClasses obj) {
        super.visitInnerClasses(obj);
        InnerClass[] inner_classes = obj.getInnerClasses();
        for (InnerClass inner_class : inner_classes) {
            inner_class.accept(this);
        }
    }
627466
private static Class<?>[] getTypes(Object... objects) {
        if (objects == null) {
            return new Class[0];
        }

        Class<?>[] result = new Class[objects.length];

        for (int i = 0; i < objects.length; i++) {
            Object value = objects[i];
            result[i] = value == null ? NULL.class : value.getClass();
        }

        return result;
    }
997241
private void addClasses(Class<?>[] classes, HashSet<Class<?>> result){
		
		if(isNull(classes) || classes.length==0)	
			Error.globalClassesAbsent(configuredClass);
		
		for (Class<?> classe : classes)	result.add(classe);
	}
83244
private void initClasses() {

        if (!initializedClasses) {
            I_CmsClassInitializer initializer = GWT.create(I_CmsClassInitializer.class);
            initializer.initClasses();
            initializedClasses = true;
        }
    }
657057
function (classes) {
            var extensions = this.props.extensions;

            if (extensions && extensions.get("addClass")) {
                var data = this.getDataForExtension();
                classes = classes + " " + extensions.get("addClass").map(function (callback) {
                    try {
                        return callback(data);
                    } catch (e) {
                        console.error("Exception thrown in FileTreeView addClass provider: " + e, e.stack);
                    }
                }).filter(isDefined).toArray().join(" ");
            }

            return classes;
        }