Class ClasspathPattern.ByPackageOrName

  • 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.ByPackageOrName
    extends java.util.AbstractSet<org.eclipse.jetty.webapp.ClasspathPattern.Entry>
    implements java.util.function.Predicate<java.lang.String>
    • Constructor Summary

      Constructors 
      Constructor Description
      ByPackageOrName()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean add​(org.eclipse.jetty.webapp.ClasspathPattern.Entry entry)  
      void clear()  
      java.util.Iterator<org.eclipse.jetty.webapp.ClasspathPattern.Entry> iterator()  
      boolean remove​(java.lang.Object o)  
      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, isEmpty, retainAll, toArray, toArray, toString
      • Methods inherited from class java.lang.Object

        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, isEmpty, retainAll, spliterator, toArray, toArray
    • Constructor Detail

      • ByPackageOrName

        public ByPackageOrName()
    • 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>
      • 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 o)
        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>