text stringlengths 7 1.01M |
|---|
/*
* Copyright (c) 2019-2021. Ivan Vakhrushev. All rights reserved.
* https://github.com/mfvanek
*/
package com.mfvanek.word.grouping.interfaces;
public interface WordBag {
WordBag add(final String word);
boolean contains(final String word);
int size();
default boolean isEmpty() {
retur... |
package com.github.karsaii.framework.selenium.namespaces.lazy;
import com.github.karsaii.core.extensions.namespaces.CoreUtilities;
import org.openqa.selenium.By;
import com.github.karsaii.framework.selenium.constants.SeleniumCoreConstants;
import com.github.karsaii.framework.selenium.enums.ManyGetter;
import com.githu... |
/*
(C) Copyright 2015-2018 The SUPERSEDE Project Consortium
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicab... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... |
package com.github.ryneal.mitre.oidc.config.connect;
import org.mitre.discovery.view.WebfingerView;
import org.mitre.discovery.web.DiscoveryEndpoint;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import o... |
import java.util.ArrayList;
public class Player14 extends Player {
public Player14 (Float chips) {
super (chips, "Player 14");
}
public int getBet () {
int bet = 5;
chips -= bet;
return bet;
}
public String play_logic (Seat seat) {
int total = seat.getPocketCount();
if (total < 1... |
package edu.usc.ict.nl.nlu.nlp4j;
import java.io.BufferedReader;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Deque;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import edu.emory.mathcs.nlp.common.util.IOUtils;
import edu.emory.mathcs... |
package net.sourceforge.ondex.ovtk2.ui.mouse;
import edu.uci.ics.jung.visualization.control.ScalingControl;
/**
* Interface for mouse cross compatibility between desktop and applet.
*
* @author taubertj
*
*/
public interface OVTK2GraphMouse {
/**
* Returns OVTK2 specific picking plug-in with m... |
/*
* Copyright 2010-2020 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... |
package com.ellisonalves.thehotel.rest.application.exceptions.pojos;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import java.util.Arrays;
import java.util.List;
@Data
@AllArgsConstructor
public class Errors {
@JsonInclude(JsonInclude.Include.NON_NUL... |
/*
* Minecraft Forge
* Copyright (c) 2016-2021.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation version 2.1
* of the License.
*
* This library is distributed in the hope that it... |
package everyos.browser.webicitybrowser.gui.component;
import everyos.browser.webicitybrowser.gui.Styling;
import everyos.engine.ribbon.components.component.BlockComponent;
import everyos.engine.ribbon.components.directive.FontInfoDirective;
import everyos.engine.ribbon.components.directive.PositionDirective;
import e... |
package edu.northeastern.cs5200.daos;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import edu.northeastern.cs5200.models.Course;
import edu.northeastern.cs5200.models.Enrollment;
import edu.northeas... |
/*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
* with the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" fil... |
package es.tid.rsvp.messages;
import java.util.LinkedList;
import org.slf4j.Logger;
import es.tid.rsvp.RSVPProtocolViolationException;
import es.tid.rsvp.constructs.FFFlowDescriptor;
import es.tid.rsvp.constructs.FlowDescriptor;
import es.tid.rsvp.constructs.SEFlowDescriptor;
import es.tid.rsvp.constructs.WF... |
package org.iplantc.service.metadata.model.validation.constraints;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import javax.validation.Constraint;
import javax.v... |
package com.platform.api;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.collections.MapUtils;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import o... |
/*
* Copyright (c) 2014-2018 University of Ulm
*
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. Licensed under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy... |
/*
* Copyright (c) 2014, Regents of the University of California
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice... |
package by.dragonsurvivalteam.dragonsurvival.client.models.creatures;
import by.dragonsurvivalteam.dragonsurvival.DragonSurvivalMod;
import by.dragonsurvivalteam.dragonsurvival.common.entity.creatures.PrincesHorseEntity;
import net.minecraft.item.DyeColor;
import net.minecraft.util.ResourceLocation;
import software.be... |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.codeInsight.daemon.impl;
import com.intellij.openapi.editor.RangeMarker;
import com.intellij.openapi.util.Pair;
import com.intellij.openapi.util.TextRange;
... |
/*
* Copyright (C) 2017 the original author or authors.
*
* This file is part of jBB Application Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*/
package org.jbb.system.api.session;
... |
/*
* Copyright 2013 Cloudera Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
package com.nchu.xiaaman.student_education.utils;
import java.io.*;
import java.nio.charset.Charset;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
public class CompileUnit {
//线程池大小... |
package com.lijq.gp.pattern.proxy.statics;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* @author Lijq
* @date 2018/3/11 0:01
* @description
*/
public class House implements Serializable {
private BigDecimal price;
private double area;
public BigDecimal getPrice() {
return p... |
/*
Copyright (C) 2005-2012, by the President and Fellows of Harvard College.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unle... |
package com.alibaba.rocketmq.test.integration;
import org.apache.commons.dbcp.BasicDataSource;
import org.springframework.jdbc.CannotGetJdbcConnectionException;
import org.springframework.jdbc.core.JdbcTemplate;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properti... |
package ru.job4j.condition;
/**
* Программа "глупый бот".
*
* @author Aleksey Pavlov (mailto:paalse@list.ru)
*/
public class DummyBot {
/**
* Отвечает на вопросы.
*
* @param question Вопрос от клиента.
* @return Ответ.
*/
public String answer(String question) {
String resul... |
package com.themaster.quizzer;
import android.animation.Animator;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.res.ColorStateList;
import android.graphics.Color;
import android.os.Bundle;
import andr... |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.signin;
import androidx.annotation.MainThread;
import org.chromium.chrome.browser.profiles.Profile;
import org.chrom... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__URLConnection_06.java
Label Definition File: CWE78_OS_Command_Injection.label.xml
Template File: sources-sink-06.tmpl.java
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: URLConnection Read data from a web server with URL... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package uk.dangrew.nuts.apis.tesco.graphics.selection;
import java.util.ArrayList;
import java.util.List;
import uk.dangrew.nuts.apis.tesco.api.Tesco;
import uk.dangrew.nuts.apis.tesco.model.nuts.TescoFoodDescription;
import uk.dangrew.nuts.graphics.selection.view.UiFoodSelector;
public class UiTescoDescriptionContr... |
// Copyright 2017 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... |
package com.ontotext.kafka.service;
import com.ontotext.kafka.error.ErrorHandler;
import com.ontotext.kafka.operation.OperationHandler;
import com.ontotext.kafka.util.ValueUtil;
import org.apache.kafka.connect.errors.RetriableException;
import org.apache.kafka.connect.sink.SinkRecord;
import org.eclipse.rdf4j.model.Re... |
// --------------------------------------------------------------------------------
// Copyright 2002-2021 Echo Three, LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http:/... |
/**
* Copyright 2021 Tianmian Tech. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
package cn.key.test;
import java.util.List;
import java.util.Vector;
import cn.key.dao.CustomerDetailInfoDAO;
import cn.key.entity.CustomerDetailInfo;
public class TestCustomerDetailInfoDAO {
CustomerDetailInfoDAO dao = new CustomerDetailInfoDAO();
public void testSave() {
CustomerDetailInfo info = new CustomerDe... |
package io.github.zlooo.performance.tester.fix;
import lombok.experimental.UtilityClass;
@UtilityClass
public class FixMessageUtils {
private static final char[] CLORDID_PREFIX = new char[]{'1', '1', '='};
private static final char SOH = '\u0001';
public static String getClordid(String fixMessage) {
... |
package com.easyplex.data.repository;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import com.easyplex.data.remote.ApiInterface;
import com.easyplex.ui.manager.TokenManager;
import com.easyplex.data.model.auth.Login;
import com.easyplex.data.model.auth.UserAuthInfo;
import com.easypl... |
// Generated by xsd compiler for android/java
// DO NOT CHANGE!
package com.ebay.marketplace.search.v1.services;
import java.io.Serializable;
import com.leansoft.nano.annotation.*;
/**
*
* Contextual data associated with an error.
*
*/
public class ErrorParameter implements Serializable {
private static fi... |
/*
* Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
/*
* Copyright 1999-2011 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package com.ristana.how_to;
import android.app.Application;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import com.orm.SugarContext;
import timber.log.Timber;
public class App extends Application {
private static App instance;
@Override
publ... |
/*
* Copyright (c) 2012-2015 iWave Software LLC
* All Rights Reserved
*/
package com.emc.sa.service.linux.tasks;
import java.util.List;
import com.iwave.ext.linux.command.FindMultipathBlockDevicesCommand;
public class GetMultipathBlockDevices extends LinuxExecutionTask<List<String>> {
private final String de... |
package pro.horoshilov.family.repository.impl;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.Map;
import pro.horoshilov.family.entity.Photo;
import pro.horoshilov.family.repository.AbstractRepository;
import org.springframework.beans.factory.annotation.Autowired;... |
package wafec.mdd.statemachine.model;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import wafec.mdd.statemachine.core.Event;
import wafec.mdd.statemachine.core.StateEvent;
public class StateMachineTest {
@Test
public void testComplexHierarchy() {
var state1 = new State()... |
/*
* Copyright 2013 Guidewire Software, Inc.
*/
package gw.plugin.ij.lang.psi.impl.expressions;
import com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl;
import com.intellij.lang.ASTNode;
import com.intellij.openapi.util.TextRange;
import com.intellij.psi.JavaElementVisitor;
import com.intellij.psi... |
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package com.taotao.manager.controller;
import com.taotao.common.pojo.EUDataGridResult;
import com.taotao.common.utils.TaotaoResult;
import com.taotao.manager.pojo.TbItem;
import com.taotao.manager.service.ItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package de.jmale.core;
|
package net.avicus.atlas.module.objectives.entity;
import java.util.Optional;
import net.avicus.atlas.SpecificationVersionHistory;
import net.avicus.atlas.documentation.FeatureDocumentation;
import net.avicus.atlas.documentation.SpecInformation;
import net.avicus.atlas.documentation.attributes.Attributes;
import net.a... |
package com.skytala.eCommerce.domain.marketing.relations.segmentGroup.query.role;
import java.util.ArrayList;
import java.util.List;
import java.util.Iterator;
import java.util.Map;
import java.util.LinkedList;
import org.apache.ofbiz.entity.Delegator;
import org.apache.ofbiz.entity.DelegatorFactory;
import org.apache... |
package science.atlarge.graphalytics.duckdb.algorithms.bfs;
import science.atlarge.graphalytics.domain.graph.Graph;
import science.atlarge.graphalytics.duckdb.DuckdbConfiguration;
import science.atlarge.graphalytics.duckdb.DuckdbJob;
import science.atlarge.graphalytics.execution.RunSpecification;
import java.sql.Conn... |
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this f... |
package ru.job4j;
import org.junit.Test;
import static org.hamcrest.number.IsCloseTo.closeTo;
import static org.junit.Assert.assertThat;
public class FitTest {
@Test
public void manWeight() {
Fit fit = new Fit();
double weight = fit.manWeight(180);
assertThat(weight, closeTo(92.0, 0.1... |
package com.globallypaid.example.paymentinstrument;
import com.globallypaid.example.MockModel;
import com.globallypaid.exception.GloballyPaidException;
import com.globallypaid.http.Config;
import com.globallypaid.http.RequestOptions;
import com.globallypaid.model.ChargeRequest;
import com.globallypaid.model.PaymentIns... |
// Copyright 2015-2021 Swim inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... |
/**
* Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.core.marketdatasnapshot.impl;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
i... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* C E D A R
* S O L U T I O N S "Software done right."
* S O F T W A R E
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Copyright (c) 2013 Kenneth J. Pronovici.
*... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package net.thevpc.nuts.runtime.standalone.util;
import net.thevpc.nuts.*;
import net.thevpc.nuts.runtime.core.NutsWorkspaceExt;
impor... |
/*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0, (the "License"); you ma... |
/*
* Copyright (c) 2019 Stefan Spiska (Vitasystems GmbH) and Hannover Medical School
* This file is part of Project EHRbase
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... |
package com.airback.module.project.view.user;
import com.airback.common.i18n.GenericI18Enum;
import com.airback.form.view.LayoutType;
import com.airback.form.view.builder.DynaSectionBuilder;
import com.airback.form.view.builder.TextDynaFieldBuilder;
import com.airback.form.view.builder.type.DynaForm;
import com.airbac... |
package com.github.sergueik.junitparams;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.notNullValue;
import static org.hamcrest.MatcherAssert.assertThat;
/**
* Copyright 2017-2019 Serguei Kouzmine
*/
import java.io.File;
import java.io.FileInputStream;
import java.io... |
/*
* Copyright 2004-2013 the Seasar Foundation and the Others.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
package com.ngoodman;
import java.util.logging.Logger;
public abstract class Worker
{
private SessionManager sessionManager;
private Session session;
private final static Logger LOGGER = Logger.getLogger(Worker.class.getName());
public Worker(SessionManager sessionManager)
{
this.session... |
package com.lab3.demo.dto;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
@Accessors(chain = true)
@Data
@NoArgsConstructor
public class ErrorInfo {
private long timestamp;
private String message;
private String developerMessage;
}
|
package com.bearcats.tamagoparent.recyclerview;
import android.content.Context;
import android.content.Intent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import andro... |
package com.shenhua.citypicker.model;
import java.io.Serializable;
/**
* author shenhua on 2016/4/11.
*/
public class City implements Serializable{
private static final long serialVersionUID = -1547150453814884047L;
private String name;
private String pinyin;
public City(String name, String pinyin... |
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* Copyright (C) 2016 yydcdut (yuyidong2015@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/**
* The MIT License
* Copyright © 2010 JmxTrans team
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, mo... |
package com.erichym.coolweather.util;
import okhttp3.OkHttpClient;
import okhttp3.Request;
/**
* Created by Administrator on 2018/3/26 0026.
*/
public class HttpUtil {
public static void sendOkHttpRequest(String address,okhttp3.Callback callback)
{
//创建一个OkHttpClient实例
OkHttpClient client=n... |
package ch.fhnw.wodss.tippspiel.domain;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
@... |
package com.misaya.flink.utils;
import com.alibaba.fastjson.JSON;
import com.misaya.flink.model.Student;
import org.apache.kafka.clients.producer.KafkaProducer;
import org.apache.kafka.clients.producer.ProducerRecord;
import java.util.Properties;
public class KafkaUtils2 {
public static final String broker_lis... |
package com.atguigu.gulimall.product.controller;
import java.util.Arrays;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.an... |
package com.misu.android_fundamentals.week3.models;
public class Authentication {
private String mEmail;
private String mPhone;
private boolean mIsAccepted;
public String getmEmail() {
return mEmail;
}
public void setmEmail(String mEmail) {
this.mEmail = mEmail;
}
pu... |
package org.nico.middleware.kafka;
import java.io.IOException;
import java.time.Duration;
import java.util.Collections;
import java.util.Properties;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.apache.kafka.clients.consumer.ConsumerRecords;
import org.apache.kafka.clients.consumer.KafkaConsumer... |
/*
* Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package edu.cnm.deepdive.abqparks.fragment;
import android.Manifest.permission;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.ActivityCompat;
import android.support.v4.app.Fragment;
import android.support.v4.content.Contex... |
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
package com.facebook.react.modules.statusbar;
import android.annotation.TargetApi;
import android.app.Activity;
class StatusBarModule$4 implements Runnable {
final /* synthetic */ StatusBarModule this$0;
final /* synthetic */ Activity val$activity;
final /* synthetic */ String val$style;
StatusBarMod... |
package com.macro.mall.common.api;
import com.alibaba.druid.util.StringUtils;
import io.swagger.annotations.ApiModelProperty;
import java.beans.IntrospectionException;
import java.beans.PropertyDescriptor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Met... |
/*
* Copyright 2012-2013 inBloom, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
/**
*/
package gov.dhs.cbp.dis.impl;
import gov.dhs.cbp.dis.AdditionalData;
import gov.dhs.cbp.dis.BillType;
import gov.dhs.cbp.dis.BondData;
import gov.dhs.cbp.dis.CBPRequest;
import gov.dhs.cbp.dis.CertificateData;
import gov.dhs.cbp.dis.CommodityData;
import gov.dhs.cbp.dis.CommodityList;
import gov.dhs.cbp.dis.Co... |
package framework;
import java.util.*;
public class Manager {
private HashMap showcase = new HashMap();
public void register(String name, Product proto) {
showcase.put(name, proto);
}
public Product create(String protoname) {
Product p = (Product)showcase.get(protoname);
... |
package org.apereo.cas.web;
import org.apereo.cas.CasEmbeddedContainerUtils;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.util.AsciiArtUtils;
import org.apereo.cas.util.DateTimeUtils;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import ... |
/*
* Copyright (C) 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... |
package com.yhao.floatwindow;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.ObjectAnimator;
import android.animation.PropertyValuesHolder;
import android.animation.TimeInterpolator;
import android.animation.ValueAnimator;
import android.annotation.Suppres... |
package org.mili.member.dao;
import org.mili.member.entity.MemberLoginLogEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 会员登录记录
*
* @author sherlock
* @email mamenglong076@qq.com
* @date 2021-01-25 15:18:33
*/
@Mapper
public interface MemberLog... |
package io.github.kosmx.bendylibForge.impl;
import com.mojang.math.Vector3f;
/**
* To create custom Vertices
* You can use {@link Vertex} or {@link RepositionableVertex}
*/
public interface IVertex {
/**
* get the vertex's position
* @return pos
*/
Vector3f getPos();
/**
* get tex... |
/*
* Copyright 2014 Feedzai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... |
/*
* Copyright (c) 2008-2016, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
package com.nitya.accounter.text.commands.objectlists;
import com.nitya.accounter.text.ITextData;
import com.nitya.accounter.text.ITextResponse;
import com.nitya.accounter.text.commands.CreateOrUpdateCommand;
public class CreditMemosCommand extends CreateOrUpdateCommand {
@Override
public boolean parse(ITextData d... |
package pattern.visitor;
import lombok.Data;
import java.math.BigDecimal;
@Data
public class PartTimeEmployee implements Employee {
private String name;
private BigDecimal hourWage;
private int workTime;
public PartTimeEmployee(String name, BigDecimal hourWage, int workTime) {
this.name = n... |
/*
* Autopsy Forensic Browser
*
* Copyright 2011-2019 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.