Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does &hellip mean/do(from Java Generics FAQ)? [duplicate]

Tags:

java

I was reading a Java Generics FAQ, and came across &hellip in various contexts:

public interface Action<E extends Exception> {    void run() throws E ;  }  public final class Executor {    public static <E extends Exception>      void execute(Action<E> action) throws E {         &hellip;        action.run();        &hellip;    }  }  public final class Test {    private static class TestAction implements Action<java.io.FileNotFoundException> {      public void run() throws java.io.FileNotFoundException {        &hellip;        throw new java.io.FileNotFoundException() ;         &hellip;    }    public static void main(String[] args) {      try {         Executor.execute(new TestAction()) ;      } catch (java.io.FileNotFoundException f) { &hellip; }    }  }  

I then found this:

class SomeLegacyClass {    public void setNames(List c) { &hellip }    public List getNames() { &hellip }  } final class Test {    public static void main(String[] args) {      SomeLegacyClass obj = new SomeLegacyClass();      List<String> names = new LinkedList<String>();      &hellip fill list &hellip      obj.setNames(names);      names = obj.getNames();    // unchecked warning    }  } 

After a little more digging, I found another version of the above snippet with &hellip replace by ; despite a decent amount of googling, I couldn't find out what this actually means. When I attempted to put it in code, it didn't work, I'm not sure if that's because it's just some sort of commenting shorthand or this is antiquated code. Could someone please tell me what &hellip is/means.

like image 653
Steve P. Avatar asked Jun 17 '13 21:06

Steve P.


1 Answers

That's an HTML entity; it stands for Horizontal Ellipsis. It looks like this: (One symbol; not three separate dots)

That means that their HTML is broken.

like image 199
SLaks Avatar answered Sep 19 '22 09:09

SLaks