Big generic problem

I'm having a big problem. Look at this:
public class Person {
public class Employee extends Person {
public class Bank {
private List<Person> people = new ArrayList<Person>();
public List<Person> people() {
return people;
Now the problem:
public class Test {
public static void main(String args[]) {
Bank b = new Bank();
b.people().add(new Employee()); // This was to be forbidden, but
// the compiler doesn't complain
In the class Bank I declared a list to contain only Person objects:
private List<Person> people = new ArrayList<Person>();
and a method to return it, with the same generic type:
public List<Person> people()
so, how could the compiler let me add a person of type Employee in the class
Test? No matter if I change the declaration of the people() method to accept
only objects of class Person and above, like this:
public List<? super Person> people()
it still compiles and I still can add Employee objects to the list that were
supposed to hold just Person objects.
So, the question is:
HOW COULD I RETURN A LIST IN A METHOD WITH A GENERIC TYPE THAT HAS SUBCLASSES AND THAT I CAN MAKE THE LIST TO ACCEPT OBJECTS JUST OF THAT TYPE, NOT OF ITS SUBCLASSES? So, this is type safe. I don't want the list of the example above to accept objects of type Employee, just Person.

so, why can I add Employees to a list declaredthis
way
public List<Person> get() {
return people; // <--- list of Person
}I don't see how it can be said any more clearly -
BECAUSE AN Employee IS A Person!
wouldn't it be to behave the same way as you
said?
Is
the proplem related to a param and a return
type.
With params with works, but not with returntypes?
I don't understand your point!Look if I'm really understanding this thing:
public void add(List<Person> p)
private List<Employee> e = new
ArrayList<Employee>();
obj.add(e) // Error. It's not exactly a PersonNow:
public List<Person> people();
private List<Employee> e = new
ArrayList<Employee>();
obj.people().add(new Employee()); // Ok. But why?An Employee is a Person. But in the first code it
didn't let me add an Employee to a method acception a
Person. That's what I want. But why the second code
worked. Isn't it the same thing. The param type in
both examples is a list of Person.To be more clear in the first code:
public class Obj {
    public void people(List<Person> p)
private List<Employee> e = new ArrayList<Employee>();
Obj obj = new Obj();
obj.people(e) // Error. It's not exactly a Person

Similar Messages

  • Email and big wifi problems.

    Email and big wifi problems.
    Why does it take 6 minutes to send a photo attachment when my iphone 4 will do it in 30 to 40 seconds ?
    Why will my email account be recognised and log on only half the time?
    Why does the wifi keep dropping out?
    Why does the speed and signal vary when I'm sitting two feet away from by wifi router?
    All settings in my phone have been reset twice as per advice from vodapone

    Thanks very much, jjgraphics. I will grit my teeth and try India once more, as you suggest, and then get in touch with the moderators.
    Karen.

  • Have Operating System 10.6.8, Mail Program 4.6.  How can I prevent the next email in the que from automatically opening after I act on the previous email ? It creates big organizational problems for me. My computer changes this mode from self opening to m

    Have Operating System 10.6.8, Mail Program 4.6.
    How can I prevent the next email in the que from automatically opening after I act on the previous email ? It creates big organizational problems for me. My computer changes this mode from self opening to manually opening every few month with no ? action from me.
    Help

    Have Operating System 10.6.8, Mail Program 4.6.
    How can I prevent the next email in the que from automatically opening after I act on the previous email ? It creates big organizational problems for me. My computer changes this mode from self opening to manually opening every few month with no ? action from me.
    Help

  • Big Eudora problem, small Finder issue-- related?

    I use Eudora for my email, and unfortunately my big Eudora problem is not getting solved in the Eudora message board; after half a day of Eudora quitting unexpectedly and then working fine but just for a few minutes if I restarted my computer, now when I launch Eudora, my Finder crashes-- everything disappears but the background image, and the computer is frozen.
    The reason I'm posting here is that before it reached this stage, there were other weird things that didn't relate to Eudora: I would try to launch Flash, and Flash couldn't open a new blank file. I would try to launch something else, and an error message would say that some component in a Library wasn't found. All of these things are not happening anymore; as far as I know, only Eudora is misbehaving, but one odd feature remains: every finder window is showing, next to the search field in the upper right, a large question mark, and next to that there is a folder icon. If I click on the folder icon, I'm taken to one particular folder in my HD that has no significance to anything that I can tell. If I click on the question mark, I get "the item can not be found." (Hence the question mark, I guess). But what are those doing there in every finder window? Is there supposed to be a folder icon at the middle-top-right of every finder window? I don't remember one there.
    I have done an archive-and-install of OS 10.4.6, but the finder window business is still the same.
    The hardware test CD that came with my PowerBook says all hardware is okay. Disk Warrior finds no problems. Disk Permissions are okay in Disk Utility. I ran Clam Xav, and it found four copies of viruses: three (called Email.Ecard-6) in my In box and in two mailboxes with older In messages, and one (called Email.Phishing.Pay-8) in my Out box. I put all of these files in the trash and restarted my laptop, launched Eudora and the finder crashed. I reinstalled Eudora and the same thing happened, although I had put the infected boxes back in place before reinstalling Eudora.
    I don't know where the problem is.
    Any advice, please?
    Paul

    Ciao Von Stripes,
    I've just found the solution:
    Open - System Preferences, then open - Spotlight
    There is a list of categories.
    Find - Files on the list, then click, drag and drop to the position number 1 and "voilá"
    I hope it works for you too... 

  • Generics problem - unchecked and unsafe problems

    basically my teacher said it needs to run if she types in "% javac *.java " otherwise i'll get a zero...
    so with that said, i've read that to fix the generic problem you can do the -Xlint:unchecked but that wont help me.
    and i've also read about raw types being the source of the problem, but now i'm completely stuck as to how to fix it. any suggestions would be greatly appreciated.
    here is my source code for the file that is causing this:
    import java.io.*;
    import java.util.*;
    public class OrderedLinkedList<T> implements OrderedListADT<T>
         private int size;
         private DoubleNode<T> current;
         public OrderedLinkedList()
              size = 0;
              current = null;
         public void add (T element)
              boolean notBegin = true;
              size = size + 1;
              if (isEmpty())
                   current = new DoubleNode<T>(element);
              while (current.getPrevious() != null)
                   current = current.getPrevious();
              Comparable<T> cElement = (Comparable<T>)element;
              while (cElement.compareTo(current.getElement()) > 0)
                   if (current.getNext() != null)
                        current = current.getNext();
                   else
                        notBegin = false;
              if (notBegin)
                   DoubleNode<T> temp = new DoubleNode<T>(element);
                   DoubleNode<T> temp2 = current;
                   current.setPrevious(temp);
                   temp.setNext(current);
                   temp.setPrevious(temp2.getPrevious());
                   current = temp;
              else
                   DoubleNode<T> temp = new DoubleNode<T>(element);
                   while (current.getPrevious() != null)
                        current = current.getPrevious();
                   temp.setNext(current);
                   current.setPrevious(temp);
         public T removeFirst()
              try
                   if (isEmpty())
                        throw new EmptyCollectionException("List");
              catch (EmptyCollectionException e)
                   System.out.println(e.getMessage());
              while (current.getPrevious() != null)
                   current = current.getPrevious();
              DoubleNode<T> temp = current;
              current = temp.getNext();
              size = size - 1;
              return temp.getElement();
         public T removeLast()
              try
                   if (isEmpty())
                        throw new EmptyCollectionException("List");
              catch (EmptyCollectionException e)
                   System.out.println(e.getMessage());
              while (current.getNext() != null)
                   current = current.getNext();
              DoubleNode<T> temp = current;
              current = temp.getPrevious();
              size = size - 1;
              return temp.getElement();
         public T first()
              try
                   if (isEmpty())
                        throw new EmptyCollectionException("List");
              catch (EmptyCollectionException e)
                   System.out.println(e.getMessage());
              while (current.getPrevious() != null)
                   current = current.getPrevious();
              return current.getElement();
         public T last()
              try
                   if (isEmpty())
                        throw new EmptyCollectionException("List");
              catch (EmptyCollectionException e)
                   System.out.println(e.getMessage());
              while (current.getNext() != null)
                   current = current.getNext();
              return current.getElement();
         public int size()
              return size;
         public boolean isEmpty()
              if (size == 0)
                   return true;
              else
                   return false;
         public String toString()
               return "An ordered linked list.";
    }the other file that uses this class:
    import java.io.*;
    import java.util.StringTokenizer;
    public class ListBuilder
         public static void main(String[] args) throws IOException
              String input;
              StringTokenizer st;
              int current;
              OrderedLinkedList<Integer> list = new OrderedLinkedList<Integer>();
              FileReader fr = new FileReader("C://TestData.txt");
              BufferedReader br = new BufferedReader(fr);
              input = br.readLine();
              while (input != null)
                   st = new StringTokenizer(input);
                   while (st.hasMoreTokens())
                        current = Integer.parseInt(st.nextToken());
                        if (current != -987654321)
                             list.add(current);
                        else
                             try
                                  unload(list);
                             catch(EmptyCollectionException f)
                                  System.out.println(f.getMessage());
                   input = br.readLine();
              System.out.println("Glad That's Over!");
         public static void unload(OrderedLinkedList<Integer> a) throws EmptyCollectionException
              while (!a.isEmpty())
                   System.out.println(a.removeFirst());
                   if (!a.isEmpty())
                        System.out.println(a.removeLast());
              System.out.println("That's all Folks!\n");
    }

    i tried @SuppressWarnings("unchecked") and that didnt work. so i ran it and it showed these errors:
    Exception in thread "main" java.lang.NullPointerException
    at OrderedLinkedList.add(OrderedLinkedList.java:30)
    at ListBuilder.main(ListBuilder.java:32)
    Press any key to continue...
    which would be:
              while (current.getPrevious() != null)and:
                             list.add(current);

  • Hello, I have a big batterylife problem with my brand new iPod touch 4Gen 8GB white. Please help...

    Hello, I have a big batterylife problem with my brand new iPod touch 4Gen 8GB white. Please help?

    What battery life are you getting?  Is it short when you are using the iPod? When it is sleeping?

  • The big iChat problems. Audio/Video (now completely broken in 10.7.3), the "not-authorized" problem

    So, I am running iChat on OS X Lion 10.7.3 on an early-2011 MBP 13'' . These problems have been here for a while, though (I got my comp with 10.7.0). I have AIM/GMail/Yahoo connected..
    One problem is the issue of non-authorized people. There is a list of "not authorized" people that I have to scroll past in my "offline" section of iChat buddies before I actually get to the real offline contacts. Big note here: All these people have the address (something)@aol.com. These contacts have come up as a result of my gmail connection. You see, a few months ago Gmail and AIM did this chat unification process where @aol.com contacts can be just added into Gmail for chatting. These @aol.com copies come up asking for an invite when the REAL AIM address person talks to me. The invites leave once I press decline, but then they stay on my list as not authorized. If I delete these "not-authorized" copies, the invites will come up again and the cycle will repeat. It is a nuisance considering how much of these false contacts are on my list.
    Second problem is video/audio chat in general. This issue really applies on AIM/Yahoo—there is nothing for Gmail because people usually use the web interface which simply doesn't work with iChat video/audio. If the people used Google talk, the issue written below would probably come up.
    See, what happens is that…(now in 10.7.3), video/audio chat is simply broken, simple as that. My contacts always tell me that an error has occurred when trying to accept my video chat invite. It simply doesn't work. They are using AIM desktop in most cases. When it DID used to work (to a very limited extent, I'll say; it was hit or miss earlier pre 10.7.3, now it's just miss), it was just video but NO audio. They could see/hear me, I could only see them. When I did audio chats, they hear me, I..don't hear them (so audio chats were pointless). The only case where this problem doesn't happen is where it's Mac to Mac, iChat to iChat. VERY limited in use of audio/video chat, if you ask me.

    Hi,
    If AIM contacts have been added to your Google Buddy List then I would login to Google and remove them from there  (the iGoogle or GoogleMail web pages will show the Chat option)
    Whilst they are still in the List then the Authorization request will probably be resent (In this case it is probably being generated by the method Google are using to add the AIM names as iChat only sends it once).
    Google/Jabber Video chats is only iChat to iChat and so is Yahoo with iChat 6.
    The Yahoo App streams Video which People can be allowed to see and Audio is added in as an Audio Chat.
    The connection Process is not the same and iChat/AIM
    Jabber and Google use Jingle to Connect (in fact Google's version is not that compatible with other Jabber apps).
    This means iChat to the Standalone PC app  or any Web Browser using the Google Video Plug-in (PC or Mac) or to any Jabber app that is using a Google ID (or a Jabber ID) will not work.
    On the iChat to AIM on a PC.
    This has always been a bit of a hit and miss affair.
    Some people have no trouble but other spend ages trying to set things up and never find the solution.
    This is the Original Users Tip  (up to about AIM5.9)
    A "replacement" for that tip that has not made it across yet.
    I have yet to try Video to the Web Login version that is now on offer.
    However I would limit the Bandwidth in iChat Menu > Preferences > Video Section to 500kbps (possibly try 200kbps for 1-1 chats) as you will not know the interent speed available to the Buddy if they are using the web login.
    Comparisons
    When you compare iChat actual functions to what you would like it to do it can appear to be limited.
    On the basis that you would want your IM app to be able to have Buddies from other services listed in a Buddy list (combined) or Lists which apps do you know of can do that and Video to some of them ?
    Adium and ProteusX can both have Buddies from the major Services ina  Buddy List but don't do Audio or Video.
    Yahoo and MSN both allow the other's Buddies in the list but I am not sure about Video or Audio chats
    They cannot connect to Jabber or AIM buddies even for text chats.
    Jabber does depend on the server you use and whether that does Transports for you to have text chats with other services.
    Instructions for iChat.
    Mercury IM is a JAVA version of MSN and still has not got to Audio and Video
    Similar for aMSN
    Gizmo5 and YakforFree both died...
    Skype is Cross Platform  but is only 1-1 in Video chat.  (cost extra for 3 and 4 way chats)
    Yahoo had dropped support for their Mac version now iChat has the Yahoo option  (you can still download it  - IT being the beta it has been for  years).
    2:40 PM      Saturday; February 11, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Big graphic problem on MacBook Pro

    First, I appologize for my english but i'm french !
    So, I have a very big problem since I have upgrade to Mountain Lion on my MacBook Pro mid-2010 (Core i5 2,4Ghz / 4Go / 320Go) : when the graphics card switch from the Nvdia to the Intel3000, it turn like this :
    So I need to restart. There is no problem when I start with the Intel3000.
    Only append when it switch from the Nvidia to the Intel3000.
    So I use gfxCardStatus to only use the Nvidia but I'm waiting for a fix from Apple with the next update of Mountain Lion.
    Great update ...

    Reply to myself but can help other people : after a "clean install" of Moutain Lion, using a USB key, no more problem, even with gfxCardStatus !
    And big big improvement of system reactivity.

  • Broken Ftp Connection and big files problem

    I have a problem with big-files downloading.
    Does anybody know how to resume downloading using FTP-connection?
    Or how can I get bytes from FTP connected file using something like random access to avoid the restart of downloading the file?
    "InputStream" does not support "seek"-like methods.

    From RFC 959
    RESTART (REST)
    The argument field represents the server marker at which
    file transfer is to be restarted. This command does not
    cause file transfer but skips over the file to the specified
    data checkpoint. This command shall be immediately followed
    by the appropriate FTP service command which shall cause
    file transfer to resume.
    You should also be aware of RFC 959 Section 3.4.2 on BLOCK MODE transfers which is what allows FTP to REST a connection and "skip" n-bytes of a file.

  • XCelsius Generic Problems

    Hi everybody,
    I am a corporate user of Crystal XCelsius 2008, and after 3 months using it, I just wanted to post here my opinions on the product and also some of the (big amount) of problems I've found with it in hope they are solved in future versions of XCelsius.
    I find XCelsius a good product overall. It allows for fast deployment of interactive dashboards that are very appreciated by management, allowing for quick and informed decision taking. However, there are a number of issues and problems XCelsius needs to solve in order to become a trully powerfull dashboarding tool:
    - I am running XCelsius 2008 in a brand new Windows XP SP3 laptop with 4GB of RAM, Microsoft Office 2007 and all the latest patches applied. However, XCelsius keeps crashing regularly for no reason whatsoever ("Could not load localized strings" error, "Error loading Excel" error and others). I am now manually saving my work every 3 minutes, but it's a big inconvenience that XCelsius isn't reliable enough.
    - Every time I try to install a new XCelsius version/patch (XCelsius SP2 for instance), the setup stalls on registering modules and never finishes, having to manually kill the process. After much investigation (this forum helped a lot), I found out that this is due to incompatibility problems between XCelsius and McAfee Anti-virus which we use in our computers. This is the only software I've found problems with in this area, and anyway a corporation-oriented software should never ever have this kind of issues.
    - Erratic behaviour. This might seem very strange, but I've found myself (more than once) having to re-enter a formula in the worksheet in XCelsius because the first time it simply didn't work. The second time it works without a problem.
    - The Excel formula support is way too limited. Formulas like SEARCH or SUMIFS (new in Excel 2007) are critical in a data-driven enterprise environment, and not having them available is a big problem.
    - While trying to overcome the above limitation I installed the XCelsius Component SDK to see if I could replicate the functionality of those formulas with custom components. Problem is, although I am fluent in ActionScript and MXML, the SDK documentation is so sparse I could not even figure out how to write my own function.
    - Performance is another issue. When you use a reasonably-sized data set, XCelsius performance degrades exponentially, something not acceptable for corporate customers. I am not talking here about 10's of thousands of rows and columns, but simply 2,000 rows and 15 columns.
    I am simply posting thsi here in the hope that I am not the only user experiencing those issues and that BO listens to its customers and imporves the overall XCelsius experience in the near future.
    Thanks!

    Thanks for your reply and understanding, xzatious. Now I know I am not alone!
    I definately learnt to get used to those errors, but that doesn't make them less annyoing. As for the tip on the Excel process running in the background, thanks but I was already aware of it. But precisely this evidences one of the biggest problems with XCelsius: the poor coding techniques used when developing it.
    Any developer in the world knows one of the first things to implement in the application you are developing is good exception handling, and definately XCelsius is not an example of that. Most of the times, when it crashes, it simply says "Xcelsius.exe has found an error and needs to close" and then it leaves the Excel instance it has been using running in the background. What kind of exception handling is this?!?!? An enterprise-oriented software like XCelsius with its price tag (not cheap!) should be much better developed than this!
    And there's one last issue I forgot to mention, and that's more related to the selling/pricing area: when we bought XCelsius Engage (not Server), it came bundled with Flynet Web Services Generator. This is a very useful piece of software if you don't want/can't/don't have time to write web services yourself. But I had to speak witht eh Flynet guys themselves to discover my copy of Flynet wasn't working because it only works with an XCelsius Engage Server license! Why does it come bundled with regular XCelsius then?!?!?!?

  • Big disk problems - or big-disk problems?

    Hi there!
    I have really big problems. I try to set up a 45 GB Western Digital Caviar 450AA (secondary IDE controller, master-drive). I patched my machine with the recommended patch cluster which also contains patch no. 110202-01 for the ata-drivers. I am able to fdisk the drive with a geometry file using fdisk with options. I am also able to partition the disk with the native solaris 8 x86 format tool. I label the disk - fine so far. But when I try to build a filesystem on it, newfs terminates wih errors. I afterwards tried to set up a scsi-disk with 4,1 GB (IBM DCAS 34330). The same problem occured: newfs (as well as mkfs with options) terminated with the following error message:
    mkfs: bad value for size: 0 must be between 1024 and 0
    mkfs: size reset to default 0
    mkfs: bad value for ntrack: 6 must be between 1 and 0
    mkfs: ntrack reset to default 16
    seek error on sector -1: invalid argument
    That's pretty strange, isn't it? I don't know wheter Solaris x86 is that different from Solaris SPARC edition. Perhaps I'm too dumb to get this machine working and should put my fingers off Solaris x86 edition.
    Could anybody in this world help me? Or has anybody the same problems? You know - it's just for my collegues: they are now calling me brad...
    Greetings
    SERGEJ

    Two choices:
    - Call Apple (1-800-MY-APPLE) and order, for nominal cost, the original DVDs.
    - Or order the SN disk from Apple
    http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard

  • Generic problem in passing arguments  ( question )

    I wrote some generic class that hold some generic map.
    When i looking some key in this map - i want to have the value of the key and set this value to some argument that i pass to the function that look for it.
    I dont want to return the value as return value of the function. ( i must have return value as Boolean )
    My paroblem is that when ever i call this function - i get back the "value" as null - and i dont know why and how to solve this problem.
    public abstract class SomeTable<T, U> extends Table{
          protected Map<T, U> currentTable = new HashMap<T, U>();
         public Boolean findItem(T itemToFind , U value){
                value = currentTable.get(itemToFind);
                return ( value == null );
    }Edited by: Yanshof on Dec 3, 2008 6:02 AM
    Edited by: Yanshof on Dec 3, 2008 6:11 AM

    You don't want to get the value from the key, you want to set it. Something more like:
           public Boolean findItem(T itemToFind , U value){
               currentTable.put(itemToFind, value);
               return (value == null);
            }Maybe you should review the functionality of a HashMap and variable assignment..
    Edit: Unless of course I'm misunderstanding your goal (ejp's post makes me think I am :) )
    Edited by: Pheer on Dec 2, 2008 10:15 PM

  • Ant big compile problem

    In our company we create business application which is made from 3 projects and they are related to each other.
    This 3 projects are:
    Model
    ModelIRC200
    View
    Example of problem:
    ircbutton.java has this lines
    package irc.irc2000.ircSwing.komponente;
    import irc.kis.view.dm.sifranti.TipiDelovnihMestTabela;
    i am running ant compile under ModelIRC2000 project direktorij, but this
    packages are under ../View/src/irc...
    now i get error like this
    [javac]
    C:\Projekti\KIS\ModelIRC2000\src\irc\irc2000\ircSwing\komponente\IrcButton.java:3:
    error #300: TipiDelovnihMestTabela not found
    how can i include this TipiDelovnihMestTabela in ant build.xml file that i
    will not get this error anymore.
    If i include classes of View then works but classes of View must be compile
    first, but they are also related to ModelIRC2000 so i can not compile it.
    Oracle Jdeveloper when compiling jumping from one project to another that
    they compile this sucessfully, how ant can do this?
    big thx for help
    regards

    i read all ant manual but i cant make this.
    For model 2000 my compile ant build.xml looks like this
    <target name="compile" description="Compile Java source files" depends="init">
    <javac destdir="${output.dir}" classpathref="classpath"
    debug="${javac.debug}" nowarn="${javac.nowarn}" failonerror="false"
    deprecation="${javac.deprecation}" encoding="Cp1250" source="1.5"
    target="1.5">
    <src path="src"/>
    <exclude name="irc/kis/view/zap/Obracuni/"/>
    <exclude name="irc/kis/view/zap/sifranti/pageDefs/DrzavljanstvaTabelaROPageDef.xml/"/>
    <exclude name="irc/kis/view/zap/sifranti/DrzavljanstvaTabelaRO.java/"/>
    <exclude name="irc/kis/view/zap/pageDefs/DrzavljanstvaTabelaPageDef.xml/"/>
    <exclude name="irc/kis/view/zap/DrzavljanstvaTabela.java/"/>
    <exclude name="irc/kis/view/pageDefs/"/>
    </javac>
    </target>
    and build.propertie like this
    javac.debug=on
    oracle.home=../../../Oracle/jdevstudio1013/
    build.compiler=oracle.ojc.ant.taskdefs.OjcAdapter
    output.dir=classes
    javac.deprecation=on
    javac.nowarn=off
    how must look ant compile that it will compile files form another related project when necessary and put it into View/classes dir
    thx

  • BIG Scrolling problems in Chrome

    Hey everyone.
    My Name is Alex and i habe a big problem.
    I made a Site http://www.collecdiv.com
    In my Browser (Chrome 27.0.14.....) is everything ok.
    In the same browser of a friend, the scroll function doesnt work.
    I try to enable the scrollbar, with local testing it works, but if i upload the
    page on my server, the scrollbar is not displayed.
    Please help.
    Best Alex

    thanks iamDK. i fixed the problem. And thanks for the probs..

  • Big battery problem: iPhone 4S

    I have a big problem. The battery of my iPhone 4S is empty after a short time of usage. Within 2 minutes 5% goes away. And sometimes it shuts down if there is still 10% of battery. Is this a problem of iOS 6.0.1 or is this a hardware problem?
    Thank you.

    You're not alone... https://discussions.apple.com/thread/3391947?tstart=0

Maybe you are looking for

  • Voice memos won't transfer to iTunes?

    I have an iPhone 5 that I recorded three voice memos on. They are pretty long, about an hour or a little more each. I've transferred audios longer than this to this same computer before (Macbook Pro), but it won't work now. I know the Include Voice M

  • How to validate an Email in Sql

    hello :), i want to validate emails in my database .. it means that if a user enters a non valid email format ( not like : [email protected] ) an error has to be executed ( like in a trigger ) actually i am working on a jdbc project .. and i did an i

  • Create a contract in R/3

    Hi, Can anyone help me to find the function modules that are used to create a contract in R/3?. Thanks & Regards, Vineetha

  • Error with Adobe Forms

    Hi all, I configured ADS successfully. I developed a simple application and deployed t ,but throwing an exception.Any one help me out. com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Processing exception during a "UsageRights" operatio

  • Serial numbers and face time

    HI, in my place shops are selling different model of iphone 5 , some of them without face time.. Can i know from the serial no. of the phone if face time is available on it or not ? i got the serial no from the shop, it is : F2*******8H6 <Edited By H