Enum Factory

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Factory>

    public enum Factory
    extends java.lang.Enum<Factory>
    Assertion factory.
    Since:
    1.0
    • Method Detail

      • values

        public static Factory[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Factory c : Factory.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Factory valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • createBooleanArrayAssert

        public static BooleanArrayAssert createBooleanArrayAssert()
        Creates an boolean array assert.
        Returns:
        the boolean array assert
        Since:
        1.0
      • createBooleanAssert

        public static BooleanAssert createBooleanAssert()
        Creates an boolean assert.
        Returns:
        the boolean assert
        Since:
        1.0
      • createByteArrayAssert

        public static ByteArrayAssert createByteArrayAssert()
        Creates an byte array assert.
        Returns:
        the byte array assert
        Since:
        1.0
      • createCharArrayAssert

        public static CharArrayAssert createCharArrayAssert()
        Creates an char array assert.
        Returns:
        the char array assert
        Since:
        1.0
      • createCharSequenceAssert

        public static CharSequenceAssert createCharSequenceAssert()
        Creates an char sequence assert.
        Returns:
        the char sequence assert
        Since:
        1.0
      • createComparableAssert

        public static <T extends java.lang.Comparable<? super T>> ComparableAssert<T> createComparableAssert()
        Creates an comparable assert.
        Type Parameters:
        T - the comparable type
        Returns:
        the comparable assert
        Since:
        1.0
      • createDoubleArrayAssert

        public static DoubleArrayAssert createDoubleArrayAssert()
        Creates an double array assert.
        Returns:
        the double array assert
        Since:
        1.0
      • createFloatArrayAssert

        public static FloatArrayAssert createFloatArrayAssert()
        Creates an float array assert.
        Returns:
        the float array assert
        Since:
        1.0
      • createIntArrayAssert

        public static IntArrayAssert createIntArrayAssert()
        Creates an int array assert.
        Returns:
        the int array assert
        Since:
        1.0
      • createIntegerAssert

        public static IntegerAssert createIntegerAssert()
        Creates an integer assert.
        Returns:
        the integer assert
        Since:
        1.0
      • createIterableAssert

        public static <T> IterableAssert<T> createIterableAssert()
        Creates an iterable assert.
        Type Parameters:
        T - the type
        Returns:
        the iterable assert
        Since:
        1.0
      • createListAssert

        public static <T> ListAssert<T> createListAssert()
        Creates an list assert.
        Type Parameters:
        T - the list type
        Returns:
        the list assert
        Since:
        1.0
      • createLongArrayAssert

        public static LongArrayAssert createLongArrayAssert()
        Creates an long array assert.
        Returns:
        the long array assert
        Since:
        1.0
      • createLongAssert

        public static LongAssert createLongAssert()
        Creates an long assert.
        Returns:
        the long assert
        Since:
        1.0
      • createMapAssert

        public static <T,​U> MapAssert<T,​U> createMapAssert()
        Creates an map assert.
        Type Parameters:
        T - the map key type
        U - the map value type
        Returns:
        the map assert
        Since:
        1.0
      • createObjectArrayAssert

        public static ObjectArrayAssert createObjectArrayAssert()
        Creates an object array assert.
        Returns:
        the object array assert
        Since:
        1.0
      • createObjectAssert

        public static ObjectAssert createObjectAssert()
        Creates an object assert.
        Returns:
        the object assert
        Since:
        1.0
      • createShortArrayAssert

        public static ShortArrayAssert createShortArrayAssert()
        Creates an short array assert.
        Returns:
        the short array assert
        Since:
        1.0
      • createStringAssert

        public static StringAssert createStringAssert()
        Creates an string assert.
        Returns:
        the string assert
        Since:
        1.0