Class SegmentHeader.Counter

  • Enclosing class:
    SegmentHeader

    private static final class SegmentHeader.Counter
    extends java.lang.Object
    Counter for major/minor class file numbers, so we can work out the default
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int[] counts  
      private int length  
      private int[] objs  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Counter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(int obj)  
      int getMostCommon()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • objs

        private final int[] objs
      • counts

        private final int[] counts
      • length

        private int length
    • Constructor Detail

      • Counter

        private Counter()
    • Method Detail

      • add

        public void add​(int obj)
      • getMostCommon

        public int getMostCommon()