@Test public void isEmpty() throws Exception { assertTrue(new EncodedPath(new Precoded("")).isEmpty()); assertFalse(new EncodedPath(new Precoded(".")).isEmpty()); assertFalse(new EncodedPath(new Precoded("abc")).isEmpty()); assertFalse(new EncodedPath(new Precoded("abc/123")).isEmpty()); }
@Override public boolean isEmpty() { return mPath.length() == 0; }
EncodedPath implements Path { @Override public boolean isEmpty() { return mPath.length() == 0; } }
EncodedPath implements Path { @Override public boolean isEmpty() { return mPath.length() == 0; } EncodedPath(UriEncoded path); }
EncodedPath implements Path { @Override public boolean isEmpty() { return mPath.length() == 0; } EncodedPath(UriEncoded path); @Override boolean isEmpty(); @Override boolean isAbsolute(); @Override Iterator<UriEncoded> iterator(); }
EncodedPath implements Path { @Override public boolean isEmpty() { return mPath.length() == 0; } EncodedPath(UriEncoded path); @Override boolean isEmpty(); @Override boolean isAbsolute(); @Override Iterator<UriEncoded> iterator();  }