From d479253768d296a40b4f699e1de9b03c7146a97a Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Tue, 3 Dec 2013 14:03:28 -0800 Subject: Adding javadocs and Carbonado User Guide --- .../com/amazon/carbonado/util/AbstractPool.html | 348 ++++++++ .../amazon/carbonado/util/AnnotationBuilder.html | 934 +++++++++++++++++++ .../carbonado/util/AnnotationDescParser.html | 291 ++++++ .../carbonado/util/AnnotationDescPrinter.html | 988 +++++++++++++++++++++ .../amazon/carbonado/util/AnnotationPrinter.html | 956 ++++++++++++++++++++ .../amazon/carbonado/util/AnnotationVisitor.html | 903 +++++++++++++++++++ apidocs/com/amazon/carbonado/util/Appender.html | 228 +++++ .../carbonado/util/BelatedCreationException.html | 289 ++++++ .../com/amazon/carbonado/util/BelatedCreator.html | 371 ++++++++ apidocs/com/amazon/carbonado/util/Comparators.html | 270 ++++++ .../carbonado/util/ConversionComparator.html | 302 +++++++ apidocs/com/amazon/carbonado/util/Converter.html | 453 ++++++++++ .../carbonado/util/QuickConstructorGenerator.html | 314 +++++++ .../com/amazon/carbonado/util/SoftValuedCache.html | 478 ++++++++++ .../com/amazon/carbonado/util/TaskQueueThread.html | 402 +++++++++ apidocs/com/amazon/carbonado/util/Throttle.html | 300 +++++++ .../com/amazon/carbonado/util/ThrowUnchecked.html | 495 +++++++++++ .../carbonado/util/class-use/AbstractPool.html | 190 ++++ .../util/class-use/AnnotationBuilder.html | 117 +++ .../util/class-use/AnnotationDescParser.html | 117 +++ .../util/class-use/AnnotationDescPrinter.html | 117 +++ .../util/class-use/AnnotationPrinter.html | 117 +++ .../util/class-use/AnnotationVisitor.html | 175 ++++ .../amazon/carbonado/util/class-use/Appender.html | 335 +++++++ .../util/class-use/BelatedCreationException.html | 117 +++ .../carbonado/util/class-use/BelatedCreator.html | 167 ++++ .../carbonado/util/class-use/Comparators.html | 117 +++ .../util/class-use/ConversionComparator.html | 117 +++ .../amazon/carbonado/util/class-use/Converter.html | 164 ++++ .../util/class-use/QuickConstructorGenerator.html | 117 +++ .../carbonado/util/class-use/SoftValuedCache.html | 162 ++++ .../carbonado/util/class-use/TaskQueueThread.html | 117 +++ .../amazon/carbonado/util/class-use/Throttle.html | 117 +++ .../carbonado/util/class-use/ThrowUnchecked.html | 117 +++ .../com/amazon/carbonado/util/package-frame.html | 42 + .../com/amazon/carbonado/util/package-summary.html | 270 ++++++ .../com/amazon/carbonado/util/package-tree.html | 172 ++++ apidocs/com/amazon/carbonado/util/package-use.html | 316 +++++++ 38 files changed, 11602 insertions(+) create mode 100644 apidocs/com/amazon/carbonado/util/AbstractPool.html create mode 100644 apidocs/com/amazon/carbonado/util/AnnotationBuilder.html create mode 100644 apidocs/com/amazon/carbonado/util/AnnotationDescParser.html create mode 100644 apidocs/com/amazon/carbonado/util/AnnotationDescPrinter.html create mode 100644 apidocs/com/amazon/carbonado/util/AnnotationPrinter.html create mode 100644 apidocs/com/amazon/carbonado/util/AnnotationVisitor.html create mode 100644 apidocs/com/amazon/carbonado/util/Appender.html create mode 100644 apidocs/com/amazon/carbonado/util/BelatedCreationException.html create mode 100644 apidocs/com/amazon/carbonado/util/BelatedCreator.html create mode 100644 apidocs/com/amazon/carbonado/util/Comparators.html create mode 100644 apidocs/com/amazon/carbonado/util/ConversionComparator.html create mode 100644 apidocs/com/amazon/carbonado/util/Converter.html create mode 100644 apidocs/com/amazon/carbonado/util/QuickConstructorGenerator.html create mode 100644 apidocs/com/amazon/carbonado/util/SoftValuedCache.html create mode 100644 apidocs/com/amazon/carbonado/util/TaskQueueThread.html create mode 100644 apidocs/com/amazon/carbonado/util/Throttle.html create mode 100644 apidocs/com/amazon/carbonado/util/ThrowUnchecked.html create mode 100644 apidocs/com/amazon/carbonado/util/class-use/AbstractPool.html create mode 100644 apidocs/com/amazon/carbonado/util/class-use/AnnotationBuilder.html create mode 100644 apidocs/com/amazon/carbonado/util/class-use/AnnotationDescParser.html create mode 100644 apidocs/com/amazon/carbonado/util/class-use/AnnotationDescPrinter.html create mode 100644 apidocs/com/amazon/carbonado/util/class-use/AnnotationPrinter.html create mode 100644 apidocs/com/amazon/carbonado/util/class-use/AnnotationVisitor.html create mode 100644 apidocs/com/amazon/carbonado/util/class-use/Appender.html create mode 100644 apidocs/com/amazon/carbonado/util/class-use/BelatedCreationException.html create mode 100644 apidocs/com/amazon/carbonado/util/class-use/BelatedCreator.html create mode 100644 apidocs/com/amazon/carbonado/util/class-use/Comparators.html create mode 100644 apidocs/com/amazon/carbonado/util/class-use/ConversionComparator.html create mode 100644 apidocs/com/amazon/carbonado/util/class-use/Converter.html create mode 100644 apidocs/com/amazon/carbonado/util/class-use/QuickConstructorGenerator.html create mode 100644 apidocs/com/amazon/carbonado/util/class-use/SoftValuedCache.html create mode 100644 apidocs/com/amazon/carbonado/util/class-use/TaskQueueThread.html create mode 100644 apidocs/com/amazon/carbonado/util/class-use/Throttle.html create mode 100644 apidocs/com/amazon/carbonado/util/class-use/ThrowUnchecked.html create mode 100644 apidocs/com/amazon/carbonado/util/package-frame.html create mode 100644 apidocs/com/amazon/carbonado/util/package-summary.html create mode 100644 apidocs/com/amazon/carbonado/util/package-tree.html create mode 100644 apidocs/com/amazon/carbonado/util/package-use.html (limited to 'apidocs/com/amazon/carbonado/util') diff --git a/apidocs/com/amazon/carbonado/util/AbstractPool.html b/apidocs/com/amazon/carbonado/util/AbstractPool.html new file mode 100644 index 0000000..55e0910 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/AbstractPool.html @@ -0,0 +1,348 @@ + + + + + + +AbstractPool (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.util
+

Class AbstractPool<K,V,E extends java.lang.Exception>

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    SequenceValueProducerPool, StoragePool
    +
    +
    +
    +
    public abstract class AbstractPool<K,V,E extends java.lang.Exception>
    +extends java.lang.Object
    +
    A concurrent pool of strongly referenced values mapped by key. Values are + lazily created and pooled.
    +
    Since:
    +
    1.2
    +
    Author:
    +
    Brian S O'Neill
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ModifierConstructor and Description
      protected AbstractPool() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voidclear() 
      protected abstract Vcreate(K key) +
      Return a new value instance.
      +
      Vget(K key) +
      Returns a value for the given key, which is lazily created and + pooled.
      +
      Vremove(java.lang.Object key) +
      Remove a value, returning the old value.
      +
      java.util.Collection<V>values() +
      Returns the pool values, which may be concurrently modified.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AbstractPool

        +
        protected AbstractPool()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        get

        +
        public V get(K key)
        +      throws E extends java.lang.Exception
        +
        Returns a value for the given key, which is lazily created and + pooled. If multiple threads are requesting upon the same key + concurrently, at most one thread attempts to lazily create the + value. The others wait for it to become available.
        +
        Throws:
        +
        E extends java.lang.Exception
        +
      • +
      + + + +
        +
      • +

        remove

        +
        public V remove(java.lang.Object key)
        +
        Remove a value, returning the old value.
        +
      • +
      + + + +
        +
      • +

        values

        +
        public java.util.Collection<V> values()
        +
        Returns the pool values, which may be concurrently modified.
        +
      • +
      + + + +
        +
      • +

        clear

        +
        public void clear()
        +
      • +
      + + + + + +
        +
      • +

        create

        +
        protected abstract V create(K key)
        +                     throws E extends java.lang.Exception
        +
        Return a new value instance.
        +
        Throws:
        +
        E extends java.lang.Exception
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/AnnotationBuilder.html b/apidocs/com/amazon/carbonado/util/AnnotationBuilder.html new file mode 100644 index 0000000..7f6d3c8 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/AnnotationBuilder.html @@ -0,0 +1,934 @@ + + + + + + +AnnotationBuilder (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.util
+

Class AnnotationBuilder

+
+
+ +
+
    +
  • +
    +
    +
    public class AnnotationBuilder
    +extends AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
    +
    Builds all Annotation properties to a Cojen Annotation definition.
    +
    Author:
    +
    Brian S O'Neill
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      AnnotationBuilder() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.annotation.Annotation[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.annotation.Annotation value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits an annotation by breaking it down into its components and calling + various other visit methods.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + boolean[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + boolean value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit booleans.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + byte[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + byte value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit bytes.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + char[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + char value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit chars.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.Class[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.Class value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit Classes.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + double[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + double value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit doubles.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.Enum[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.Enum value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit Enums.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + float[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + float value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit floats.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + int[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + int value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit ints.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + long[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + long value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit longs.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + short[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + short value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit shorts.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.String[] value, + org.cojen.classfile.attribute.Annotation ann) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.String value, + org.cojen.classfile.attribute.Annotation ann) +
      Override to visit Strings.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AnnotationBuilder

        +
        public AnnotationBuilder()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.annotation.Annotation value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits an annotation by breaking it down into its components and calling + various other visit methods.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member or not part of an annotation
        pos - position of member in list or array
        value - Annotation visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     int value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit ints.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - int visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     long value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit longs.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - long visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     float value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit floats.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - float visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     double value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit doubles.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - double visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     boolean value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit booleans.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - boolean visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     byte value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit bytes.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - byte visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     short value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit shorts.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - short visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     char value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit chars.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - char visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.String value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit Strings.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - String visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.Class value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit Classes.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Class visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.Enum value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit Enums.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Enum visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.annotation.Annotation[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Annotation array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     int[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - int array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     long[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - long array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     float[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - float array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     double[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - double array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     boolean[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - boolean array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     byte[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - byte array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     short[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - short array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     char[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - char array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.String[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - String array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.Class[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Class array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.Enum[] value,
        +                     org.cojen.classfile.attribute.Annotation ann)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Enum array visited
        ann - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/AnnotationDescParser.html b/apidocs/com/amazon/carbonado/util/AnnotationDescParser.html new file mode 100644 index 0000000..0b55674 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/AnnotationDescParser.html @@ -0,0 +1,291 @@ + + + + + + +AnnotationDescParser (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.util
+

Class AnnotationDescParser

+
+
+ +
+
    +
  • +
    +
    +
    public class AnnotationDescParser
    +extends java.lang.Object
    +
    Parses an annotation descriptor String to a Cojen Annotation definition.
    +
    Author:
    +
    Brian S O'Neill
    +
    See Also:
    AnnotationDescPrinter
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      AnnotationDescParser(java.lang.String annotationString) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      protected org.cojen.classfile.attribute.AnnotationbuildRootAnnotation(org.cojen.classfile.TypeDesc rootAnnotationType) +
      Override this method if a root annotation is not provided, as it must be + built after parsing the root annotation type.
      +
      org.cojen.classfile.attribute.Annotationparse(org.cojen.classfile.attribute.Annotation rootAnnotation) +
      Parses the given annotation, returning the root annotation that received + the results.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AnnotationDescParser

        +
        public AnnotationDescParser(java.lang.String annotationString)
        +
        Parameters:
        annotationString - annotation to parse
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        parse

        +
        public org.cojen.classfile.attribute.Annotation parse(org.cojen.classfile.attribute.Annotation rootAnnotation)
        +
        Parses the given annotation, returning the root annotation that received + the results.
        +
        Parameters:
        rootAnnotation - root annotation
        +
        Returns:
        root annotation
        +
        Throws:
        +
        IllegalArgumentExcecption - if annotation is malformed
        +
      • +
      + + + +
        +
      • +

        buildRootAnnotation

        +
        protected org.cojen.classfile.attribute.Annotation buildRootAnnotation(org.cojen.classfile.TypeDesc rootAnnotationType)
        +
        Override this method if a root annotation is not provided, as it must be + built after parsing the root annotation type. By default, this method + throws UnsupportedOperationException.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/AnnotationDescPrinter.html b/apidocs/com/amazon/carbonado/util/AnnotationDescPrinter.html new file mode 100644 index 0000000..2d8670d --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/AnnotationDescPrinter.html @@ -0,0 +1,988 @@ + + + + + + +AnnotationDescPrinter (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.util
+

Class AnnotationDescPrinter

+
+
+ +
+
    +
  • +
    +
    +
    public class AnnotationDescPrinter
    +extends AnnotationVisitor<java.lang.Object,java.lang.Object>
    +
    Prints machine readable, self-describing, annotation descriptors.
    +
    Author:
    +
    Brian S O'Neill
    +
    See Also:
    AnnotationDescParser
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      AnnotationDescPrinter(boolean sort, + java.lang.StringBuilder b) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static java.lang.StringmakePlainDescriptor(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) +
      Returns an annotation descriptor that has no parameters.
      +
      static java.lang.StringmakePlainDescriptor(java.lang.String annotationType) +
      Returns an annotation descriptor that has no parameters.
      +
      java.lang.Objectvisit(java.lang.annotation.Annotation value) +
      Prints the annotation to the builder passed to the constructor.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.annotation.Annotation[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.annotation.Annotation value, + java.lang.Object param) +
      Visits an annotation by breaking it down into its components and calling + various other visit methods.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + boolean[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + boolean value, + java.lang.Object param) +
      Override to visit booleans.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + byte[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + byte value, + java.lang.Object param) +
      Override to visit bytes.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + char[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + char value, + java.lang.Object param) +
      Override to visit chars.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.Class[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.Class value, + java.lang.Object param) +
      Override to visit Classes.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + double[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + double value, + java.lang.Object param) +
      Override to visit doubles.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.Enum[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.Enum value, + java.lang.Object param) +
      Override to visit Enums.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + float[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + float value, + java.lang.Object param) +
      Override to visit floats.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + int[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + int value, + java.lang.Object param) +
      Override to visit ints.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + long[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + long value, + java.lang.Object param) +
      Override to visit longs.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + short[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + short value, + java.lang.Object param) +
      Override to visit shorts.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.String[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.String value, + java.lang.Object param) +
      Override to visit Strings.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AnnotationDescPrinter

        +
        public AnnotationDescPrinter(boolean sort,
        +                     java.lang.StringBuilder b)
        +
        Parameters:
        sort - when true, sort annotation members by name (case sensitive)
        b - StringBuilder to get printed results
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        makePlainDescriptor

        +
        public static java.lang.String makePlainDescriptor(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
        +
        Returns an annotation descriptor that has no parameters.
        +
      • +
      + + + +
        +
      • +

        makePlainDescriptor

        +
        public static java.lang.String makePlainDescriptor(java.lang.String annotationType)
        +
        Returns an annotation descriptor that has no parameters.
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.annotation.Annotation value)
        +
        Prints the annotation to the builder passed to the constructor.
        +
        Parameters:
        value - Annotation to visit
        +
        Returns:
        null
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.annotation.Annotation value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits an annotation by breaking it down into its components and calling + various other visit methods.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member or not part of an annotation
        pos - position of member in list or array
        value - Annotation visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     int value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit ints.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - int visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     long value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit longs.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - long visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     float value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit floats.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - float visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     double value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit doubles.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - double visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     boolean value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit booleans.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - boolean visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     byte value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit bytes.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - byte visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     short value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit shorts.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - short visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     char value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit chars.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - char visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.String value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit Strings.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - String visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.Class value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit Classes.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Class visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.Enum value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit Enums.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Enum visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.annotation.Annotation[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Annotation array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     int[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - int array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     long[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - long array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     float[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - float array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     double[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - double array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     boolean[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - boolean array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     byte[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - byte array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     short[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - short array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     char[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - char array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.String[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - String array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.Class[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Class array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.Enum[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Enum array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/AnnotationPrinter.html b/apidocs/com/amazon/carbonado/util/AnnotationPrinter.html new file mode 100644 index 0000000..ac856d3 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/AnnotationPrinter.html @@ -0,0 +1,956 @@ + + + + + + +AnnotationPrinter (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.util
+

Class AnnotationPrinter

+
+
+ +
+
    +
  • +
    +
    +
    public class AnnotationPrinter
    +extends AnnotationVisitor<java.lang.Object,java.lang.Object>
    +
    Prints an Annotation into a parseable format, exactly the same as Java + Annotation syntax.
    +
    Author:
    +
    Brian S O'Neill
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      AnnotationPrinter(boolean sort, + java.lang.StringBuilder b) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      java.lang.Objectvisit(java.lang.annotation.Annotation value) +
      Prints the annotation to the builder passed to the constructor.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.annotation.Annotation[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.annotation.Annotation value, + java.lang.Object param) +
      Visits an annotation by breaking it down into its components and calling + various other visit methods.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + boolean[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + boolean value, + java.lang.Object param) +
      Override to visit booleans.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + byte[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + byte value, + java.lang.Object param) +
      Override to visit bytes.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + char[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + char value, + java.lang.Object param) +
      Override to visit chars.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.Class[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.Class value, + java.lang.Object param) +
      Override to visit Classes.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + double[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + double value, + java.lang.Object param) +
      Override to visit doubles.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.Enum[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.Enum value, + java.lang.Object param) +
      Override to visit Enums.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + float[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + float value, + java.lang.Object param) +
      Override to visit floats.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + int[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + int value, + java.lang.Object param) +
      Override to visit ints.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + long[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + long value, + java.lang.Object param) +
      Override to visit longs.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + short[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + short value, + java.lang.Object param) +
      Override to visit shorts.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.String[] value, + java.lang.Object param) +
      Visits each array element.
      +
      java.lang.Objectvisit(java.lang.String name, + int pos, + java.lang.String value, + java.lang.Object param) +
      Override to visit Strings.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AnnotationPrinter

        +
        public AnnotationPrinter(boolean sort,
        +                 java.lang.StringBuilder b)
        +
        Parameters:
        sort - when true, sort annotation members by name (case sensitive)
        b - StringBuilder to get printed results
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.annotation.Annotation value)
        +
        Prints the annotation to the builder passed to the constructor.
        +
        Parameters:
        value - Annotation to visit
        +
        Returns:
        null
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.annotation.Annotation value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits an annotation by breaking it down into its components and calling + various other visit methods.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member or not part of an annotation
        pos - position of member in list or array
        value - Annotation visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     int value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit ints.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - int visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     long value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit longs.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - long visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     float value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit floats.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - float visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     double value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit doubles.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - double visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     boolean value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit booleans.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - boolean visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     byte value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit bytes.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - byte visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     short value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit shorts.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - short visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     char value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit chars.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - char visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.String value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit Strings.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - String visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.Class value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit Classes.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Class visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.Enum value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Override to visit Enums.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Enum visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.annotation.Annotation[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Annotation array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     int[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - int array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     long[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - long array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     float[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - float array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     double[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - double array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     boolean[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - boolean array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     byte[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - byte array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     short[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - short array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     char[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - char array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.String[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - String array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.Class[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Class array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + +
        +
      • +

        visit

        +
        public java.lang.Object visit(java.lang.String name,
        +                     int pos,
        +                     java.lang.Enum[] value,
        +                     java.lang.Object param)
        +
        Description copied from class: AnnotationVisitor
        +
        Visits each array element.
        +
        +
        Overrides:
        +
        visit in class AnnotationVisitor<java.lang.Object,java.lang.Object>
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Enum array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/AnnotationVisitor.html b/apidocs/com/amazon/carbonado/util/AnnotationVisitor.html new file mode 100644 index 0000000..d50805a --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/AnnotationVisitor.html @@ -0,0 +1,903 @@ + + + + + + +AnnotationVisitor (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.util
+

Class AnnotationVisitor<R,P>

+
+
+ +
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      AnnotationVisitor(boolean sort) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      Rvisit(java.lang.annotation.Annotation value, + P param) +
      Visits an annotation by breaking it down into its components and calling + various other visit methods.
      +
      Rvisit(java.lang.String name, + int pos, + java.lang.annotation.Annotation[] value, + P param) +
      Visits each array element.
      +
      Rvisit(java.lang.String name, + int pos, + java.lang.annotation.Annotation value, + P param) +
      Visits an annotation by breaking it down into its components and calling + various other visit methods.
      +
      Rvisit(java.lang.String name, + int pos, + boolean[] value, + P param) +
      Visits each array element.
      +
      Rvisit(java.lang.String name, + int pos, + boolean value, + P param) +
      Override to visit booleans.
      +
      Rvisit(java.lang.String name, + int pos, + byte[] value, + P param) +
      Visits each array element.
      +
      Rvisit(java.lang.String name, + int pos, + byte value, + P param) +
      Override to visit bytes.
      +
      Rvisit(java.lang.String name, + int pos, + char[] value, + P param) +
      Visits each array element.
      +
      Rvisit(java.lang.String name, + int pos, + char value, + P param) +
      Override to visit chars.
      +
      Rvisit(java.lang.String name, + int pos, + java.lang.Class[] value, + P param) +
      Visits each array element.
      +
      Rvisit(java.lang.String name, + int pos, + java.lang.Class value, + P param) +
      Override to visit Classes.
      +
      Rvisit(java.lang.String name, + int pos, + double[] value, + P param) +
      Visits each array element.
      +
      Rvisit(java.lang.String name, + int pos, + double value, + P param) +
      Override to visit doubles.
      +
      Rvisit(java.lang.String name, + int pos, + java.lang.Enum[] value, + P param) +
      Visits each array element.
      +
      Rvisit(java.lang.String name, + int pos, + java.lang.Enum value, + P param) +
      Override to visit Enums.
      +
      Rvisit(java.lang.String name, + int pos, + float[] value, + P param) +
      Visits each array element.
      +
      Rvisit(java.lang.String name, + int pos, + float value, + P param) +
      Override to visit floats.
      +
      Rvisit(java.lang.String name, + int pos, + int[] value, + P param) +
      Visits each array element.
      +
      Rvisit(java.lang.String name, + int pos, + int value, + P param) +
      Override to visit ints.
      +
      Rvisit(java.lang.String name, + int pos, + long[] value, + P param) +
      Visits each array element.
      +
      Rvisit(java.lang.String name, + int pos, + long value, + P param) +
      Override to visit longs.
      +
      Rvisit(java.lang.String name, + int pos, + short[] value, + P param) +
      Visits each array element.
      +
      Rvisit(java.lang.String name, + int pos, + short value, + P param) +
      Override to visit shorts.
      +
      Rvisit(java.lang.String name, + int pos, + java.lang.String[] value, + P param) +
      Visits each array element.
      +
      Rvisit(java.lang.String name, + int pos, + java.lang.String value, + P param) +
      Override to visit Strings.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AnnotationVisitor

        +
        public AnnotationVisitor(boolean sort)
        +
        Parameters:
        sort - when true, sort annotation members by name (case sensitive)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        visit

        +
        public final R visit(java.lang.annotation.Annotation value,
        +      P param)
        +
        Visits an annotation by breaking it down into its components and calling + various other visit methods.
        +
        Parameters:
        value - Initial Annotation to visit
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      java.lang.annotation.Annotation value,
        +      P param)
        +
        Visits an annotation by breaking it down into its components and calling + various other visit methods.
        +
        Parameters:
        name - member name, or null if array member or not part of an annotation
        pos - position of member in list or array
        value - Annotation visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      int value,
        +      P param)
        +
        Override to visit ints.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - int visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      long value,
        +      P param)
        +
        Override to visit longs.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - long visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      float value,
        +      P param)
        +
        Override to visit floats.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - float visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      double value,
        +      P param)
        +
        Override to visit doubles.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - double visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      boolean value,
        +      P param)
        +
        Override to visit booleans.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - boolean visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      byte value,
        +      P param)
        +
        Override to visit bytes.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - byte visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      short value,
        +      P param)
        +
        Override to visit shorts.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - short visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      char value,
        +      P param)
        +
        Override to visit chars.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - char visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      java.lang.String value,
        +      P param)
        +
        Override to visit Strings.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - String visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      java.lang.Class value,
        +      P param)
        +
        Override to visit Classes.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Class visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      java.lang.Enum value,
        +      P param)
        +
        Override to visit Enums.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Enum visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      java.lang.annotation.Annotation[] value,
        +      P param)
        +
        Visits each array element.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Annotation array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      int[] value,
        +      P param)
        +
        Visits each array element.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - int array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      long[] value,
        +      P param)
        +
        Visits each array element.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - long array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      float[] value,
        +      P param)
        +
        Visits each array element.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - float array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      double[] value,
        +      P param)
        +
        Visits each array element.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - double array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      boolean[] value,
        +      P param)
        +
        Visits each array element.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - boolean array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      byte[] value,
        +      P param)
        +
        Visits each array element.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - byte array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      short[] value,
        +      P param)
        +
        Visits each array element.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - short array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      char[] value,
        +      P param)
        +
        Visits each array element.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - char array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      java.lang.String[] value,
        +      P param)
        +
        Visits each array element.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - String array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      java.lang.Class[] value,
        +      P param)
        +
        Visits each array element.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Class array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      + + + + + +
        +
      • +

        visit

        +
        public R visit(java.lang.String name,
        +      int pos,
        +      java.lang.Enum[] value,
        +      P param)
        +
        Visits each array element.
        +
        Parameters:
        name - member name, or null if array member
        pos - position of member in list or array
        value - Enum array visited
        param - custom parameter
        +
        Returns:
        custom result, null by default
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/Appender.html b/apidocs/com/amazon/carbonado/util/Appender.html new file mode 100644 index 0000000..0f233d4 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/Appender.html @@ -0,0 +1,228 @@ + + + + + + +Appender (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.util
+

Interface Appender

+
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voidappendTo(java.lang.Appendable appendable) +
      Append the string representation of this object to the given Appendable.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        appendTo

        +
        void appendTo(java.lang.Appendable appendable)
        +              throws java.io.IOException
        +
        Append the string representation of this object to the given Appendable.
        +
        Parameters:
        appendable - Appendable object to receive string representation
        +
        Throws:
        +
        java.io.IOException - if thrown from given Appendable
        +
        java.lang.NullPointerException - if appendable is null
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/BelatedCreationException.html b/apidocs/com/amazon/carbonado/util/BelatedCreationException.html new file mode 100644 index 0000000..b6e8fe2 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/BelatedCreationException.html @@ -0,0 +1,289 @@ + + + + + + +BelatedCreationException (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.util
+

Class BelatedCreationException

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable
    +
    +
    +
    +
    public class BelatedCreationException
    +extends java.lang.IllegalStateException
    +
    Exception throw when attempting to perform an unavailable operation on an + object undergoing belated creation.
    +
    Author:
    +
    Jesse Morgan (morganjm)
    +
    See Also:
    com.amazon.carbonado.util.BelatedCreator;, +Serialized Form
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      BelatedCreationException(java.lang.String message) +
      Create a new exception with the given message.
      +
      BelatedCreationException(java.lang.String message, + java.lang.Throwable cause) +
      Create a new exception with the given message and cause.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Throwable

        +addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BelatedCreationException

        +
        public BelatedCreationException(java.lang.String message)
        +
        Create a new exception with the given message.
        +
        Parameters:
        message - The exception message.
        +
      • +
      + + + +
        +
      • +

        BelatedCreationException

        +
        public BelatedCreationException(java.lang.String message,
        +                        java.lang.Throwable cause)
        +
        Create a new exception with the given message and cause.
        +
        Parameters:
        message - The exception message.
        cause - The cause of the exception.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/BelatedCreator.html b/apidocs/com/amazon/carbonado/util/BelatedCreator.html new file mode 100644 index 0000000..c371327 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/BelatedCreator.html @@ -0,0 +1,371 @@ + + + + + + +BelatedCreator (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.util
+

Class BelatedCreator<T,E extends java.lang.Exception>

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    BelatedRepositoryCreator, BelatedStorageCreator
    +
    +
    +
    +
    public abstract class BelatedCreator<T,E extends java.lang.Exception>
    +extends java.lang.Object
    +
    Generic one-shot factory which supports late object creation. If the object + creation results in an exception or is taking too long, the object produced + instead is a bogus one. After retrying, if the real object is created, then + the bogus object turns into a wrapper to the real object. + +

    Note: If a bogus object is created, the wrapper cannot always be a drop-in + replacement for the real object. If the wrapper is cloned, it won't have the + same behavior as cloning the real object. Also, synchronizing on the wrapper + will not synchronize the real object.

    +
    Author:
    +
    Brian S O'Neill
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ModifierConstructor and Description
      protected BelatedCreator(java.lang.Class<T> type, + int minRetryDelayMillis) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      protected abstract TcreateBogus() +
      Create instance of bogus object.
      +
      protected voidcreatedNotification(T object) +
      Notification that createReal has produced the real object.
      +
      protected abstract TcreateReal() +
      Create instance of real object.
      +
      Tget(int timeoutMillis) +
      Returns real or bogus object.
      +
      protected abstract voidtimedOutNotification(long timedOutMillis) +
      Notification that createReal is taking too long.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BelatedCreator

        +
        protected BelatedCreator(java.lang.Class<T> type,
        +              int minRetryDelayMillis)
        +
        Parameters:
        type - type of object created
        minRetryDelayMillis - minimum milliseconds to wait before retrying + to create object after failure; if negative, never retry
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if type is null or is not an interface
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        get

        +
        public T get(int timeoutMillis)
        +      throws E extends java.lang.Exception
        +
        Returns real or bogus object. If real object is returned, then future + invocations of this method return the same real object instance. This + method waits for the real object to be created, if it is blocked. If + real object creation fails immediately, then this method will not wait, + returning a bogus object immediately instead.
        +
        Parameters:
        timeoutMillis - maximum time to wait for real object before + returning bogus one; if negative, potentially wait forever
        +
        Throws:
        +
        E - exception thrown from createReal
        +
        E extends java.lang.Exception
        +
      • +
      + + + +
        +
      • +

        createReal

        +
        protected abstract T createReal()
        +                         throws E extends java.lang.Exception
        +
        Create instance of real object. If there is a recoverable error creating + the object, return null. Any error logging must be performed by the + implementation of this method. If null is returned, expect this method + to be called again in the future.
        +
        Returns:
        real object, or null if there was a recoverable error
        +
        Throws:
        +
        E - unrecoverable error
        +
        E extends java.lang.Exception
        +
      • +
      + + + +
        +
      • +

        createBogus

        +
        protected abstract T createBogus()
        +
        Create instance of bogus object.
        +
      • +
      + + + +
        +
      • +

        timedOutNotification

        +
        protected abstract void timedOutNotification(long timedOutMillis)
        +
        Notification that createReal is taking too long. This can be used to log + a message.
        +
        Parameters:
        timedOutMillis - milliseconds waited before giving up
        +
      • +
      + + + + + +
        +
      • +

        createdNotification

        +
        protected void createdNotification(T object)
        +
        Notification that createReal has produced the real object. The default + implementation does nothing.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/Comparators.html b/apidocs/com/amazon/carbonado/util/Comparators.html new file mode 100644 index 0000000..0f5122d --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/Comparators.html @@ -0,0 +1,270 @@ + + + + + + +Comparators (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.util
+

Class Comparators

+
+
+ +
+
    +
  • +
    +
    +
    public class Comparators
    +extends java.lang.Object
    +
    Collection of utility comparators.
    +
    Author:
    +
    Brian S O'Neill
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Comparators() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static <T> java.util.Comparator<T>arrayComparator(java.lang.Class<T> arrayType, + boolean unsigned) +
      Returns a comparator which can sort single or multi-dimensional arrays + of primitves or Comparables.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Comparators

        +
        public Comparators()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        arrayComparator

        +
        public static <T> java.util.Comparator<T> arrayComparator(java.lang.Class<T> arrayType,
        +                                          boolean unsigned)
        +
        Returns a comparator which can sort single or multi-dimensional arrays + of primitves or Comparables.
        +
        Parameters:
        unsigned - applicable only to arrays of bytes, shorts, ints, or longs
        +
        Returns:
        null if unsupported
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/ConversionComparator.html b/apidocs/com/amazon/carbonado/util/ConversionComparator.html new file mode 100644 index 0000000..372fa56 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/ConversionComparator.html @@ -0,0 +1,302 @@ + + + + + + +ConversionComparator (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.util
+

Class ConversionComparator

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.util.Comparator<java.lang.Class>
    +
    +
    +
    +
    public class ConversionComparator
    +extends java.lang.Object
    +implements java.util.Comparator<java.lang.Class>
    +
    Compares type conversions, finding the one that is nearest.
    +
    Since:
    +
    1.2
    +
    Author:
    +
    Brian S O'Neill
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      ConversionComparator(java.lang.Class fromType) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      intcompare(java.lang.Class toType_a, + java.lang.Class toType_b) +
      Evaluates two types, to see which one is nearest to the from type.
      +
      booleanisConversionPossible(java.lang.Class toType) +
      Returns true if a coversion is possible to the given type.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
        +
      • + + +

        Methods inherited from interface java.util.Comparator

        +equals
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ConversionComparator

        +
        public ConversionComparator(java.lang.Class fromType)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isConversionPossible

        +
        public boolean isConversionPossible(java.lang.Class toType)
        +
        Returns true if a coversion is possible to the given type.
        +
      • +
      + + + +
        +
      • +

        compare

        +
        public int compare(java.lang.Class toType_a,
        +          java.lang.Class toType_b)
        +
        Evaluates two types, to see which one is nearest to the from type. + Return <0 if "a" is nearest, 0 if both are equally good, + >0 if "b" is nearest.
        +
        +
        Specified by:
        +
        compare in interface java.util.Comparator<java.lang.Class>
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/Converter.html b/apidocs/com/amazon/carbonado/util/Converter.html new file mode 100644 index 0000000..aeb09ee --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/Converter.html @@ -0,0 +1,453 @@ + + + + + + +Converter (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.util
+

Class Converter

+
+
+ +
+
    +
  • +
    +
    +
    public abstract class Converter
    +extends java.lang.Object
    +
    General purpose type converter. Custom conversions are possible by supplying + an abstract subclass which has public conversion methods whose names begin + with "convert". Each conversion method takes a single argument and returns a + value.
    +
    Since:
    +
    1.2
    +
    Author:
    +
    Brian S O'Neill
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Converter() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static <C extends Converter
      C
      build(java.lang.Class<C> converterType) 
      static <C extends Converter
      java.lang.Class<? extends C>
      buildClass(java.lang.Class<C> converterType) 
      protected java.lang.IllegalArgumentExceptionconversionNotSupported(java.lang.Object fromValue, + java.lang.Class fromType, + java.lang.Class toType) 
      abstract <T> Tconvert(boolean from, + java.lang.Class<T> toType) 
      abstract <T> Tconvert(byte from, + java.lang.Class<T> toType) 
      abstract <T> Tconvert(char from, + java.lang.Class<T> toType) 
      abstract <T> Tconvert(double from, + java.lang.Class<T> toType) 
      abstract <T> Tconvert(float from, + java.lang.Class<T> toType) 
      abstract <T> Tconvert(int from, + java.lang.Class<T> toType) 
      abstract <T> Tconvert(long from, + java.lang.Class<T> toType) 
      abstract <T> Tconvert(java.lang.Object from, + java.lang.Class<T> toType) 
      abstract <T> Tconvert(short from, + java.lang.Class<T> toType) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Converter

        +
        public Converter()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        build

        +
        public static <C extends Converter> C build(java.lang.Class<C> converterType)
        +
        Parameters:
        converterType - type of converter to generate
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if converter doesn't a no-arg constructor
        +
      • +
      + + + +
        +
      • +

        buildClass

        +
        public static <C extends Converter> java.lang.Class<? extends C> buildClass(java.lang.Class<C> converterType)
        +
        Parameters:
        converterType - type of converter to generate
        +
      • +
      + + + +
        +
      • +

        convert

        +
        public abstract <T> T convert(java.lang.Object from,
        +            java.lang.Class<T> toType)
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if conversion is not supported
        +
      • +
      + + + +
        +
      • +

        convert

        +
        public abstract <T> T convert(byte from,
        +            java.lang.Class<T> toType)
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if conversion is not supported
        +
      • +
      + + + +
        +
      • +

        convert

        +
        public abstract <T> T convert(short from,
        +            java.lang.Class<T> toType)
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if conversion is not supported
        +
      • +
      + + + +
        +
      • +

        convert

        +
        public abstract <T> T convert(int from,
        +            java.lang.Class<T> toType)
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if conversion is not supported
        +
      • +
      + + + +
        +
      • +

        convert

        +
        public abstract <T> T convert(long from,
        +            java.lang.Class<T> toType)
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if conversion is not supported
        +
      • +
      + + + +
        +
      • +

        convert

        +
        public abstract <T> T convert(float from,
        +            java.lang.Class<T> toType)
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if conversion is not supported
        +
      • +
      + + + +
        +
      • +

        convert

        +
        public abstract <T> T convert(double from,
        +            java.lang.Class<T> toType)
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if conversion is not supported
        +
      • +
      + + + +
        +
      • +

        convert

        +
        public abstract <T> T convert(boolean from,
        +            java.lang.Class<T> toType)
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if conversion is not supported
        +
      • +
      + + + +
        +
      • +

        convert

        +
        public abstract <T> T convert(char from,
        +            java.lang.Class<T> toType)
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if conversion is not supported
        +
      • +
      + + + +
        +
      • +

        conversionNotSupported

        +
        protected java.lang.IllegalArgumentException conversionNotSupported(java.lang.Object fromValue,
        +                                                        java.lang.Class fromType,
        +                                                        java.lang.Class toType)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/QuickConstructorGenerator.html b/apidocs/com/amazon/carbonado/util/QuickConstructorGenerator.html new file mode 100644 index 0000000..5abe8a7 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/QuickConstructorGenerator.html @@ -0,0 +1,314 @@ + + + + + + +QuickConstructorGenerator (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.util
+

Class QuickConstructorGenerator

+
+
+ +
+
    +
  • +
    +
    Deprecated.  +
    use QuickConstructorGenerator
    +
    +
    +
    @Deprecated
    +public class QuickConstructorGenerator
    +extends java.lang.Object
    +
    Generates code to invoke constructors. This is a replacement for Constructor which is easier to use and performs + better. In one tested situation, overall performance was improved by about + 10%. + +

    QuickConstructorGenerator is not general purpose however, as the + parameters to the constructor must be known, and the constructor must be + public. It is intended to be used for constructing instances of + auto-generated classes. The exact parameters may be known at compile time, + but the actual object type is not.

    +
    Author:
    +
    Brian S O'Neill
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static <F> FgetInstance(java.lang.Class<?> objectType, + java.lang.Class<F> factory) +
      Deprecated. 
      +
      Returns a factory instance for one type of object.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        QuickConstructorGenerator

        +
        public QuickConstructorGenerator()
        +
        Deprecated. 
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getInstance

        +
        public static <F> F getInstance(java.lang.Class<?> objectType,
        +                java.lang.Class<F> factory)
        +
        Deprecated. 
        +
        Returns a factory instance for one type of object. Each method in the + interface defines a constructor via its parameters. Any checked + exceptions declared thrown by the constructor must also be declared by + the method. The method return types can be the same type as the + constructed object or a supertype. + +

        Here is a contrived example for constructing strings. In practice, + such a string factory is is useless, since the "new" operator can be + invoked directly. + +

        + public interface StringFactory {
        +     String newEmptyString();
        +
        +     String newStringFromChars(char[] chars);
        +
        +     String newStringFromBytes(byte[] bytes, String charsetName)
        +         throws UnsupportedEncodingException;
        + }
        + 
        + + Here's an example of it being used: + +
        + StringFactory sf = QuickConstructorGenerator.getInstance(String.class, StringFactory.class);
        + ...
        + String str = sf.newStringFromChars(new char[] {'h', 'e', 'l', 'l', 'o'});
        + 
        +
        Parameters:
        objectType - type of object to construct
        factory - interface defining which objects can be constructed
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if factory type is not an interface or + if it is malformed
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/SoftValuedCache.html b/apidocs/com/amazon/carbonado/util/SoftValuedCache.html new file mode 100644 index 0000000..387df33 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/SoftValuedCache.html @@ -0,0 +1,478 @@ + + + + + + +SoftValuedCache (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.util
+

Class SoftValuedCache<K,V>

+
+
+ +
+
    +
  • +
    +
    Deprecated.  +
    use Cojen Cache interface
    +
    +
    +
    @Deprecated
    +public abstract class SoftValuedCache<K,V>
    +extends java.lang.Object
    +
    Simple thread-safe cache which evicts entries via a shared background + thread. Cache permits null keys, but not null values.
    +
    Author:
    +
    Brian S O'Neill
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      SoftValuedCache() +
      Deprecated. 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      abstract voidclear() +
      Deprecated. 
      abstract Vget(K key) +
      Deprecated. 
      abstract booleanisEmpty() +
      Deprecated. 
      static <K,V> SoftValuedCache<K,V>newCache(int capacity) +
      Deprecated. 
      abstract Vput(K key, + V value) +
      Deprecated. 
      abstract VputIfAbsent(K key, + V value) +
      Deprecated. 
      abstract Vremove(K key) +
      Deprecated. 
      abstract booleanremove(K key, + V value) +
      Deprecated. 
      abstract Vreplace(K key, + V value) +
      Deprecated. 
      abstract booleanreplace(K key, + V oldValue, + V newValue) +
      Deprecated. 
      abstract intsize() +
      Deprecated. 
      abstract java.lang.StringtoString() +
      Deprecated. 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SoftValuedCache

        +
        public SoftValuedCache()
        +
        Deprecated. 
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        newCache

        +
        public static <K,V> SoftValuedCache<K,V> newCache(int capacity)
        +
        Deprecated. 
        +
      • +
      + + + +
        +
      • +

        size

        +
        public abstract int size()
        +
        Deprecated. 
        +
      • +
      + + + +
        +
      • +

        isEmpty

        +
        public abstract boolean isEmpty()
        +
        Deprecated. 
        +
      • +
      + + + + + +
        +
      • +

        get

        +
        public abstract V get(K key)
        +
        Deprecated. 
        +
      • +
      + + + + + +
        +
      • +

        put

        +
        public abstract V put(K key,
        +    V value)
        +
        Deprecated. 
        +
      • +
      + + + + + +
        +
      • +

        putIfAbsent

        +
        public abstract V putIfAbsent(K key,
        +            V value)
        +
        Deprecated. 
        +
      • +
      + + + + + +
        +
      • +

        remove

        +
        public abstract V remove(K key)
        +
        Deprecated. 
        +
      • +
      + + + + + +
        +
      • +

        remove

        +
        public abstract boolean remove(K key,
        +             V value)
        +
        Deprecated. 
        +
      • +
      + + + + + +
        +
      • +

        replace

        +
        public abstract boolean replace(K key,
        +              V oldValue,
        +              V newValue)
        +
        Deprecated. 
        +
      • +
      + + + + + +
        +
      • +

        replace

        +
        public abstract V replace(K key,
        +        V value)
        +
        Deprecated. 
        +
      • +
      + + + +
        +
      • +

        clear

        +
        public abstract void clear()
        +
        Deprecated. 
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public abstract java.lang.String toString()
        +
        Deprecated. 
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/TaskQueueThread.html b/apidocs/com/amazon/carbonado/util/TaskQueueThread.html new file mode 100644 index 0000000..441eb60 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/TaskQueueThread.html @@ -0,0 +1,402 @@ + + + + + + +TaskQueueThread (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.util
+

Class TaskQueueThread

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.lang.Runnable, java.util.concurrent.Executor
    +
    +
    +
    +
    public class TaskQueueThread
    +extends java.lang.Thread
    +implements java.util.concurrent.Executor
    +
    Simple generic queue for running tasks from a single thread. Be sure to call + shutdown or interrupt when done using the thread, or else it will never exit.
    +
    Author:
    +
    Brian S O'Neill
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class java.lang.Thread

        +java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
      • +
      +
    • +
    + +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class java.lang.Thread

        +MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      TaskQueueThread(java.lang.String name, + int queueSize) 
      TaskQueueThread(java.lang.String name, + int queueSize, + long timeoutMillis) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voidexecute(java.lang.Runnable task) +
      Enqueue a task to run.
      +
      voidexecute(java.lang.Runnable task, + long timeoutMillis) +
      Enqueue a task to run.
      +
      voidrun() 
      voidshutdown() +
      Indicate that this task queue thread should finish running its enqueued + tasks and then exit.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Thread

        +activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TaskQueueThread

        +
        public TaskQueueThread(java.lang.String name,
        +               int queueSize)
        +
        Parameters:
        name - name to give this thread
        queueSize - fixed size of queue
        +
      • +
      + + + +
        +
      • +

        TaskQueueThread

        +
        public TaskQueueThread(java.lang.String name,
        +               int queueSize,
        +               long timeoutMillis)
        +
        Parameters:
        name - name to give this thread
        queueSize - fixed size of queue
        timeoutMillis - default maximum time to wait for queue to have an available slot
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        execute

        +
        public void execute(java.lang.Runnable task)
        +             throws java.util.concurrent.RejectedExecutionException
        +
        Enqueue a task to run.
        +
        +
        Specified by:
        +
        execute in interface java.util.concurrent.Executor
        +
        Parameters:
        task - task to enqueue
        +
        Throws:
        +
        java.util.concurrent.RejectedExecutionException - if wait interrupted, timeout expires, + or shutdown has been called
        +
      • +
      + + + +
        +
      • +

        execute

        +
        public void execute(java.lang.Runnable task,
        +           long timeoutMillis)
        +             throws java.util.concurrent.RejectedExecutionException
        +
        Enqueue a task to run.
        +
        Parameters:
        task - task to enqueue
        timeoutMillis - maximum time to wait for queue to have an available slot
        +
        Throws:
        +
        java.util.concurrent.RejectedExecutionException - if wait interrupted, timeout expires, + or shutdown has been called
        +
      • +
      + + + +
        +
      • +

        shutdown

        +
        public void shutdown()
        +
        Indicate that this task queue thread should finish running its enqueued + tasks and then exit. Enqueueing new tasks will result in a + RejectedExecutionException being thrown. Join on this thread to wait for + it to exit.
        +
      • +
      + + + +
        +
      • +

        run

        +
        public void run()
        +
        +
        Specified by:
        +
        run in interface java.lang.Runnable
        +
        Overrides:
        +
        run in class java.lang.Thread
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/Throttle.html b/apidocs/com/amazon/carbonado/util/Throttle.html new file mode 100644 index 0000000..92bb111 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/Throttle.html @@ -0,0 +1,300 @@ + + + + + + +Throttle (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.util
+

Class Throttle

+
+
+ +
+
    +
  • +
    +
    +
    public class Throttle
    +extends java.lang.Object
    +
    General purpose class for throttling work relative to its actual measured + performance. To throttle a task, call the throttle method each time a unit + of work has been performed. It computes a rolling average for the amount of + time it takes to perform some work, and then it sleeps a calculated amount + of time to throttle back. + +

    Instances are intended for use by one thread, and so they are not + thread-safe.

    +
    Author:
    +
    Brian S O'Neill
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Throttle(int windowSize) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static voidmain(java.lang.String[] args) +
      Test program which exercises the CPU in an infinite loop, throttled by + the amount given in args[0].
      +
      voidthrottle(double desiredSpeed, + long sleepPrecisionMillis) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Throttle

        +
        public Throttle(int windowSize)
        +
        Parameters:
        windowSize - amount of samples to keep in the rolling average
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        throttle

        +
        public void throttle(double desiredSpeed,
        +            long sleepPrecisionMillis)
        +              throws java.lang.InterruptedException
        +
        Parameters:
        desiredSpeed - 1.0 = perform work at full speed, + 0.5 = perform work at half speed, 0.0 = fully suspend work
        sleepPrecisionMillis - sleep precision, in milliseconds. Typical + value is 10 to 100 milliseconds.
        +
        Throws:
        +
        java.lang.InterruptedException
        +
      • +
      + + + +
        +
      • +

        main

        +
        public static void main(java.lang.String[] args)
        +                 throws java.lang.Exception
        +
        Test program which exercises the CPU in an infinite loop, throttled by + the amount given in args[0]. On a machine performing no other work, the + average CPU load should be about the same as the throttled speed.
        +
        Parameters:
        args - args[0] - desired speed, 0.0 to 1.0
        +
        Throws:
        +
        java.lang.Exception
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/ThrowUnchecked.html b/apidocs/com/amazon/carbonado/util/ThrowUnchecked.html new file mode 100644 index 0000000..3eb5816 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/ThrowUnchecked.html @@ -0,0 +1,495 @@ + + + + + + +ThrowUnchecked (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.util
+

Class ThrowUnchecked

+
+
+ +
+
    +
  • +
    +
    Deprecated.  +
    use ThrowUnchecked instead
    +
    +
    +
    public abstract class ThrowUnchecked
    +extends java.lang.Object
    +
    Allows exceptions to be thrown which aren't declared to be thrown. Use of + this technique can cause confusion since it violates the Java language rules + for undeclared checked exceptions. For this reason, this class should not be + used except under special circumstances such as to work around compiler + bugs. An exception can be made, if calling any of the fireDeclared methods + and the set of declared types matches what the caller is allowed to throw. + +

    Example: + +

    + public <E extends Throwable> void someMethod(E exception) throws E {
    +     ...
    +
    +     // Apparent compiler bug sometimes disallows this. Doesn't appear to
    +     // show up when compiling source files individually.
    +
    +     //throw exception;
    +
    +     // Throw it this way instead, and compiler doesn't know.
    +     ThrowUnchecked.fire(exception);
    + }
    + 
    +
    Author:
    +
    Brian S O'Neill
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + +
      Constructors 
      ModifierConstructor and Description
      protected ThrowUnchecked() +
      Deprecated. 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      protected abstract voiddoFire(java.lang.Throwable t) +
      Deprecated. 
      static voidfire(java.lang.Throwable t) +
      Deprecated. 
      +
      Throws the given exception, even though it may be checked.
      +
      static voidfireCause(java.lang.Throwable t) +
      Deprecated. 
      +
      Throws the cause of the given exception, even though it may be + checked.
      +
      static voidfireDeclared(java.lang.Throwable t, + java.lang.Class... declaredTypes) +
      Deprecated. 
      +
      Throws the given exception if it is unchecked or an instance of any of + the given declared types.
      +
      static voidfireDeclaredCause(java.lang.Throwable t, + java.lang.Class... declaredTypes) +
      Deprecated. 
      +
      Throws the cause of the given exception if it is unchecked or an + instance of any of the given declared types.
      +
      static voidfireDeclaredRootCause(java.lang.Throwable t, + java.lang.Class... declaredTypes) +
      Deprecated. 
      +
      Throws the root cause of the given exception if it is unchecked or an + instance of any of the given declared types.
      +
      static voidfireFirstDeclared(java.lang.Throwable t, + java.lang.Class... declaredTypes) +
      Deprecated. 
      +
      Throws the either the original exception or the first found cause if it + matches one of the given declared types or is unchecked.
      +
      static voidfireFirstDeclaredCause(java.lang.Throwable t, + java.lang.Class... declaredTypes) +
      Deprecated. 
      +
      Throws the first found cause that matches one of the given declared + types or is unchecked.
      +
      static voidfireRootCause(java.lang.Throwable t) +
      Deprecated. 
      +
      Throws the root cause of the given exception, even though it may be + checked.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ThrowUnchecked

        +
        protected ThrowUnchecked()
        +
        Deprecated. 
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        fire

        +
        public static void fire(java.lang.Throwable t)
        +
        Deprecated. 
        +
        Throws the given exception, even though it may be checked. This method + only returns normally if the exception is null.
        +
        Parameters:
        t - exception to throw
        +
      • +
      + + + +
        +
      • +

        fireDeclared

        +
        public static void fireDeclared(java.lang.Throwable t,
        +                java.lang.Class... declaredTypes)
        +
        Deprecated. 
        +
        Throws the given exception if it is unchecked or an instance of any of + the given declared types. Otherwise, it is thrown as an + UndeclaredThrowableException. This method only returns normally if the + exception is null.
        +
        Parameters:
        t - exception to throw
        declaredTypes - if exception is checked and is not an instance of + any of these types, then it is thrown as an + UndeclaredThrowableException.
        +
      • +
      + + + +
        +
      • +

        fireFirstDeclared

        +
        public static void fireFirstDeclared(java.lang.Throwable t,
        +                     java.lang.Class... declaredTypes)
        +
        Deprecated. 
        +
        Throws the either the original exception or the first found cause if it + matches one of the given declared types or is unchecked. Otherwise, the + original exception is thrown as an UndeclaredThrowableException. This + method only returns normally if the exception is null.
        +
        Parameters:
        t - exception whose cause is to be thrown
        declaredTypes - if exception is checked and is not an instance of + any of these types, then it is thrown as an + UndeclaredThrowableException.
        +
      • +
      + + + +
        +
      • +

        fireCause

        +
        public static void fireCause(java.lang.Throwable t)
        +
        Deprecated. 
        +
        Throws the cause of the given exception, even though it may be + checked. If the cause is null, then the original exception is + thrown. This method only returns normally if the exception is null.
        +
        Parameters:
        t - exception whose cause is to be thrown
        +
      • +
      + + + +
        +
      • +

        fireDeclaredCause

        +
        public static void fireDeclaredCause(java.lang.Throwable t,
        +                     java.lang.Class... declaredTypes)
        +
        Deprecated. 
        +
        Throws the cause of the given exception if it is unchecked or an + instance of any of the given declared types. Otherwise, it is thrown as + an UndeclaredThrowableException. If the cause is null, then the original + exception is thrown. This method only returns normally if the exception + is null.
        +
        Parameters:
        t - exception whose cause is to be thrown
        declaredTypes - if exception is checked and is not an instance of + any of these types, then it is thrown as an + UndeclaredThrowableException.
        +
      • +
      + + + +
        +
      • +

        fireFirstDeclaredCause

        +
        public static void fireFirstDeclaredCause(java.lang.Throwable t,
        +                          java.lang.Class... declaredTypes)
        +
        Deprecated. 
        +
        Throws the first found cause that matches one of the given declared + types or is unchecked. Otherwise, the immediate cause is thrown as an + UndeclaredThrowableException. If the immediate cause is null, then the + original exception is thrown. This method only returns normally if the + exception is null.
        +
        Parameters:
        t - exception whose cause is to be thrown
        declaredTypes - if exception is checked and is not an instance of + any of these types, then it is thrown as an + UndeclaredThrowableException.
        +
      • +
      + + + +
        +
      • +

        fireRootCause

        +
        public static void fireRootCause(java.lang.Throwable t)
        +
        Deprecated. 
        +
        Throws the root cause of the given exception, even though it may be + checked. If the root cause is null, then the original exception is + thrown. This method only returns normally if the exception is null.
        +
        Parameters:
        t - exception whose root cause is to be thrown
        +
      • +
      + + + +
        +
      • +

        fireDeclaredRootCause

        +
        public static void fireDeclaredRootCause(java.lang.Throwable t,
        +                         java.lang.Class... declaredTypes)
        +
        Deprecated. 
        +
        Throws the root cause of the given exception if it is unchecked or an + instance of any of the given declared types. Otherwise, it is thrown as + an UndeclaredThrowableException. If the root cause is null, then the + original exception is thrown. This method only returns normally if the + exception is null.
        +
        Parameters:
        t - exception whose root cause is to be thrown
        declaredTypes - if exception is checked and is not an instance of + any of these types, then it is thrown as an + UndeclaredThrowableException.
        +
      • +
      + + + +
        +
      • +

        doFire

        +
        protected abstract void doFire(java.lang.Throwable t)
        +
        Deprecated. 
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/class-use/AbstractPool.html b/apidocs/com/amazon/carbonado/util/class-use/AbstractPool.html new file mode 100644 index 0000000..1a7cd9d --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/class-use/AbstractPool.html @@ -0,0 +1,190 @@ + + + + + + +Uses of Class com.amazon.carbonado.util.AbstractPool (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.amazon.carbonado.util.AbstractPool

+
+
+ +
+ +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/class-use/AnnotationBuilder.html b/apidocs/com/amazon/carbonado/util/class-use/AnnotationBuilder.html new file mode 100644 index 0000000..d507751 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/class-use/AnnotationBuilder.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.amazon.carbonado.util.AnnotationBuilder (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.amazon.carbonado.util.AnnotationBuilder

+
+
No usage of com.amazon.carbonado.util.AnnotationBuilder
+ +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/class-use/AnnotationDescParser.html b/apidocs/com/amazon/carbonado/util/class-use/AnnotationDescParser.html new file mode 100644 index 0000000..4d87535 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/class-use/AnnotationDescParser.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.amazon.carbonado.util.AnnotationDescParser (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.amazon.carbonado.util.AnnotationDescParser

+
+
No usage of com.amazon.carbonado.util.AnnotationDescParser
+ +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/class-use/AnnotationDescPrinter.html b/apidocs/com/amazon/carbonado/util/class-use/AnnotationDescPrinter.html new file mode 100644 index 0000000..66ef665 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/class-use/AnnotationDescPrinter.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.amazon.carbonado.util.AnnotationDescPrinter (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.amazon.carbonado.util.AnnotationDescPrinter

+
+
No usage of com.amazon.carbonado.util.AnnotationDescPrinter
+ +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/class-use/AnnotationPrinter.html b/apidocs/com/amazon/carbonado/util/class-use/AnnotationPrinter.html new file mode 100644 index 0000000..73c334b --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/class-use/AnnotationPrinter.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.amazon.carbonado.util.AnnotationPrinter (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.amazon.carbonado.util.AnnotationPrinter

+
+
No usage of com.amazon.carbonado.util.AnnotationPrinter
+ +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/class-use/AnnotationVisitor.html b/apidocs/com/amazon/carbonado/util/class-use/AnnotationVisitor.html new file mode 100644 index 0000000..8adcce4 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/class-use/AnnotationVisitor.html @@ -0,0 +1,175 @@ + + + + + + +Uses of Class com.amazon.carbonado.util.AnnotationVisitor (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.amazon.carbonado.util.AnnotationVisitor

+
+
+ +
+ +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/class-use/Appender.html b/apidocs/com/amazon/carbonado/util/class-use/Appender.html new file mode 100644 index 0000000..652c5b6 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/class-use/Appender.html @@ -0,0 +1,335 @@ + + + + + + +Uses of Interface com.amazon.carbonado.util.Appender (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Interface
com.amazon.carbonado.util.Appender

+
+
+ +
+ +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/class-use/BelatedCreationException.html b/apidocs/com/amazon/carbonado/util/class-use/BelatedCreationException.html new file mode 100644 index 0000000..12ec4f2 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/class-use/BelatedCreationException.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.amazon.carbonado.util.BelatedCreationException (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.amazon.carbonado.util.BelatedCreationException

+
+
No usage of com.amazon.carbonado.util.BelatedCreationException
+ +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/class-use/BelatedCreator.html b/apidocs/com/amazon/carbonado/util/class-use/BelatedCreator.html new file mode 100644 index 0000000..92b0622 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/class-use/BelatedCreator.html @@ -0,0 +1,167 @@ + + + + + + +Uses of Class com.amazon.carbonado.util.BelatedCreator (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.amazon.carbonado.util.BelatedCreator

+
+
+ +
+ +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/class-use/Comparators.html b/apidocs/com/amazon/carbonado/util/class-use/Comparators.html new file mode 100644 index 0000000..c062f60 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/class-use/Comparators.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.amazon.carbonado.util.Comparators (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.amazon.carbonado.util.Comparators

+
+
No usage of com.amazon.carbonado.util.Comparators
+ +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/class-use/ConversionComparator.html b/apidocs/com/amazon/carbonado/util/class-use/ConversionComparator.html new file mode 100644 index 0000000..bc5b448 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/class-use/ConversionComparator.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.amazon.carbonado.util.ConversionComparator (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.amazon.carbonado.util.ConversionComparator

+
+
No usage of com.amazon.carbonado.util.ConversionComparator
+ +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/class-use/Converter.html b/apidocs/com/amazon/carbonado/util/class-use/Converter.html new file mode 100644 index 0000000..4a1d4be --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/class-use/Converter.html @@ -0,0 +1,164 @@ + + + + + + +Uses of Class com.amazon.carbonado.util.Converter (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.amazon.carbonado.util.Converter

+
+
+ +
+ +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/class-use/QuickConstructorGenerator.html b/apidocs/com/amazon/carbonado/util/class-use/QuickConstructorGenerator.html new file mode 100644 index 0000000..c88bd26 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/class-use/QuickConstructorGenerator.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.amazon.carbonado.util.QuickConstructorGenerator (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.amazon.carbonado.util.QuickConstructorGenerator

+
+
No usage of com.amazon.carbonado.util.QuickConstructorGenerator
+ +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/class-use/SoftValuedCache.html b/apidocs/com/amazon/carbonado/util/class-use/SoftValuedCache.html new file mode 100644 index 0000000..18f9056 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/class-use/SoftValuedCache.html @@ -0,0 +1,162 @@ + + + + + + +Uses of Class com.amazon.carbonado.util.SoftValuedCache (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.amazon.carbonado.util.SoftValuedCache

+
+
+ +
+ +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/class-use/TaskQueueThread.html b/apidocs/com/amazon/carbonado/util/class-use/TaskQueueThread.html new file mode 100644 index 0000000..1fc234e --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/class-use/TaskQueueThread.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.amazon.carbonado.util.TaskQueueThread (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.amazon.carbonado.util.TaskQueueThread

+
+
No usage of com.amazon.carbonado.util.TaskQueueThread
+ +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/class-use/Throttle.html b/apidocs/com/amazon/carbonado/util/class-use/Throttle.html new file mode 100644 index 0000000..d5f0ce3 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/class-use/Throttle.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.amazon.carbonado.util.Throttle (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.amazon.carbonado.util.Throttle

+
+
No usage of com.amazon.carbonado.util.Throttle
+ +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/class-use/ThrowUnchecked.html b/apidocs/com/amazon/carbonado/util/class-use/ThrowUnchecked.html new file mode 100644 index 0000000..4c3b7de --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/class-use/ThrowUnchecked.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.amazon.carbonado.util.ThrowUnchecked (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.amazon.carbonado.util.ThrowUnchecked

+
+
No usage of com.amazon.carbonado.util.ThrowUnchecked
+ +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/package-frame.html b/apidocs/com/amazon/carbonado/util/package-frame.html new file mode 100644 index 0000000..21b714e --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/package-frame.html @@ -0,0 +1,42 @@ + + + + + + +com.amazon.carbonado.util (Carbonado 1.2.3 API) + + + + +

com.amazon.carbonado.util

+
+

Interfaces

+ +

Classes

+ +

Exceptions

+ +
+ + diff --git a/apidocs/com/amazon/carbonado/util/package-summary.html b/apidocs/com/amazon/carbonado/util/package-summary.html new file mode 100644 index 0000000..8a6e5fa --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/package-summary.html @@ -0,0 +1,270 @@ + + + + + + +com.amazon.carbonado.util (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Package com.amazon.carbonado.util

+
+
Utilities used by Carbonado but which have no dependencies on + Carbonado.
+
+

See: Description

+
+
+ + + + +

Package com.amazon.carbonado.util Description

+
Utilities used by Carbonado but which have no dependencies on + Carbonado. These utilities are candidates for moving into another project.
+
+ +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/package-tree.html b/apidocs/com/amazon/carbonado/util/package-tree.html new file mode 100644 index 0000000..e907ddf --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/package-tree.html @@ -0,0 +1,172 @@ + + + + + + +com.amazon.carbonado.util Class Hierarchy (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package com.amazon.carbonado.util

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + diff --git a/apidocs/com/amazon/carbonado/util/package-use.html b/apidocs/com/amazon/carbonado/util/package-use.html new file mode 100644 index 0000000..1deec12 --- /dev/null +++ b/apidocs/com/amazon/carbonado/util/package-use.html @@ -0,0 +1,316 @@ + + + + + + +Uses of Package com.amazon.carbonado.util (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Package
com.amazon.carbonado.util

+
+
+ +
+ +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + -- cgit v1.2.3