Examples of mapToIndex()


Examples of net.sourceforge.jiu.color.quantization.UniformPaletteQuantizer.mapToIndex()

        else
        if (blueSample > 255)
        {
          blueSample = 255;
        }
        out.putSample(0, x, y, upq.mapToIndex(redSample, greenSample, blueSample));
        offset++;
        if (offset == MAX_OFFSET)
        {
          offset = rowOffset;
        }
View Full Code Here

Examples of org.snmp4j.agent.mo.jmx.util.AbstractSyntheticJMXIndexSupport.mapToIndex()

        }

        public OID mapToIndex(Object rowIdentifier) {
          Object[] key = (Object[])rowIdentifier;
          OID index = new OID(jvmMemManagerIndexSupport.mapToIndex(key[0]));
          index.append(jvmMemPoolIndexSupport.mapToIndex(key[1]));
          return index;
        }

        public Object mapToRowIdentifier(OID rowIndex) {
          if (rowIndex == null) {
View Full Code Here

Examples of org.xnap.commons.gui.table.TableSorter.mapToIndex()

  public SimpleContact[] getAlllContacts()
  {
    TableSorter sorter = (TableSorter)contactTable.getModel();
    SimpleContact[] result = new SimpleContact[sorter.getRowCount()];
    for (int i = 0; i < result.length; i++) {
      int row = sorter.mapToIndex(i);
      result[i] = contactTableModel.getContact(row);
    }
    return result;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.