Class ELKIServiceRegistry.Entry

  • Enclosing class:

    private static class ELKIServiceRegistry.Entry
    extends java.lang.Object
    Entry in the service registry.
    Erich Schubert
    • Field Summary

      Modifier and Type Field Description
      private java.lang.String[] aliases
      Aliases hash map.
      private int aliaslen
      Occupied entries in aliases.
      private java.lang.Class<?>[] clazzes
      Loaded classes.
      private static java.lang.String[] EMPTY_ALIASES
      Reusable empty array.
      private int len
      private java.lang.String[] names
      Class names.
    • Constructor Summary

      Modifier Constructor Description
      private Entry()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void addAlias​(java.lang.String alias, java.lang.String cname)
      Register a class alias.
      private void addHit​(java.lang.String cname, java.lang.Class<?> c)
      If a name has been resolved, add it.
      private void addName​(java.lang.String cname)
      Add a candidate.
      • Methods inherited from class java.lang.Object

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


        private static final java.lang.String[] EMPTY_ALIASES
        Reusable empty array.
      • names

        private java.lang.String[] names
        Class names.
      • clazzes

        private java.lang.Class<?>[] clazzes
        Loaded classes.
      • len

        private int len
      • aliases

        private java.lang.String[] aliases
        Aliases hash map.
      • aliaslen

        private int aliaslen
        Occupied entries in aliases.
    • Constructor Detail

      • Entry

        private Entry()
    • Method Detail

      • addName

        private void addName​(java.lang.String cname)
        Add a candidate.
        cname - Candidate name
      • addHit

        private void addHit​(java.lang.String cname,
                            java.lang.Class<?> c)
        If a name has been resolved, add it.
        cname - Name
        c - Resulting class
      • addAlias

        private void addAlias​(java.lang.String alias,
                              java.lang.String cname)
        Register a class alias.
        alias - Alias name
        cname - Class name