
com.almworks.jira.structure.util.La Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of structure-api Show documentation
Show all versions of structure-api Show documentation
Public API for the Structure Plugin for JIRA
package com.almworks.jira.structure.util;
import com.almworks.integers.*;
import com.atlassian.jira.util.Predicate;
import com.google.common.base.Function;
import com.google.common.collect.Iterators;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.lang.reflect.Array;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
/**
* La
is a utility generic-purpose class for functional expressions.
*
* @author Igor Sereda
*/
public abstract class La implements Function, Predicate {
private static final La SELF = new La() {
public Object la(Object argument) {
return argument;
}
};
private static final La TRUE = new La() {
public Object la(Object argument) {
return Boolean.TRUE;
}
};
private static final La FALSE = new La() {
public Object la(Object argument) {
return Boolean.FALSE;
}
};
private static final La NOT_NULL = new La
© 2015 - 2025 Weber Informatics LLC | Privacy Policy