Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## applications
Class FirstFit

    java.lang.Object
      |
      +--applications.FirstFit

public class FirstFit
extends java.lang.Object

Inner Class Summary
`static class` | `FirstFit.Bin`

Constructor Summary
`FirstFit()`

Method Summary
`static void` | `firstFitPack(int[] objectSize, int binCapacity)` output first fit packing into bins of size binCapacity
`static void` | `main(java.lang.String[] args)` test program

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FirstFit

    public FirstFit()

Method Detail

### firstFitPack

    public static void firstFitPack(int[] objectSize,
                                    int binCapacity)

  output first fit packing into bins of size binCapacity
  Parameters:
    `objectSize[1:objectSize.length-1]` - are the object sizes

### main

    public static void main(java.lang.String[] args)

  test program

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD