Tags » Interface

Network Configuration (interface) on a Debian system

The majority of network setup can be done via the interfaces configuration file at /etc/network/interfaces. Here, we can give our network card an IP address (or use dhcp), set up routing information, configure IP masquerading, set default routes and much more. 314 more words

Technical

Some Media Companies Cool on YouTube Distribution - WSJ

A group of web publishers say that YouTube has become a tough place to build an audience, particularly in light of the explosive growth of video on Facebook and Snapchat. 9 more words

Pictures, Video, Sound

Basic Intro Into: User Experience Design

What is user experience?

It’s how a person feels while interacting with an interface. An interface could be anything from a mobile phone or computer operating system, to a website. 190 more words

E Learning

delegation with default methods

@Entity
public class Property extends BaseEntity {

    public static interface Owner<T extends BaseEntity & Owner<T>> {

        List<Property> getProperties();

        default void setProperties(List<Property> properties) {
            getProperties().clear();
            getProperties().addAll(properties);
        }

        @SuppressWarnings("unchecked")
        default T properties(List<Property> properties) {
            setProperties(properties);
            return (T) this;
        }

        @SuppressWarnings("unchecked")
        default T addProperty(@NotNull final Property property) {
            getProperties().add(property);
            return (T) this;
        }

        default T addProperty(@NotNull final String name,
                              @NotNull final String value) {
            return addProperty(new Property().name(name).value(value));
        }

        default Stream<Property> propertyStream() {
            return getProperties().stream();
        }

        default T filterProperties(@NotNull final java.util.function.Predicate<Property> predicate) {
            return properties(propertyStream().filter(predicate).collect(toList()));
        }
    }

    @Column(name = "NAME", nullable = false)
    private String name;

    @Column(name = "VALUE_", nullable = false)
    private String value;
}
… 47 more words
Programming

More Interfaces!

A few interfaces completed. Well, I got it done after a few nights; past midnight each time. Got myself a headache there but I’m still okay! 175 more words

Hiking Kemonomimi