All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.samples.java.ex.SCII_Sample Maven / Gradle / Ivy

Go to download

An auxiliary findbugs.sourceforge.net plugin for java bug detectors that fall outside the narrow scope of detectors to be packaged with the product itself.

The newest version!
package ex;

import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.util.Comparator;

public class SCII_Sample extends OverEndulgentParent implements MouseListener {
    @Override
    public void mouseClicked(MouseEvent arg0) {
    }
}

class OverEndulgentParent {
    public void mousePressed(MouseEvent arg0) {
    }

    public void mouseReleased(MouseEvent arg0) {
    }

    public void mouseEntered(MouseEvent arg0) {
    }

    public void mouseExited(MouseEvent arg0) {
    }

    interface A {
        public void a();

        public void b();

        public void c();
    }

    interface B extends A {
        @Override
        public void b();
    }

    interface C extends B {
        @Override
        public void c();
    }

    class AA implements A {
        @Override
        public void a() {
        }

        @Override
        public void b() {
        }

        @Override
        public void c() {
        }
    }

    class BB extends AA implements B {

    }

    class CC extends BB implements C {

    }
}

interface Namer {
    public String name();
}

enum FPIssue374EnumAsSuper implements Namer {
}

enum FPInterfaceOverridesObject implements Comparator {
    FPEXAMPLE;

    @Override
    public int compare(FP o1, FP o2) {
        return o1.problem().compareTo(o2.problem());
    }
}

interface FP {
    String problem();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy