List of usage examples for com.badlogic.gdx.utils IntArray first
public int first()
From source file:com.kotcrab.vis.ui.building.TableBuilder.java
License:Apache License
/** * @param values cannot be empty or null. * @return lowest common multiple for the given values. *///from w w w . j a va 2s . com public static int getLowestCommonMultiple(final IntArray values) { int lowestCommonMultiple = values.first(); for (int index = 1; index < values.size; index++) { lowestCommonMultiple = getLowestCommonMultiple(lowestCommonMultiple, values.get(index)); } return lowestCommonMultiple; }