text
stringlengths
7
1.01M
// Copyright 2017 The Bazel Authors. 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 appl...
/* * Copyright (c) 2014-2015, WSO2 Inc. (http://www.wso2.org) 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 com.sap.core.extensions.businesspartners; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.converter.Converter; import org.springframework.security.authentication.AbstractAuthenticationToken; impo...
/** * The MIT License * Copyright (c) 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, ...
package pl.coderstrust.configuration; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; i...
/* * Copyright (c) 2020, Fraunhofer AISEC. 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 require...
package com.github.tinosteinort.flda.fixedlengthstring.writer; public class FloatAttributeWriter extends NumberAttributeWriter<Float> { @Override protected String nullSafeConvertToString(final Float value) { return String.valueOf(value); } }
package org.projectbyte.factions.event.movement; import org.bukkit.entity.Player; import org.projectbyte.factions.event.FactionEvent; import org.projectbyte.factions.structure.claim.Claim; import lombok.AllArgsConstructor; import lombok.Getter; @AllArgsConstructor @Getter public class PlayerEnterClaimEvent extends F...
package indi.yume.tools.avocado.model.tuple; import lombok.AllArgsConstructor; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; /** * Created by yume on 16/3/8. */ @Data @EqualsAndHashCode @AllArgsConstructor(staticName = "of") @NoArgsConstructor public class Tuple4<T1, T2, T3, ...
package threshold; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import com.rabbitmq.client.Channel; import com.rabbitmq.client.QueueingConsumer; import common.AMQPCommon; public class AMQPConsumer { //actual response times int lower = 0; int upper = 0; publi...
/* * Copyright 2013-present Facebook, 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...
/* * Copyright (c) 2019, Oracle and/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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
/** * MIT License * * Copyright (c) 2017-2018 nuls.io * * 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 me.saket.dank.ui.preferences; import android.content.Context; import android.content.Intent; import android.graphics.Rect; import androidx.annotation.StringRes; import me.saket.dank.R; import me.saket.dank.ui.webview.ChromeCustomTabsForwardingActivity; import me.saket.dank.ui.webview.WebViewActivity; import ...
/* * Copyright 2016 IKS Gesellschaft fuer Informations- und Kommunikationssysteme mbH * * 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/LI...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package de.dimm.vsm.mail; import de.dimm.vsm.Utilities.VariableResolver; import de.dimm.vsm.fsengine.GenericEntityManager; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import jav...
/* * 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 nl.fontys.prj2.group99.myprojectname.services; import nl.fontys.prj2.group99.myprojectname.dataservices.DAOlite; import nl.fon...
package cgeo.geocaching.maps.mapsforge.v6.caches; import cgeo.geocaching.enumerations.CoordinatesType; import cgeo.geocaching.utils.TextUtils; import android.os.Parcel; import android.os.Parcelable; import androidx.annotation.NonNull; import java.util.Comparator; import org.apache.commons.lang3.StringUtils; publi...
package com.turndapage.wear.watchface.watchfacedarko.fragment; import android.app.Activity; import android.app.Fragment; import android.content.ComponentName; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.wear.widget.SwipeDismissFrameLayout;...
package com.peralex.utilities.ui.table; import java.awt.Component; import java.awt.Dimension; import javax.swing.JTable; import javax.swing.table.TableCellRenderer; import javax.swing.table.TableColumn; import javax.swing.table.TableColumnModel; import javax.swing.table.TableModel; /** * A collection of...
package org.heimdall.shield_library.utility; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.BufferedReader; import java.io.File; import java.io.InputStreamReader; import java.lang.management.ManagementFactory; import java.net.URLDecoder; import jav...
/* * (c) 2016-2021 Swirlds, Inc. * * This software is owned by Swirlds, Inc., which retains title to the software. This software is protected by various * intellectual property laws throughout the world, including copyright and patent laws. This software is licensed and * not sold. You must use this software only ...
/* * Copyright (c) 2018 by Gerrit Grunwald * * 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...
/* * Copyright 2015-2020 OpenCB * * 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 utils; public class PersonBean { String className = "utils/PersonBean"; String name; int age; int stature; String job; boolean isMarried; @Override public String toString() { return "PersonBean{" + "name='" + name + '\'' + ", age=" + age ...
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`. package com.mapbox.mapboxsdk.style.layers; import android.support.annotation.ColorInt; import android.support.annotation.Keep; import android.support.annotation.NonNull; import android.support.annotati...
package me.zhengjie.modules.system.service; import me.zhengjie.modules.system.domain.Dept; import me.zhengjie.modules.system.service.dto.DeptDTO; import me.zhengjie.modules.system.service.dto.DeptQueryCriteria; import org.springframework.cache.annotation.CacheConfig; import org.springframework.cache.annotation.CacheEv...
package org.akj.springboot.user; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.data.mongodb.config.EnableReactiveMongoAuditing; @SpringBootAppli...
package WayofTime.alchemicalWizardry.common.rituals; import WayofTime.alchemicalWizardry.common.LifeEssenceNetwork; import WayofTime.alchemicalWizardry.common.tileEntity.TEAltar; import WayofTime.alchemicalWizardry.common.tileEntity.TEMasterStone; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.e...
package edu.citadel.cprl.ast; import edu.citadel.compiler.CodeGenException; import edu.citadel.compiler.ConstraintException; import edu.citadel.compiler.ErrorHandler; import edu.citadel.cprl.Symbol; import edu.citadel.cprl.Token; import edu.citadel.cprl.Type; /** * The abstract syntax tree node for a constant valu...
package exercicios; import java.util.Scanner; public class Uri1019 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int horas = N / 3600; int minutos = (N % 3600) / 60; int segundos = N % 60; System.out.println(horas + ":" + minutos + ":" + s...
/* * Copyright (c) 2016, LinkedKeeper * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, this * list of conditio...
/** * Copyright (c) 2016 Evolveum * * 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 net.feichti.codingcontest.diagram.part; import org.eclipse.emf.common.ui.URIEditorInput; import org.eclipse.ui.IEditorInput; import org.eclipse.ui.IEditorMatchingStrategy; import org.eclipse.ui.IEditorReference; import org.eclipse.ui.PartInitException; /** * @generated */ public class CodingcontestMatchingS...
package software.amazon.sso.permissionset; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import software.amazon.awssdk.services.ssoadmin.model.CreatePermissionSetRequest; import software.amazon.awssdk.services.ssoadmin.model.DeletePermissionSetRequest; i...
package com.android.renly.meetingreservation.utils; import android.content.Context; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Locale; public class sHA1Utils { public static S...
package org.jabref.logic.importer.fileformat; import java.net.URISyntaxException; import java.nio.charset.StandardCharsets; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Collections; import java.util.List; import org.jabref.logic.importer.ImportFormatPreferences; import org.jabref.logic.util...
/* */ /** * This package contains the RESTful administration interface to Taverna Server. * @author Donal Fellows */ @XmlSchema(namespace = ADMIN, elementFormDefault = QUALIFIED, attributeFormDefault = QUALIFIED, xmlns = { @XmlNs(prefix = "xlink", namespaceURI = XLINK), @XmlNs(prefix = "ts", namespaceURI = SERV...
/** * Copyright 2016 SAP SE * * 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,...
package net.bither.db;///* // * Copyright 2014 http://Bither.net // * // * 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 dev.sheldan.abstracto.modmail.service; import com.jagrosh.jdautilities.commons.waiter.EventWaiter; import com.jagrosh.jdautilities.menu.ButtonMenu; import dev.sheldan.abstracto.core.command.exception.AbstractoTemplatedException; import dev.sheldan.abstracto.core.exception.AbstractoRunTimeException; import dev....
package org.onosproject.security.impl; import org.apache.commons.collections.FastHashMap; import org.apache.felix.scr.annotations.Component; import org.apache.felix.scr.annotations.Reference; import org.apache.felix.scr.annotations.ReferenceCardinality; import org.apache.felix.scr.annotations.Activate; import org.apac...
package mage.cards.a; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.DiesSourceTriggeredAbility; import mage.abilities.effects.ContinuousEffect; import mage.abilities.effects.OneShotEffect; import mage.abilities.effects.common.continuous.GainControlTargetEffect; import mage.abilities....
package cn.iocoder.yudao.adminserver.modules.system.service.user; import cn.hutool.core.collection.CollUtil; import cn.iocoder.yudao.framework.common.pojo.PageResult; import cn.iocoder.yudao.adminserver.modules.system.controller.user.vo.profile.SysUserProfileUpdatePasswordReqVO; import cn.iocoder.yudao.adminserver.mod...
/* * nimbus-jose-jwt * * Copyright 2012-2016, Connect2id 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 ...
// Copyright 2015 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.preferences; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences;...
/* * 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 ...
// Copyright 2000-2018 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.execution.application; import com.intellij.execution.jvm.JvmRunLineMarkerContributor; import com.intellij.execution.lineMarker.ExecutorAction; import com.int...
package slimeknights.tconstruct.tools.modifiers.ability.tool; import net.minecraft.core.BlockPos; import net.minecraft.core.Direction; import net.minecraft.sounds.SoundSource; import net.minecraft.world.InteractionResult; import net.minecraft.world.entity.EquipmentSlot; import net.minecraft.world.entity.player.Player;...
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.controller.maintenance; import com.yahoo.component.Version; import com.yahoo.config.provision.ApplicationId; import com.yahoo.vespa.athenz.api.OktaAccessToken; import co...
package com.planet_ink.coffee_mud.Abilities.interfaces; import com.planet_ink.coffee_mud.Abilities.StdAbility; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; ...
/** * Spieler.java * * Die Spieler Klasse beinhaltet alle Information zum jeweiligen Spieler. Dazu * gehört der aktuelle Punktestand, die Steuerung, die aktuellen Koordinaten, etc * * @author Anton Makarow (191721) * @author Timo Appenzeller (191382) * * @date 24.06.2016 */ public class MaxSpieler { priv...
/* * Copyright 2015 Open Networking Laboratory * * 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 la...
/* * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: v1.11.4 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class...
/* * This file is part of the L2JServer project. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This pr...
package org.broadinstitute.hellbender.utils.read; import com.google.api.services.genomics.model.LinearAlignment; import com.google.api.services.genomics.model.Position; import com.google.api.services.genomics.model.Read; import htsjdk.samtools.*; import htsjdk.samtools.util.StringUtil; import htsjdk.variant.variantcon...
// 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...
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
/** * Copyright (c) 2008-2016, Massachusetts Institute of Technology (MIT) * 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 copyri...
/** * Ejercicio 09 tema 05 * * Nos dice cuantos dígitos tiene un numero introducido. * * @author José Robles Bastidas */ public class Ejercicio09 { public static void main(String[] args) { int numeroDeDigitos = 1; System.out.print("Introduzca un número entero >>"); int nume...
/** * Copyright 2014 Brian Sensale * * 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...
/* Generated By:JJTree: Do not edit this line. AnyKindTest.java Version 6.0 */ /* JavaCCOptions:MULTI=true,NODE_USES_PARSER=true,VISITOR=true,TRACK_TOKENS=false,NODE_PREFIX=,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */ package com.brentcroft.util.xpath.ast; import com.brentcroft.util.xpath.gob.G...
/** * */ package com.safframework.saf.orm; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import com.safframework.saf.orm.annotation.Column; import java.lang.reflect.Field; import java.util.List; /** * * @author Tony Shen * */ public clas...
package com.thealgorithms.dynamicprogramming; import java.util.Scanner; /** * Given a string containing just the characters '(' and ')', find the length of * the longest valid (well-formed) parentheses substring. * 给定一个括号序列A,求其最长合法括号子串的长度。 * * 考虑一个括号序列合法的充要条件。它含两个条件: * 1、左右括号个数相等; * 2、任意前缀中左括号个数不小于右括号个数。 * *...
package de.soderer.utilities; import java.io.BufferedReader; import java.io.File; import java.io.InputStreamReader; import java.lang.management.ManagementFactory; import java.security.NoSuchAlgorithmException; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Locale; ...
package hudson.plugins.jira; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.times; import static org.mockito...
/******************************************************************************* * ___ _ ____ ____ * / _ \ _ _ ___ ___| |_| _ \| __ ) * | | | | | | |/ _ \/ __| __| | | | _ \ * | |_| | |_| | __/\__ \ |_| |_| | |_) | * \__\_\\__,_|\___||___/\__|____/|____/ * * Copyright (c...
package domain.player; import domain.card.Card; import domain.common.Entity; import java.util.stream.Stream; public class Player extends Entity { private final String name; private final HandCardList handCards; public Player(String name, HandCardList handCards){ super(); this.name = name...
package com.konex.adimo; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class KonexAdimoApplicationTests { @Test void contextLoads() { } }
package org.spongepowered.asm.lib; public class Label { static final int DEBUG = 1; static final int RESOLVED = 2; static final int RESIZED = 4; static final int PUSHED = 8; static final int TARGET = 16; static final int STORE = 32; static final int REACHABLE = 64; static final int JSR = 128; ...
/* * 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...
/* Copyright (c) 2017 - 2020 BlackBerry Limited. * * 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...
/* * Copyright 2018 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 appli...
package com.prestoncinema.mqtt; import android.content.Context; import android.util.Log; import android.widget.Toast; import com.prestoncinema.app.R; import org.eclipse.paho.android.service.MqttAndroidClient; import org.eclipse.paho.android.service.MqttTraceHandler; import org.eclipse.paho.client.mqttv3.IMqttActionL...
package org.mockserver.junit.jupiter.integration; import com.fasterxml.jackson.core.JsonProcessingException; import com.google.common.collect.ImmutableMap; import org.junit.jupiter.api.Test; import org.mockserver.configuration.ConfigurationProperties; import org.mockserver.file.FileReader; import org.mockserver.loggin...
/* * Copyright 2018 JBoss by Red Hat. * * 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 agr...
package com.zzw.github.graphql.crawler.template; import static com.zzw.github.graphql.crawler.template.MetaTemplate.NODE_ID; /** * Created by zzw on 2018/8/31. */ public class PullRequestReviewCommentTemplate { public static final String PULL_REQUEST_REVIEW_COMMENT_INFO = "{\"query\":\"query{\\n" + ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package emr.jvm.memory; import emr.jvm.JVMRuntime; import emr.jvm.visualization.MemoryVisualizer; /** * * @author Evan Ross */ public class RAMMemoryModule extends MemoryModule { /** * The following ...
package io.swagger.client.api; import io.swagger.client.ApiInvoker; import io.swagger.client.ApiException; import io.swagger.client.Pair; import io.swagger.client.model.*; import java.util.*; import com.android.volley.Response; import com.android.volley.VolleyError; import io.swagger.client.model.Author; import o...
/** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ package com.twilio.rest.flexapi.v1; import com.twilio.base.Fetcher; import com.twilio.exception.ApiConnectionException; import com.twilio.exception.ApiException; import com.twilio.exception.RestExceptio...
/******************************************************************************* * Copyright 2010 Simon Mieth * * 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....
package com.xavier.nginxlog; import com.xavier.commom.Constant; import com.xavier.commom.NginxLogVariable; import com.xavier.commom.Utils; import com.xavier.nginxlog.structs.EndNode; import com.xavier.nginxlog.structs.FormatNode; import com.xavier.nginxlog.structs.Node; import com.xavier.nginxlog.structs.SeparatorNode...
/** * Sapelli data collection platform: http://sapelli.org * * Copyright 2012-2016 University College London - ExCiteS group * * 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 eta.runtime.parallel; import java.util.Deque; import java.util.concurrent.LinkedBlockingDeque; import eta.runtime.Runtime; import eta.runtime.stg.Capability; import eta.runtime.stg.Closure; import eta.runtime.stg.Closures; import eta.runtime.stg.StgContext; import static eta.runtime.RuntimeLogging.barf; impor...
/* * 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.onlyleo.gankgirl.ui.adapter; import android.content.Context; import android.support.design.widget.Snackbar; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.T...
package com.qihoo.finance.chronus.metadata.api.group.dto; import com.qihoo.finance.chronus.metadata.api.group.entity.GroupEntity; import java.util.List; public interface GroupDao { void insert(GroupEntity groupEntity); void update(GroupEntity groupEntity); void deleteByGroupName(String groupName); List<Group...
import java.awt.*; import java.awt.event.*; public class KeyListenerExample extends Frame implements KeyListener{ Label l; TextArea area; KeyListenerExample(){ l=new Label(); l.setBounds(20,50,200,20); area=new TextArea(); area.setBounds...
package lebah.entity; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.IdClass; import javax.persistence.Table; import javax.persistence.Temporal; import javax.persistence.TemporalType; @Entity @IdClass(UserTrackerId.class)...
package com.huaweicloud.sdk.dds.v3.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import com.huaweicloud.sdk.dds.v3.model.CreateInstanceRequestB...
/* * Copyright © 2019 Apple Inc. and the ServiceTalk project 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 requi...
package co.yixiang.framework.config; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.LinkedHashMap; import java.util.Map; import javax.servlet.Filter; import co.yixiang.framework.shiro.realm.UserRealm; import co.yixiang.framework.shiro.session.On...
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.emf.ecore.EObject; import org.eclipse.gmf.runtime.common.core.command.CommandResu...
/* * Copyright 2013 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 ap...
/* * Copyright 2015-present Open Networking Laboratory * * 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 net.redbear.redbearduo.data.communication; import android.bluetooth.BluetoothClass; import android.content.Context; import android.net.nsd.NsdManager; import android.net.nsd.NsdServiceInfo; import android.util.Log; import java.net.InetAddress; /** * Created by dong on 3/22/16. */ public class MDNSManage { ...
package net.minecraft.server; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Maps; import com.mojang.datafixers.DSL; import com.mojang.datafixers.DataFix; import com.mojang.datafixers.TypeRewriteRule; import com.mojang.datafixers.Typed; im...
/* * Copyright 2015 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 ap...
/* * 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 com.evan.my.shop.web.admin.abstracts; import com.evan.my.shop.commons.dto.BaseResult; import com.evan.my.shop.commons.persistence.BaseTreeEntity; import com.evan.my.shop.commons.persistence.BaseTreeService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.ui.Model; impo...