User Profile

Collapse

Profile Sidebar

Collapse
roymunson
roymunson
Last Activity: Feb 10 '11, 07:24 AM
Joined: Feb 8 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • roymunson
    replied to enum and 2D array
    in Java
    I dont think that you can do that as they are different types, you should create a new object that has a DAY and a PERIOD and fill an array with instances of that object
    See more | Go to post

    Leave a comment:


  • Something like this should do the trick for you buddy...

    Code:
    public class BytesToHex {
    
        private byte[] inbytes;
        private String hexString="";
    
        public BytesToHex(byte[] inbytes){
            this.inbytes = inbytes;
        }
    
        public String toHex() {
    
            String subString;
            int i;
            for (byte b: inbytes){
    ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...