@Test public void testIsEmpty() throws Exception { assertTrue(new StructuredPath().isEmpty()); assertFalse(new StructuredPath(IdempotentEncoded.CURRENT).isEmpty()); assertFalse(new StructuredPath(new Encoded("abc")).isEmpty()); assertFalse(new StructuredPath(new Encoded("abc"), new Encoded("123")).isEmpty()); }
@Override public boolean isEmpty() { return mPathSegments.length == 0; }
StructuredPath implements Path { @Override public boolean isEmpty() { return mPathSegments.length == 0; } }
StructuredPath implements Path { @Override public boolean isEmpty() { return mPathSegments.length == 0; } StructuredPath(UriEncoded... segments); }
StructuredPath implements Path { @Override public boolean isEmpty() { return mPathSegments.length == 0; } StructuredPath(UriEncoded... segments); @Override boolean isEmpty(); @Override boolean isAbsolute(); @Override Iterator<UriEncoded> iterator(); }
StructuredPath implements Path { @Override public boolean isEmpty() { return mPathSegments.length == 0; } StructuredPath(UriEncoded... segments); @Override boolean isEmpty(); @Override boolean isAbsolute(); @Override Iterator<UriEncoded> iterator();  }