List of usage examples for com.google.common.primitives Longs lastIndexOf
public static int lastIndexOf(long[] array, long target)
From source file:com.analog.lyric.dimple.model.variables.VariableBlock.java
@NonNullByDefault(false) @Override/*from w w w .j a v a 2s . c o m*/ public int lastIndexOf(Object obj) { if (obj instanceof Variable) { Variable var = (Variable) obj; if (var.getRootGraph() == requireParentGraph().getRootGraph()) { return Longs.lastIndexOf(_variableGraphTreeIds, var.getGraphTreeId()); } } return -1; }