Class ClasspathPattern.ByPackage

  • All Implemented Interfaces:
    java.lang.Iterable<org.eclipse.jetty.webapp.ClasspathPattern.Entry>, java.util.Collection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>, java.util.function.Predicate<java.lang.String>, java.util.Set<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
    Enclosing class:
    ClasspathPattern

    public static class ClasspathPattern.ByPackage
    extends java.util.AbstractSet<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
    implements java.util.function.Predicate<java.lang.String>
    • Constructor Summary

      Constructors 
      Constructor Description
      ByPackage()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean add​(org.eclipse.jetty.webapp.ClasspathPattern.Entry entry)  
      void clear()  
      boolean isEmpty()  
      java.util.Iterator<org.eclipse.jetty.webapp.ClasspathPattern.Entry> iterator()  
      boolean remove​(java.lang.Object entry)  
      int size()  
      boolean test​(java.lang.String name)  
      • Methods inherited from class java.util.AbstractSet

        equals, hashCode, removeAll
      • Methods inherited from class java.util.AbstractCollection

        addAll, contains, containsAll, retainAll, toArray, toArray, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
      • Methods inherited from interface java.util.Set

        addAll, contains, containsAll, retainAll, spliterator, toArray, toArray
    • Constructor Detail

      • ByPackage

        public ByPackage()
    • Method Detail

      • test

        public boolean test​(java.lang.String name)
        Specified by:
        test in interface java.util.function.Predicate<java.lang.String>
      • iterator

        public java.util.Iterator<org.eclipse.jetty.webapp.ClasspathPattern.Entry> iterator()
        Specified by:
        iterator in interface java.util.Collection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
        Specified by:
        iterator in interface java.lang.Iterable<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
        Specified by:
        iterator in interface java.util.Set<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
        Specified by:
        iterator in class java.util.AbstractCollection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
        Specified by:
        size in interface java.util.Set<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
        Specified by:
        size in class java.util.AbstractCollection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface java.util.Collection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
        Specified by:
        isEmpty in interface java.util.Set<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
        Overrides:
        isEmpty in class java.util.AbstractCollection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
      • add

        public boolean add​(org.eclipse.jetty.webapp.ClasspathPattern.Entry entry)
        Specified by:
        add in interface java.util.Collection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
        Specified by:
        add in interface java.util.Set<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
        Overrides:
        add in class java.util.AbstractCollection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
      • remove

        public boolean remove​(java.lang.Object entry)
        Specified by:
        remove in interface java.util.Collection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
        Specified by:
        remove in interface java.util.Set<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
        Overrides:
        remove in class java.util.AbstractCollection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Collection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
        Specified by:
        clear in interface java.util.Set<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
        Overrides:
        clear in class java.util.AbstractCollection<org.eclipse.jetty.webapp.ClasspathPattern.Entry>