Class VarArgsConstructorDemo

java.lang.Object
samples.expectnew.VarArgsConstructorDemo

public class VarArgsConstructorDemo extends Object
  • Field Details

    • strings

      private final String[] strings
    • services

      private final Service[] services
    • byteArrays

      private final byte[][] byteArrays
    • ints

      private final int[] ints
  • Constructor Details

    • VarArgsConstructorDemo

      public VarArgsConstructorDemo(String... strings)
    • VarArgsConstructorDemo

      public VarArgsConstructorDemo(byte[]... byteArrays)
    • VarArgsConstructorDemo

      public VarArgsConstructorDemo(Service... services)
    • VarArgsConstructorDemo

      public VarArgsConstructorDemo(float myFloat, int... ints)
  • Method Details

    • getAllMessages

      public String[] getAllMessages()
    • getAllServices

      public Service[] getAllServices()
    • getByteArrays

      public byte[][] getByteArrays()
    • getInts

      public int[] getInts()