text stringlengths 7 1.01M |
|---|
/*
* Copyright 2008-2013 the original author or authors.
*
* 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 requir... |
/*
* 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 org.lcsim.util.cache;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintStream;
import java.net.URL;
import java.net.URLConnection;
import java.net.URLEncoder;
/**
* A utility for downloading and cach... |
/*
* Copyright 2014 The Android Open Source Project
*
* 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.dynamicpdf.api;
import java.util.ArrayList;
import java.util.Dictionary;
import java.util.List;
/**
* Represents the pdf inforamtion.
*/
public class PdfInformation {
private String author;
private String subject;
private String keywords;
private String creator;
private String producer;
private S... |
package io.github.ctlove0523.javasamples.functions;
import org.junit.Test;
import java.util.function.Consumer;
/**
* @author chentong
*/
public class ConsumerTest {
/**
* the output will be:
* Hello Consumer
* Hello Consumer Hello Consumer
* Hello Consumer
* Hello Consumer Hello Consum... |
package com.hiramine.assertiontest;
public class MyAssert
{
public static void assertTrue( boolean condition )
{
// assert版
// assert( condition );
// Assert.assertTrue版
// Assert.assertTrue( condition );
// BuildConfig.DEBUG && 版
if( BuildConfig.DEBUG && !condition )
{
throw new AssertionError();... |
package com.appdynamics.loan.rest;
import com.appdynamics.loan.model.Customer;
import com.appdynamics.loan.service.CustomerService;
import com.appdynamics.loan.util.SpringContext;
import org.apache.commons.lang3.StringUtils;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;... |
package de.datenhahn.ffmobile.json.model;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
public class NodesJson {
Date timestamp;
String version;
private static final Logger logger = LoggerFactory.g... |
// --------------------------------------------------------------------------------
// 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:/... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2015 abel533@gmail.com
*
* 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
... |
/* Copyright (c) 2013 OpenPlans. All rights reserved.
* This code is licensed under the BSD New License, available at the root
* application directory.
*/
package org.geogit.api;
import java.util.List;
import org.geogit.api.plumbing.HashObject;
import com.google.common.base.Preconditions;
import com.google.common... |
package com.marshalchen.common.uimodule.imageprocessing.filter.effect;
import android.opengl.GLES20;
import com.marshalchen.common.uimodule.imageprocessing.filter.MultiPixelRenderer;
/**
* This uses Sobel edge detection to place a black border around objects, and then it quantizes the colors present in the image to... |
/*
* UFF Project Semantic Learning
*/
package br.uff.dl.rules.exception;
/**
* Class to describe a Exception caused by timeout.
*
* @author Victor Guimarães.
*/
public class TimeoutException extends Exception {
/**
* Default constructor without parameters.
*/
public TimeoutException() {
}
... |
package de.nierbeck.microservices.karaf.proxy;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class InstitueListing {
@XmlElement
public List<String> institutes;
}
|
/**
* Copyright [2012] [Datasalt Systems S.L.]
*
* 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 me.mrletsplay.mrcore.misc;
import java.util.List;
public interface LookupList<I, E> extends List<E> {
public E lookup(I item);
}
|
/*
* ******************************************************************************
* *
* *
* * This program and the accompanying materials are made available under the
* * terms of the Apache License, Version 2.0 which is available at
* * https://www.apache.org/licenses/LICENSE-2.0.
* *
* * See the NO... |
/*
* 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 com.example.android.sunshine.app;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.v4.app.Fragment;
import android.text.format.Time;
import ... |
package eu.bcvsolutions.idm.core.workflow.domain;
import java.util.Arrays;
import java.util.stream.Collectors;
import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.impl.bpmn.behavior.MailActivityBehavior;
import org.apache.commons.lang3.StringUtils;
import org.springframework.util.Assert;... |
package com.cn.api.app.util;
import java.security.MessageDigest;
public class MD5Util {
private static final String hexDigIts[] = {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"};
/**
* MD5加密
*
* @param origin 字符
* @return
*/
public static String ... |
/*
* Copyright 2011-2016 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... |
/**
* 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... |
/*
* 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 writing, software
* distributed u... |
package br.com.orange.mercadolivre.ml.controller.response;
import javax.validation.constraints.NotNull;
public class NovaCompraNotaFiscalResponse {
@NotNull
private Long idCompra;
@NotNull
private Long idComprador;
public NovaCompraNotaFiscalResponse(Long idCompra, Long idComprador) {
this.idCompra = idCompr... |
package com.codepath.apps.restclienttemplate.network;
import org.scribe.builder.api.Api;
import org.scribe.builder.api.FlickrApi;
import org.scribe.builder.api.TwitterApi;
import android.content.Context;
import com.codepath.oauth.OAuthBaseClient;
import com.loopj.android.http.AsyncHttpResponseHandler;
import com.loo... |
/*
* Copyright © 2021 Copyright (c) 2021 Yoyodyne, Inc and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
p... |
package de.ipvs.as.mbp.repository;
import de.ipvs.as.mbp.domain.settings.Settings;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
/**
* Repository for saving and loading application-wide settings.
*/
@Repository
public interface SettingsReposito... |
/**
* 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 m... |
package com.sdk.java.dmm.api.item.dto;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import lombok.Value;
/**
* 出演者(一般作品のみ)
*/
@Value
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder(... |
package com.example.walkthroughapp;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public ... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
package mage.cards.i;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.AttacksTriggeredAbility;
import mage.abilities.dynamicvalue.DynamicValue;
import mage.abilities.dynamicvalue.common.SourcePermanentPowerCount;
import mage.abilities.effects.common.DamageControllerEffect;
import mage.... |
/*
* Copyright (C) 2016 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 to ... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.maven.spring.spring;
import com.microsoft.azure.management.appplatform.v2020_07_01.implementation.AppPlatformManager;
impo... |
/*******************************************************************************
* Copyright (c) 2020 Eclipse RDF4J contributors.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution icense v1.0
* which accompanies this distribution, and... |
package test_locally.events;
import com.google.gson.Gson;
import com.slack.api.app_backend.events.payload.StarRemovedPayload;
import com.slack.api.util.json.GsonFactory;
import config.SlackTestConfig;
import org.junit.Test;
import util.FileReader;
import java.io.IOException;
import static org.junit.Assert.assertNotN... |
package cn.devmgr.springcloud;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.web.reactive.se... |
package com.rohan.dsa.foundations.patterns;
import java.util.Scanner;
/*
*
* * *
* * * * *
* * * * * * *
* * * * *
* * *
*
How many rows? N
How many columns?
What to print?
Refer Pattern24 and Pattern28
*/
public class Pattern26 {
public static void main(Str... |
/*
* (C) Copyright 2015-2016 the original author or authors.
*
* 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 com.focasoft.focaworld.launcher;
import static com.focasoft.focaworld.launcher.Launcher.WIDTH;
import static com.focasoft.focaworld.launcher.Launcher.HEIGHT;
import javax.swing.event.MouseInputListener;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.event.KeyEvent;
impo... |
package org.kimbs.ims.router.config;
import lombok.RequiredArgsConstructor;
import org.kimbs.ims.protocol.ImsPacket;
import org.kimbs.ims.router.handler.CommonKafkaBatchErrorHandler;
import org.kimbs.ims.router.handler.CommonKafkaErrorHandler;
import org.springframework.boot.autoconfigure.kafka.ConcurrentKafkaListener... |
package my;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import base.Action;
import base.Agent;
import base.Perceptions;
import communication.AgentID;
import communication.AgentMessage;
impor... |
package api.msg;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import org.aerogear.kafka.SimpleKafkaProducer;
import org.aerogear.kafka.cdi.annotation.KafkaConfig;
import org.aerogear.kafka.cdi.annotation.Producer;
import domain.model.__template_class__;
import domain.service.__templ... |
/*
* Copyright 2019 IIT Software GmbH
*
* IIT Software GmbH licenses this file to You 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... |
class LinkedList
{
Node head; // head of list
// Linked list node
static class Node
{
int data;
Node next;
Node(int d) { data = d; }
}
public void printList()
{
Node n = head;
while ( n != null)
{
System.out.print(n.data + " ");
n = n.next;
}
}
pub... |
/*
Copyright (c) 2016 LinkedIn Corp.
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... |
/*********************************************************************************
* *
* The MIT License (MIT) *
* ... |
package io.renren.modules.sys.entity.request;
import lombok.Data;
@Data
public class SubscriptionServiceEntity {
private String serviceId;
private String serviceType;
private SubscriptionDataEntity data;
private String eventTime;
}
|
/*
* Copyright (c) 2007, 2018, 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 ... |
package com.programming.permutation_combination;
public class StringShuffler {
public static void shuffle(String[] arr) {
if(null==arr)return;
int len = arr.length;
for(int i=0;i<len;i++)
{
//Which one is better?
//int indexToMove = (int)Math.round(Math.random()*(len-1-i));
int indexToMove = (int)(M... |
/*
* Copyright © 2014 Cask Data, 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 t... |
package com.robust.study.netty.lion.common.condition;
import com.robust.study.netty.lion.api.common.Condition;
import java.util.Map;
import java.util.Set;
/**
*
*
*
*/
public final class TagsCondition implements Condition {
private final Set<String> tagList;
public TagsCondition(Set<String> tags) {
... |
/*******************************************************************************
* Copyright 2017 Cognizant Technology Solutions
*
* 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
*
* ... |
import java.io.*;
import java.lang.*;
import java.awt.*;
import javax.swing.*;
import java.awt.Font;
import javax.sound.sampled.*;
import javax.swing.border.*;
import java.util.Random;
import java.awt.event.*;
import java.awt.geom.Ellipse2D;
import java.awt.event.ActionEvent;
import java.awt.event.ActionList... |
package compiler;
import compiler.ada.AdaLexer;
import compiler.cpp.CppLexer;
import compiler.java.JavaLexer;
public class LexerFactory {
public Lexer create(String lang) {
switch (lang) {
case "ada":
return new AdaLexer();
case "c++":
return new Cp... |
/*
* MIT License
*
* Copyright 2017 Broad Institute
*
* 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, modi... |
/*******************************************************************************
* Copyright 2007-2013 See AUTHORS file.
*
* 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:/... |
package com.fincatto.documentofiscal.nfe310.classes.nota;
import java.math.BigDecimal;
import org.junit.Assert;
import org.junit.Test;
import com.fincatto.documentofiscal.nfe310.FabricaDeObjetosFake;
import com.fincatto.documentofiscal.nfe310.classes.NFNotaInfoImpostoTributacaoICMS;
import com.fincatto.documentofisc... |
package org.jenkinsci.plugins.gitclient;
import com.cloudbees.jenkins.plugins.sshcredentials.SSHUserPrivateKey;
import com.cloudbees.plugins.credentials.common.StandardCredentials;
import com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials;
import edu.umd.cs.findbugs.annotations.CheckForNull;... |
package me.chaozhouzhang.throwablelrarning;
/**
* Created on 2019/3/8 11:02
*
* @author zhangchaozhou
*/
public class TryCatchFinally {
/**
* 1、不管有没有异常,finally中的代码都会执行。
* <p>
* 2、当try、catch中有return或throw时,finally中的代码依然会继续执行。
* <p>
* 3、finally是在try和catch的return或throw前执行的,但是此时并没有直接返回值,而是... |
/*
* Copyright 2018 Red Hat, Inc. and/or 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 app... |
/* Fun Compiler and Runtime Engine
* ParsedForExpression.java
*
* Copyright (c) 2017 by Fun Development
* All rights reserved.
*/
package fun.parser;
import fun.lang.*;
/**
* Based on code generated by jjtree.
*
* @author Michael St. Hippolyte
* @version $Revision: 1.5 $
*/
public class ParsedForExpression... |
package avlTrees;
/**
This class implements AVLTrees.
*/
public class AVLTree extends BinaryTree
{
// Convenience method casts the inherited root
// from Node to AVLNode.
private AVLNode getRoot()
{
return (AVLNode) root;
}
/**
The getHeight method computes the height of an AVL tree.
@param tr... |
// AUTOGENERATED CODE. DO NOT MODIFY DIRECTLY! Instead, please modify the dag/DAGXxY.ftl file.
// See the README in the module's src/template directory for details.
package com.linkedin.dagli.dag;
import java.util.Collection;
import java.util.Collections;
import com.linkedin.dagli.annotation.equality.IgnoredByValue... |
/**
*
*/
package org.sagacity.sqltoy.plugins.id.macro.impl;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.ArrayList;
import java.util.Date;
import java.util.Enumeration;
import java.util.List;
import org.sagacity.sqltoy.model.IgnoreKeyCaseMap;
import org.s... |
/*
* Copyright 2004-2010 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 required ... |
package jp.cafebabe.pochi.birthmarks.uc;
import jp.cafebabe.birthmarks.config.Configuration;
import jp.cafebabe.birthmarks.config.ConfigurationBuilder;
import jp.cafebabe.birthmarks.entities.Birthmark;
import jp.cafebabe.birthmarks.entities.Birthmarks;
import jp.cafebabe.birthmarks.entities.Frequency;
import jp.cafeba... |
/*
* Copyright (c) 2011-2020, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.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://www... |
package org.infinispan.client.hotrod;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.atomic.AtomicInteger;
import org.infinispan.client.hotrod.configuration.Co... |
package com.bitdubai.fermat_api.layer.all_definition.enums;
import com.bitdubai.fermat_api.layer.all_definition.enums.interfaces.FermatEnum;
import com.bitdubai.fermat_api.layer.all_definition.exceptions.InvalidParameterException;
/**
* Created by ciencias on 4/4/15.
*/
public enum PlatformComponents implements Fer... |
import java.nio.ByteBuffer;
public class DecisionInfo {
public int posX = 3;
public int turn;
public boolean useHold;
public String message = "";
public ByteBuffer getByteBuffer() {
ByteBuffer result = ByteBuffer.allocateDirect(512);
result.order(java.... |
package Controller;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
public final class PasswordGeneratorEngine {
private static final String LOWER = "abcdefghijklmnopqrstuvwxyz";
private static final String UPPER = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
private static fin... |
package iRpc.serverTest;
import iRpc.base.starter.ServerStarter;
import iRpc.dataBridge.property.IRpcServerProperty;
import iRpc.dataBridge.property.NodeInfo;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
/**
* @Description 网络分裂测试--模拟AB + AB + AC -> ABC iRpc支持
* @Author yangcheng
* @Da... |
package io.rivulet.maven.test;
import io.rivulet.ExpectsRivuletRerun;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import java.util.Arrays;
import java.util.Collection;
@RunWith(Parameterized.class)
public class ParameterizedBatchedRerunsTest extends ViolationChecki... |
package com.rongyan.hpmessage.devicecenter;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.pm.ApplicationInfo;
public class DeviceCfg {
private static final String SHARED_FILE_NAME = "devicefile";
private static final String SYSTEM_KERNEL_VERSION_STRING = "kernelv... |
package com.hydratereminder;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class HydrateReminderCommandArgsTest
{
@Test
public void testCommandArgsToString()
{
assertEquals("next", HydrateReminderCommandArgs.NEXT.toString());
assertEquals("prev", HydrateReminde... |
/*
* Copyright 2015 Adobe Systems Incorporated
*
* 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... |
/*
* This file was automatically generated by EvoSuite
* Mon Nov 30 07:31:30 GMT 2020
*/
package com.densebrain.rif.client;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import com.densebrain.rif.client.RIFClassLoader;
import org.evosuite.runtime.EvoRu... |
/*
* Copyright 2016-2019 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* 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... |
/*
* BreadWallet
*
* Created by Ed Gamble <ed@breadwallet.com> on 1/22/18.
* Copyright (c) 2018 Breadwinner AG. All right reserved.
*
* See the LICENSE file at the project root for license information.
* See the CONTRIBUTORS file at the project root for a list of contributors.
*/
package com.breadwallet.core;
... |
package edu.gatech.gtri.orafile;
import java.util.*;
import static java.util.Arrays.asList;
public abstract class OrafileVal {
OrafileVal() { }
/**
* {@code null} unless this is an instance of {@link OrafileString}.
*/
public String asString() {
return null;
}
/**
* {@co... |
package com.hans.zxing.qrcode.bean;
import android.support.annotation.ColorRes;
import com.hans.zxing.qrcode.R;
import java.io.Serializable;
/**
* @author: yzq
* @date: 2017/10/27 14:48
* @declare :zxing配置类
*/
public class ZxingConfig implements Serializable {
/*是否播放声音*/
private boolean isPlayBeep ... |
/* ###
* IP: GHIDRA
*
* 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 writin... |
package ru.betterend.blocks;
import com.google.common.collect.Lists;
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
import net.minecraft.client.color.block.BlockColor;
import net.minecraft.client.color.item.ItemColor;
import net.minecraft.client.renderer.block.model.BlockModel;
impo... |
/*
* Copyright 2016-2021 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 com.ismdeep.leetcode._23_merge_k_sorted_lists;
import java.util.Comparator;
import java.util.PriorityQueue;
/**
* Definition for singly-linked list.
* public class ListNode {
* int val;
* ListNode next;
* ListNode() {}
* ListNode(int val) { this.val = val; }
* ListNode(int val, ListNode next) { this.va... |
package org.hl7.fhir.definitions.generators.specification;
import java.io.OutputStream;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.jena.ontology.OntClass;
import org.apache.jena.ontology.OntModel;
import org.apache.jena.ontology.OntModelSpec;
import ... |
/*
* Copyright 2000-2016 Vaadin 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 law or agreed to... |
package com.careerbuilder.search.relevancy.scoring;
import com.careerbuilder.search.relevancy.model.RequestNode;
import com.careerbuilder.search.relevancy.model.ResponseNode;
import com.careerbuilder.search.relevancy.NodeContext;
import com.careerbuilder.search.relevancy.RecursionOp;
import com.careerbuilder.search.re... |
package com.softicar.platform.db.runtime.field;
import com.softicar.platform.common.container.iterable.MappingIterable;
import com.softicar.platform.db.runtime.logic.IDbObject;
import com.softicar.platform.db.runtime.table.IDbTableBuilder;
import com.softicar.platform.db.sql.ISqlBooleanExpression;
import com.softicar.... |
/******************************************************************
*
* CyberX3D for Java
*
* Copyright (C) Satoshi Konno 1997-2002
*
* File : MFBool.java
*
******************************************************************/
package org.cybergarage.x3d.field;
import java.io.PrintWriter;
import org.cybergarage.x3d.*;... |
/*******************************************************************************
* The MIT License (MIT)
*
* Copyright (C) 2014-2018 Sam Bassett (aka Lothrazar)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software")... |
package io.opensphere.core.units.duration;
import java.math.BigDecimal;
import java.time.temporal.ChronoUnit;
import java.util.Calendar;
import io.opensphere.core.units.InconvertibleUnits;
import io.opensphere.core.units.UnitsUtilities;
import io.opensphere.core.util.Constants;
import io.opensphere.core.util... |
package com.atguigu.gmall.ums.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 购物积分记录表
*
* @author layman
* @email 1316165298@qq.com
* @date 2021-08-28 23:48:56
*/
@Da... |
package li.strolch.model.builder;
import java.util.ArrayList;
import java.util.List;
import li.strolch.model.activity.Activity;
import li.strolch.model.activity.TimeOrdering;
import li.strolch.utils.dbc.DBC;
public class ActivityBuilder extends RootElementBuilder<ActivityBuilder> implements ActivityElementBuilder {
... |
package codeu.model.store.persistence;
import codeu.model.data.Conversation;
import codeu.model.data.Message;
import codeu.model.data.User;
import com.google.appengine.tools.development.testing.LocalDatastoreServiceTestConfig;
import com.google.appengine.tools.development.testing.LocalServiceTestHelper;
import java.ti... |
package com.ppfuns.report.controller;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.api.ApiController;
import com.baomidou.mybatisplus.extension.api.R;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ppfuns.report.controller... |
package com.craftinginterpreters.lox;
import static com.craftinginterpreters.lox.TokenType.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
class Parser {
private static class ParseError extends RuntimeException {
private static final long serialVersionUID = 2322035634061302... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.