if (layers.size() == 0) return 0; return ((Integer)(layers.firstKey ())).intValue ();
Component[] components = getComponents(); int lowest; if (components.length == 0) lowest = 0; else { lowest = Integer.MAX_VALUE; for (int i = 0; i < components.length; i++) lowest = Math.max(lowest, getLayer(components[i])); } return lowest;
  public int lowestLayer()  {    if (layers.size() == 0)	    return 0;    return ((Integer)(layers.firstKey ())).intValue ();  }